Average time should be over NTIMES-1 not NTIMES
This commit is contained in:
parent
847cdc9b5e
commit
c901069cf8
@ -156,7 +156,7 @@ int main(void)
|
||||
}
|
||||
}
|
||||
for (int j = 0; j < 4; j++)
|
||||
avg[j] /= (double)NTIMES;
|
||||
avg[j] /= (double)(NTIMES-1);
|
||||
|
||||
// Display results
|
||||
std::string labels[] = {"Copy", "Mul", "Add", "Triad"};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user