@@ -229,7 +229,7 @@ void Histogram_PrettyPrint(Engine *E, State *S, Histogram *histogram){
229
229
/*
230
230
* Pretty-print ("ASCII-graph") a normalised histogram representation, like so:
231
231
*
232
- * +-> bin value
232
+ * +----- > bin value
233
233
* |
234
234
* | #
235
235
* | ##
@@ -257,11 +257,11 @@ void Histogram_PrettyPrint(Engine *E, State *S, Histogram *histogram){
257
257
}
258
258
259
259
mprint (E , S , nodeinfo , "Histogram mean frequency (mean bin occupation): %.3f\n" , meanFreq );
260
- mprint (E , S , nodeinfo , "bin | val | graphical representation (scaled rel. to mean freq)\n" );
261
- mprint (E , S , nodeinfo , "----+-----+----------------------------------------------------\n" );
260
+ mprint (E , S , nodeinfo , "bin | value | graphical representation (scaled rel. to mean freq)\n" );
261
+ mprint (E , S , nodeinfo , "----+------- +----------------------------------------------------\n" );
262
262
263
263
for (int i = 0 ; i < kNBINS ; i ++ ){
264
- mprint (E , S , nodeinfo , "%03u | %-3u | " , i , histogram -> bins [i ]);
264
+ mprint (E , S , nodeinfo , "%03u | %-5u | " , i , histogram -> bins [i ]);
265
265
/*mprint(E, S, nodeinfo, "%f\n", (normalised[i]));*/
266
266
/*mprint(E, S, nodeinfo, "%f\n", (normalised[i]*FULLSCALE_NUMBER_OF_CHARS));*/
267
267
for (int j = 0 ; j < (int )(normalised [i ]* FULLSCALE_NUMBER_OF_CHARS ); j ++ ){
0 commit comments