From b0c33276ce05ca0e4989725dadd5fabefedabbfd Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 9 Nov 2005 22:46:49 +0000 Subject: 2005-11-09 Martin Hunt * translate.cxx: New API uses HIST_LOG and HIST_LINEAR instead of HSTAT_LOG and HSTAT_LINEAR. --- ChangeLog | 5 +++++ translate.cxx | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5cf483cc..e2830351 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-09 Martin Hunt + + * translate.cxx: New API uses HIST_LOG and HIST_LINEAR + instead of HSTAT_LOG and HSTAT_LINEAR. + 2005-11-09 Frank Ch. Eigler Reported by Guang Lei Li : diff --git a/translate.cxx b/translate.cxx index 799cf8d8..70abbc51 100644 --- a/translate.cxx +++ b/translate.cxx @@ -523,7 +523,7 @@ struct mapvar case statistic_decl::linear: // FIXME: check for "reasonable" values in linear stats return (prefix - + ", HSTAT_LINEAR" + + ", HIST_LINEAR" + ", " + stringify(sdecl().linear_low) + ", " + stringify(sdecl().linear_high) + ", " + stringify(sdecl().linear_step) @@ -534,7 +534,7 @@ struct mapvar if (sdecl().logarithmic_buckets > 64) throw semantic_error("Cannot support > 64 logarithmic buckets"); return (prefix - + ", HSTAT_LOG" + + ", HIST_LOG" + ", " + stringify(sdecl().logarithmic_buckets) + ");"); break; -- cgit