commit 16db9de77703b67ac7ed04a7dd4c249169b91be5 parent 2f19e94b0ce78d6ccc9eedbf04b8a3460fd05565 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Mon, 29 Apr 2024 22:41:07 +0200 moved notes Diffstat:
R | sort-benchmark/integers/notes.txt -> sort-benchmark/notes.txt | | | 0 | |
D | sort-benchmark/pairs/notes.txt | | | 11 | ----------- |
2 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/sort-benchmark/integers/notes.txt b/sort-benchmark/notes.txt diff --git a/sort-benchmark/pairs/notes.txt b/sort-benchmark/pairs/notes.txt @@ -1,11 +0,0 @@ -- Getting the parallel version to work was a pain. Two major gotchas: - (1) -ltbb had to be added *at the end* of the command line - (2) clang requires a libstdc++ option to make this work - of course everything was terrible to decipher with C++ compile errors - being the mess they are. -- For measuring time I could also use - clock_t begin = clock(); - ... - clock_t end = clock(); - double time = (dobule)(end - begin) / CLOCKS_PER_SEC; - but it does not work with the parallel version (it meausres CPU clocks).