summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx4
1 files changed, 2 insertions, 2 deletions
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;