Skip to content

Commit

Permalink
TESTS: testfftperf: fix unit to ns/sample
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Westerfeld <[email protected]>
  • Loading branch information
swesterfeld committed Nov 25, 2023
1 parent 059a38f commit 35641c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testfftperf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ measure (const string& name, void (*func)(), bool is_complex)
for (unsigned int i = 0; i < runs; i++)
func();
double end = get_time();
printf ("%s: %f clocks/sample\n", name.c_str(), ns_per_sec * (end - start) / (is_complex ? (block_size / 2) : block_size) / runs);
printf ("%s: %f ns/sample\n", name.c_str(), ns_per_sec * (end - start) / (is_complex ? (block_size / 2) : block_size) / runs);

return (end - start);
}
Expand Down

0 comments on commit 35641c4

Please sign in to comment.