Questions tagged [kcachegrind]

Visual support for the cachegrind skin of the memory analyzer Valgrind. (For questions related to cachegrind only, use the cachegrind tag)

98 questions
1
vote
0 answers

How can I find the "missing" time in this kCacheGrind output?

I'm analyzing kCacheGrind (really WinCacheGrind) to analyze cachegrind files and when the "self" times of each process are added up, the total comes nowhere near the cumulative time of the entire page. More specifically, the self time of the entire…
1
vote
1 answer

PHP profiling in VS Code is not showing call times

I'm using VS Code and particularly the "PHP" extension to open cachegrind files that I have xdebug generating. When I open the file in Qcachegrind, it shows everything correctly including call times. But opening the profile file in VS Code shows all…
1
vote
0 answers

How can I visualize GNU remake profile data for multithreaded processes

I'm trying to profile a large multi-threaded Make-based system. I recently found GNU remake and was able to use it as a drop-in replacement for gmake. Since my system is multi-threaded and also has many processes, remake generated a large amount of…
Veena
  • 29
  • 2
1
vote
1 answer

Boost graph: speeding up add_edge

I have a boost graph application where I need to call the function add_edge( ) [documentation available here]. Profiling this application with KCachegrind reveals the following breakup of time spent: As can be seen, the add_edge function call takes…
Tryer
  • 3,580
  • 1
  • 26
  • 49
1
vote
1 answer

read debug symbols when source file was relocated

When using kcachegrind or just objdump -C -l -d somelib.so I noticed that some debug information in my shared libraries is not up to date, due to the copy process from the local file system of the build machine to the shared network file system of…
pseyfert
  • 3,263
  • 3
  • 21
  • 47
1
vote
0 answers

First RSpec test incredibly slow after migration to new machine

My RSpec examples were running respectably until I migrated to a new Mac. Now, it seems the 1st test will take 1-3 minutes. The next time the tests are run (in a different order) that same test might take only 0.2 seconds. rspec -p will show me…
Meltemi
  • 37,979
  • 50
  • 195
  • 293
1
vote
0 answers

Cachegrind not showing function-level results?

I am profiling my C++ application with Valgrind's Cachegrind, using this terminal line: valgrind --branch-sim=yes --tool=cachegrind ./myProgram and from the online guides I have seen this should automatically present function-level profiling…
user997112
  • 29,025
  • 43
  • 182
  • 361
1
vote
1 answer

How do I open python profile data with kCacheGrind?

I am having trouble examining profile data with qcachegrind on mac.I am using django-extensions to generate the profile data. I am able to open a normal profile log using cProfile in the code with pyprof2calltree, but i cannot open the output…
vasion
  • 1,237
  • 3
  • 18
  • 29
1
vote
0 answers

Interpreting cachegrind Ir count for function declaration lines

I have cachegrind line-by-line counts for two similar functions, used exactly the same way. The Ir counts for the function declaration lines (void f(...)) are very different: 999,999,993 for one and only 284 for the other. What does this mean?
zoo
  • 1,901
  • 1
  • 17
  • 25
1
vote
1 answer

KCacheGrind Not Opening Anything on Fedora 17

So, I've tried everything I can do right now, not really getting anywhere with this, so I am turning to the guys on SO for some assistance. System Details: Fedora 17 x86_64 Intel® Pentium(R) Dual CPU E2160 @ 1.80GHz × 2 1.9 GiB memory KCacheGrind…
1
vote
1 answer

How to see php function parameter with kcachegrind

i used kcachegrind for see xdebug profile file. how can i see passed parameters to functions or methods in kcachegrind in cycle
Mark K.
  • 1,969
  • 2
  • 16
  • 15
1
vote
1 answer

Getting Source Annotation in KCachegrind

I'm trying to view source code associated with the executable lab13. When I click the Source tab in KCachegrind, all I see is the following: There is no source available for the following function: 'main' This is because no debug information is…
Chris Redford
  • 16,982
  • 21
  • 89
  • 109
0
votes
1 answer

Confusing output from Kcachegrind

enter link description here Hi, I am profiling my C code with Kcachegrind. But I am confused with the output tree-map view of the call graph (see the above mentioned link). I have compiled the code: valgrind --tool=callgraph ./Program_name and then…
0
votes
0 answers

How shoud the results from cachegrind be interpretated?

I need to profile a program in development to understand what bottlenecks there may be and in particular whether there are any due to memory accesses. To do this I used cachegrind built into valgrind. I compiled the program using gcc and the -g flag…
Dresult
  • 171
  • 1
  • 11
0
votes
0 answers

KCachegrind output

I don't understand why my Kcachegrind's output is in this form I'm compiling with $valgrind --tool=callgrind --callgrind-out-file=outputfile ./main.c $kcachegrind outputfile Can someone help me with this problem? Thanks a lot