Visual support for the cachegrind skin of the memory analyzer Valgrind. (For questions related to cachegrind only, use the cachegrind tag)
Questions tagged [kcachegrind]
98 questions
0
votes
0 answers
KCacheGrind/CallGrind - wrong relative timing
I am using valgrind to profile a program. The valgrind measurements shows a wrong relative runtime - it seems from the callgrind log that function1 has a longer runtime than function 2, although when I use a simple timer without valgrind, I see the…

Arik Vasserman
- 1
- 1
0
votes
1 answer
Callgrind / kcachegrind why does running a program in valgrind increase sysCall time?
I've been profiling some code which likely spends a lot of it's execution time in system calls. Timing some functions manually and with callgrind, callgrind reports system call times of around 20, 30 or 40 times longer than simply timing the…

GustavD
- 136
- 4
0
votes
0 answers
Callgrind / kcachegrind call graph output implies functions call eachother when they don't
I'm profiling C++ code using callgrind and then visualizing it in kcachegrind.
For example, if my program is:
main() {
function1();
function2();
}
I would expect main() to have two edges, one to function1() and everything called by…

GustavD
- 136
- 4
0
votes
0 answers
Valgrind ignore templates in output
I'm using valgrind [callgrind] to profile a C++ executable, and KCachegrind to display the results. However, the function names are all but unreadable due to endless template names before the actual method name. Since each class is instantiated with…

Francesco Dondi
- 1,064
- 9
- 17
0
votes
0 answers
Simple constant getter is creating a cache miss? (C++)
I am currently benchmarking a program on a Linux system with Valgrind.
I have this strange cache miss with the getter method const int GetID() const,
but I can't really explain where it came from. Does anyone have any idea what's causing this…

RunningFlip
- 1
- 1
0
votes
1 answer
Cachegring file very small
I am new to profiling. I am trying to profile my PHP with xdebug.
The cachegrind file is created but has no significant content
I have set xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_name = cachegrind+%p+%H+%R.cg
I call my page with…

NormB
- 41
- 5
0
votes
1 answer
how to install kcachegrind on linux or cirrus?
I am working on a cirrus machine, having my C code profiled. I have Valgrind installed on it. But the output I get from --tool=callgrind is barely understandable, hence I want to use kcachegrind tool. But I am not able to find a link to install it…

Akhil Haridasan
- 13
- 3
0
votes
1 answer
What is closure in KCacheGrind?
what is the meaning of closure in KCacheGrind? I have it with one of my functions and it is pointing out the spl_autoload_register() function, spl_autoload_call in KCacheGrind. And the self time of the function is 60+ so, of course, I want to…

Dumb Question
- 365
- 1
- 3
- 14
0
votes
0 answers
QCachegrind is not displaying any data for php profiling, Configuration issue may be
I have installed the xdebug , and qCachegrind, which is the windows ver of KCachegrind.. but could not see any profiling data on this interface.
May be i am unable to configure it correctly.
Let me tell you that , i have installed Xdebug already ,…

captain_a
- 3,328
- 1
- 14
- 23
0
votes
1 answer
qcachegrind "flat profile" dock panel disappeared. how to restore?
I installed qcachegrind on OS X via brew. No problems. I generated a few *.callgrind files and viewed them with qcachegrind. Again, no problem. While viewing one file I accidentally closed the "flat profile" dock panel. Now anytime I open…

Chuck Remes
- 98
- 9
0
votes
1 answer
Need help understanding kcachegrind
I'm trying to understand kcachegrind, there doesn't seem to be much information out there, for example, on the left window, what is "Self", What is "incl."? (see 1 core ).
I've done some weak scaling tests, there is no communication, so my guess is…

datguyray
- 131
- 7
0
votes
1 answer
Is it possible to use the MVC path in XDebugs profiler outout filename?
I am using XDebug to profile a large MVC application and it would be much easier to profile individual requests by their URI rather than filename (.php) as several requests are made via internal functions, resulting in multiple grind files for a…

Ben Duffin
- 1,066
- 10
- 16
0
votes
0 answers
Pinpointing performance optimizations between gcc-4.1.2 and gcc-4.8.1
Context:
I am currently investigating the performance increase between my team's current build environment, which still uses gcc-4.1.2, and a build using gcc-4.8.1. The results were astounding, with a weighted average of at least 25% speedup across…

Suedocode
- 2,504
- 3
- 23
- 41
0
votes
1 answer
Understanding Kcachegrind callgraph number output
Hi I am new to using this tool and I don't have much documentation on it other that what I was able to google a bit. I have a compiled c++ program that I am running callgrind on and I see the call graph but if I don't use relative %. What do the…

bjackfly
- 3,236
- 2
- 25
- 38
0
votes
0 answers
Unable to install Kcachegrind on ubuntu 13.10
I want to start knowing kcachegrind for profiling my php stuff.
Tried with
sudo apt-get install kcachegrind
and
sudo apt-get -f install kcachegrind
but I always get
The following packages have unmet dependencies:
kcachegrind : Depends:…

ilpaijin
- 3,645
- 2
- 23
- 26