mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-19 16:50:46 +08:00
[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:
parent
e2e0424f2f
commit
5bdf863a90
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user