aboutsummaryrefslogtreecommitdiff
path: root/build-instructions.md
diff options
context:
space:
mode:
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