diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-04-29 22:41:07 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-04-29 22:41:07 +0200 |
| commit | 16db9de77703b67ac7ed04a7dd4c249169b91be5 (patch) | |
| tree | f66037b136b4ab7bb132cddf3b0a9b60852a2500 /sort-benchmark/pairs | |
| parent | 2f19e94b0ce78d6ccc9eedbf04b8a3460fd05565 (diff) | |
| download | taming-cpp-16db9de77703b67ac7ed04a7dd4c249169b91be5.tar.gz taming-cpp-16db9de77703b67ac7ed04a7dd4c249169b91be5.zip | |
moved notes
Diffstat (limited to 'sort-benchmark/pairs')
| -rw-r--r-- | sort-benchmark/pairs/notes.txt | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sort-benchmark/pairs/notes.txt b/sort-benchmark/pairs/notes.txt deleted file mode 100644 index 7984803..0000000 --- a/sort-benchmark/pairs/notes.txt +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 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). | ||
