aboutsummaryrefslogtreecommitdiff
path: root/build-instructions.md
diff options
context:
space:
mode:
authorCharlie Blake2018-01-30 19:51:38 +0000
committerGitHub2018-01-30 19:51:38 +0000
commit2fc005bdbb4707810ad0ae36a6863e70f0ff91b5 (patch)
tree59ca3063ffe6a876d27c96ea95d6a3683273675a /build-instructions.md
parentMerge pull request #31 from thecharlesblake/profiling-fix (diff)
parentAdd ORDER_ON_CACHE to benchmark script (diff)
downloadmetasol-2fc005bdbb4707810ad0ae36a6863e70f0ff91b5.tar.gz
metasol-2fc005bdbb4707810ad0ae36a6863e70f0ff91b5.zip

Merge pull request #32 from thecharlesblake/piles-always-sorted

Piles always sorted

Diffstat (limited to 'build-instructions.md')
-rw-r--r--build-instructions.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/build-instructions.md b/build-instructions.md
index 0904b1c..b2a8b2d 100644
--- a/build-instructions.md
+++ b/build-instructions.md
@@ -50,6 +50,8 @@ Note: this doesn't have to (and probably shouldn't) be run from within the proje
## Profiling
-env CPUPROFILE=solv.prof cmake-build-release/bin/solvitaire --type black-hole --random 8
-pprof --callgrind src/ solv.prof > solv.callgrind (ignore the warnings)
-kcachegrind solv.callgrind
+env CPUPROFILE=solvitaire.prof CPUPROFILESIGNAL=12 CPUPROFILE_FREQUENCY=1000 cmake-build-release/bin/solvitaire --type black-hole --random 4 &
+killall -12 solvitaire (start profiling)
+killall -12 solvitaire (stop profiling)
+pprof --callgrind src/ solvitaire.prof.0 > solvitaire.callgrind (ignore any warnings)
+kcachegrind solvitaire.callgrind