[svn-r4885] Purpose:

Bug Fix
Description:
	Throughput wasn't being calculated correctly.
Solution:
	We were using a value other than the actual time. Changed so that
	we're using the correct structure to grab the time out of it.
Platforms tested:
	Linux(pp)
This commit is contained in:
Bill Wendling 2002-01-30 16:46:15 -05:00
parent e2e0424f2f
commit 5bdf863a90

View File

@ -587,7 +587,7 @@ output_all_info(FILE *output, minmax *mm, int count, int indent_level)
for (i = 0; i < count; ++i) {
print_indent(output, indent_level);
output_report(output, "Iteration %d:\n", i);
output_report(output, "Iteration %d:\n", i + 1);
print_indent(output, indent_level + 1);
output_report(output, "Minimum Time: %.2fs\n", mm[i].min);
print_indent(output, indent_level + 1);
@ -634,7 +634,7 @@ accumulate_minmax_stuff(minmax *mm, long raw_size, int count)
total_mm.num = count;
for (i = 1; i < count; ++i) {
double m = MB_PER_SEC(raw_size, total_mm.max);
double m = MB_PER_SEC(raw_size, mm[i].max);
total_mm.sum += m;