aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-instructions.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/build-instructions.md b/build-instructions.md
index 7a76227..ae6d386 100644
--- a/build-instructions.md
+++ b/build-instructions.md
@@ -50,7 +50,9 @@ Note: this doesn't have to (and probably shouldn't) be run from within the proje
## Profiling
-env CPUPROFILE=solvitaire.prof CPUPROFILESIGNAL=12 CPUPROFILE_FREQUENCY=1000 cmake-build-release/bin/solvitaire --type black-hole --random 4 --classify &
+To get line numbers, you will first need to change the release build from -03 to -02
+
+env CPUPROFILE=solvitaire.prof CPUPROFILESIGNAL=12 CPUPROFILE_FREQUENCY=1000 cmake-build-release/bin/solvitaire --type spanish-patience --random 4 --classify &
killall -12 solvitaire (start profiling)
killall -12 solvitaire (stop profiling)
pprof --callgrind src/ solvitaire.prof.0 > solvitaire.callgrind (ignore any warnings)