aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthecharlesblake2018-02-23 12:53:35 +0000
committerthecharlesblake2018-02-23 12:53:35 +0000
commitd3dc469aa65761e1432727b72b0accb9325e9cc3 (patch)
tree47bf9e11cec6374d284c2da0efdd1d75eb62e4bc
parentMerge pull request #40 from thecharlesblake/test-optimisations (diff)
downloadmetasol-d3dc469aa65761e1432727b72b0accb9325e9cc3.tar.gz
metasol-d3dc469aa65761e1432727b72b0accb9325e9cc3.zip

Update prof instuctions with line number hint

-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)