Questions tagged [gperftools]

Perftools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools.

Perftools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools.

71 questions
0
votes
0 answers

Using gperftools with a Jetson TX1 dev kit

I've been recommended gperftools to simply and quickly profile my code. Furthermore, the integration of -lprofiler was already done in the CMAKE of the code I got. Now that I migrated the source code on to the Jetson TX1 and that it worked well,…
Kriegalex
  • 423
  • 6
  • 17
0
votes
1 answer

Hexadecimal function name in gproftools profiling

After CPU profiling using gproftools (google profiler) it show some function name as hexadecimal values. According to last comment of https://groups.google.com/forum/#!topic/google-perftools/7sdO7wrPUpE the problem looks like caused by ASLR But I…
0
votes
1 answer

undefine reference to tcmalloc public API

I've cloned google-perf git tree. > ./autogen.sh > ./configure --enable-frame-pointers --prefix=/usr/ > make > sudo make install All steps above were successful. I can see the header files in /usr/include/gperftools/tcmalloc.h etc My program …
eswaat
  • 733
  • 1
  • 13
  • 31
0
votes
1 answer

tcmalloc huge performance variance

Our multi-threaded server has hundreds connection threads that are responsible for IO handing and replying to the incoming requests. There is another asynchronous thread that runs relatively heavy tasks with many allocations from time to time (say…
Roman
  • 1,351
  • 11
  • 26
0
votes
1 answer

C gperftools - profiling C code

I am trying to generate profiling (line by line of source code) for my code for which I have used gperftools. gcc a.c -lprofiler -Wl,--no-as-needed -lprofiler -Wl,--as-needed CPUPROFILE=out.ptof ./a.out But pprof ./a.out out.ptof --inuse_objects…
Programmer
  • 8,303
  • 23
  • 78
  • 162
0
votes
1 answer

How to build gperftools as a static library?

I read in the INSTALL file of gperftools that it can be built as a static library. How would I be able to do it? From my understanding of static libraries: I need to configure it to make a .a file that will have .o files, instead of stubs to shared…
rurulu
  • 42
  • 5
0
votes
1 answer

gperftools: modify makefile to install in a different folder?

I was installing gperftools: https://code.google.com/p/gperftools/ Everything worked, and I see that the project links to /usr/local/lib I'd like to put the library in a folder local to my project, instead. The reasoning behind this is that I'm…
rurulu
  • 42
  • 5
0
votes
1 answer

gperftools inexactitudes with CPUPROFILE_FREQUENCY

I have a task for which gprof seems that cannot be used. Callgrind is helping a lot here, but when found a solution more gprof-like, i. e., gperftools, dove into them to try. So I wrote a dummy program and did several trials like…
1737973
  • 159
  • 18
  • 42
0
votes
1 answer

Performance bottleneck at _L_unlock_16

I am trying to use google perf tools CPU profiler for debugging performance issues on a multi-threaded program. With single thread it take 250 ms while 4 threads take around 900ms. My program has a mmap'ed file which is shared across threads and all…
Jithin
  • 1,108
  • 2
  • 12
  • 26
0
votes
0 answers

Interpreting GPerfTools sample count

I'm struggling a little with reading the textual output the GPerfTools generate. I think part of the problem is that I don't fully understand how the sampling method operates. From Wikipedia I gather that profilers based on sample functions usually…
mxk
  • 43,056
  • 28
  • 105
  • 132
0
votes
1 answer

i have installed gperftools-2.0, but i can't get cpu profile statistics

i have installed gperftools-2.0, but i can't get cpu profile statistics following is my steps to get the statistics: install gperftools tar -xzvfj gperftools-2.0.tar.gz 2.edit cpp file test.cpp #include #include…
1 2 3 4
5