-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
36 lines (19 loc) · 696 Bytes
/
README
File metadata and controls
36 lines (19 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
* HOW TO COMPILE PROFILER LIBRARY :
Type :
cmake.
make
* HOW TO USE PROFILER LIBRARY :
To launch profiled application you have to executes :
LD_PRELOAD=[path to the library]/libprofiler.so [your program]
I.e to launch a program "main" in the folder wheree the library
is loaded :
LD_PRELOAD=`pwd`/libprofiler.so main
* KEYS TO USE PROFILER LIBRARY :
d -> change display mode, switch from list display, program output,
full list display, and graph and list display
a -> sort by average time
c -> sort by cpu time
n -> sort by number of calls
m -> select mode between list methods, and show longest path
left/right -> select thread
up/down -> select line