Browse Source

improve debug output for relwithdebinfo in qdp, fix filename for record perf script, add perf.svg with better debug info

master
Constantin Fürst 11 months ago
parent
commit
93a281fa26
  1. 2
      qdp_project/CMakeLists.txt
  2. 1564
      qdp_project/evaluation-results/perf.svg
  3. 2
      qdp_project/record-perf.sh

2
qdp_project/CMakeLists.txt

@ -19,11 +19,13 @@ set(SUPPRESS_WARNINGS "-Wno-literal-suffix -Wno-volatile")
set(DEBUG_FLAGS "-g3" "-ggdb")
set(RELEASE_FLAGS "-O3")
set(RELWITHDEBINFO_FLAGS "-O2" "-ggdb3" "-fno-omit-frame-pointer")
#set flags used for Release and Debug build type
add_compile_options(
"$<$<CONFIG:Release>:${RELEASE_FLAGS}>"
"$<$<CONFIG:Debug>:${DEBUG_FLAGS}>"
"$<$<CONFIG:RelWithDebInfo>:${RELWITHDEBINFO_FLAGS}>"
)
# include directories

1564
qdp_project/evaluation-results/perf.svg
File diff suppressed because it is too large
View File

2
qdp_project/record-perf.sh

@ -1,3 +1,3 @@
echo 0 > /proc/sys/kernel/kptr_restrict
perf record -e cycles -g --call-graph dwarf -- cmake-build-reldeb/QDPBench
perf script | /home/cfuerst/FlameGraph/stackcollapse-perf.pl | /home/cfuerst/FlameGraph/flamegraph.pl > results/perf.pl
perf script | /home/cfuerst/FlameGraph/stackcollapse-perf.pl | /home/cfuerst/FlameGraph/flamegraph.pl > results/perf.svg
Loading…
Cancel
Save