diff options
author | David Robillard <d@drobilla.net> | 2017-02-17 09:58:10 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-02-17 09:58:10 +0100 |
commit | ddaac8d0c06cbfdf4b1777603e97cedab0e54ead (patch) | |
tree | bcd6cb63440869303b753ff92bf46fc750e6beac /tests | |
parent | e2f6b686003f86af8a64e7c6f7e8cf8c2da7ba69 (diff) | |
download | ingen-ddaac8d0c06cbfdf4b1777603e97cedab0e54ead.tar.gz ingen-ddaac8d0c06cbfdf4b1777603e97cedab0e54ead.tar.bz2 ingen-ddaac8d0c06cbfdf4b1777603e97cedab0e54ead.zip |
Fix and improve parallel traversalnewparallel
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ingen_bench.cpp | 8 |
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 |