diff options
| author | thecharlesblake | 2017-12-25 22:00:42 +0000 |
|---|---|---|
| committer | thecharlesblake | 2017-12-25 22:00:42 +0000 |
| commit | ddfd79f5ab8bec4949e9a334f62facd67a7d4dfa (patch) | |
| tree | 3e10925da099bac8deb71e90d111fad2cd7abb2b /build-instructions.md | |
| parent | Change history to boost multi-index map (diff) | |
| download | metasol-ddfd79f5ab8bec4949e9a334f62facd67a7d4dfa.tar.gz metasol-ddfd79f5ab8bec4949e9a334f62facd67a7d4dfa.zip | |
Add necessary features for profiler
Diffstat (limited to 'build-instructions.md')
| -rw-r--r-- | build-instructions.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build-instructions.md b/build-instructions.md index 1a8980d..028ce90 100644 --- a/build-instructions.md +++ b/build-instructions.md @@ -48,7 +48,8 @@ Note: this doesn't have to (and probably shouldn't) be run from within the proje `cpack --config cmake-build-[debug|release]/CPackConfig.cmake` -## A Note on CLion +## Profiling -If CLion complains that a dependency is missing, you may need to run the conan -install command, and then in Clion run 'File->Reload CMake Project +env CPUPROFILE=solv.prof cmake-build-debug/bin/solvitaire --type simple-spanish-patience --random 0 > /dev/null 2>&1 +pprof --callgrind src/ solv.prof > solv.callgrind +kcachegrind solv.callgrind |
