aboutsummaryrefslogtreecommitdiff
path: root/sort-benchmark/integers/notes.txt
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-04-29 21:59:51 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-04-29 21:59:51 +0200
commit2f19e94b0ce78d6ccc9eedbf04b8a3460fd05565 (patch)
treebc3a8cea30ecca96ed7ed779a1a4149ef9baa068 /sort-benchmark/integers/notes.txt
downloadtaming-cpp-2f19e94b0ce78d6ccc9eedbf04b8a3460fd05565.tar.gz
taming-cpp-2f19e94b0ce78d6ccc9eedbf04b8a3460fd05565.zip
Sort benchmarks
Diffstat (limited to 'sort-benchmark/integers/notes.txt')
-rw-r--r--sort-benchmark/integers/notes.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/sort-benchmark/integers/notes.txt b/sort-benchmark/integers/notes.txt
new file mode 100644
index 0000000..7984803
--- /dev/null
+++ b/sort-benchmark/integers/notes.txt
@@ -0,0 +1,11 @@
1- Getting the parallel version to work was a pain. Two major gotchas:
2 (1) -ltbb had to be added *at the end* of the command line
3 (2) clang requires a libstdc++ option to make this work
4 of course everything was terrible to decipher with C++ compile errors
5 being the mess they are.
6- For measuring time I could also use
7 clock_t begin = clock();
8 ...
9 clock_t end = clock();
10 double time = (dobule)(end - begin) / CLOCKS_PER_SEC;
11 but it does not work with the parallel version (it meausres CPU clocks).

Generated with cgit - Back to sebastiano.tronto.net