summaryrefslogtreecommitdiffstats
path: root/tests/ingen_bench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ingen_bench.cpp')
-rw-r--r--tests/ingen_bench.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ingen_bench.cpp b/tests/ingen_bench.cpp
index c8203331..c9eea9ba 100644
--- a/tests/ingen_bench.cpp
+++ b/tests/ingen_bench.cpp
@@ -173,12 +173,12 @@ main(int argc, char** argv)
FILE* log = fopen(out_file.c_str(), "a");
if (ftell(log) == 0) {
- fprintf(log, "n_threads\trun_time\tn_frames\n");
+ fprintf(log, "# n_threads\trun_time\treal_time\n");
}
- fprintf(log, "%u\t%llu\t%u\n",
+ fprintf(log, "%u\t%f\t%f\n",
world->conf().option("threads").get<int32_t>(),
- t_end - t_start,
- n_test_frames);
+ (t_end - t_start) / 1000000.0,
+ (n_test_frames / 48000.0));
fclose(log);
// Shut down