diff options
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). | ||
