$ callgrind_annotate --threshold=20 --auto=yes --tree=caller --auto=yes
./callgrind.out.7732
/cloud/jmaster/ndk_wwj/00.Trunk/Beauty_cmd/core/build/ndk/jni/../../../source/guidedfilter.cpp
--------------------------------------------------------------------------------
Profile data file './callgrind.out.7732' (creator: callgrind-3.12.0)
--------------------------------------------------------------------------------
I1 cache:
D1 cache:
LL cache:
Timerange: Basic block 0 - 2745879511
Trigger: Program termination
Profiled target: ./beautyALL --gtest_filter=FACEBEAUTY_HWA_TEST_PQ.*001_001*
(PID 7732, part 1)
Events recorded: Ir
Events shown: Ir
Event sort order: Ir
Thresholds: 20
Include dirs:
User annotated:
/cloud/jmaster/ndk_wwj/00.Trunk/Beauty_cmd/core/build/ndk/jni/../../../source/guidedfilter.cpp
Auto-annotation: on
--------------------------------------------------------------------------------
Ir
--------------------------------------------------------------------------------
54,072,323,868 PROGRAM TOTALS
--------------------------------------------------------------------------------
Ir file:function
--------------------------------------------------------------------------------
7,631,025,535 < ???:GF_mem_core_2(unsigned char const*, int, int, int,
unsigned int, signed char, unsigned char*, int, int, unsigned short*, unsigned
short*) (2x)
150,733,822,449,168,850 < ???:GF_mem_core_2(unsigned char const*, int, int,
int, unsigned int, signed char, unsigned char*, int, int, unsigned short*,
unsigned short*)'2 (72837764x)
7,631,015,516 * ???:GF_mem_core_2(unsigned char const*, int, int, int,
unsigned int, signed char, unsigned char*, int, int, unsigned short*, unsigned
short*)'2
50,453,349,559,163,015 < ???:GF_mem_core_1(unsigned char const*, int, int,
int, int, signed char, unsigned char*, int, int, unsigned short*, unsigned
short*)'2 (49096266x)
5,290,859,433 * ???:GF_mem_core_1(unsigned char const*, int, int, int, int,
signed char, unsigned char*, int, int, unsigned short*, unsigned short*)'2
--------------------------------------------------------------------------------
-- User-annotated source:
/cloud/jmaster/ndk_wwj/00.Trunk/Beauty_cmd/core/build/ndk/jni/../../../source/guidedfilter.cpp
--------------------------------------------------------------------------------
Ir
Use of uninitialized value $pairs[0] in numeric lt (<) at
/usr/local/bin/callgrind_annotate line 1136.
Use of uninitialized value $high in numeric lt (<) at
/usr/local/bin/callgrind_annotate line 1147.
584,638 <counts for unidentified lines in
/cloud/jmaster/ndk_wwj/00.Trunk/Beauty_cmd/core/build/ndk/jni/../../../source/guidedfilter.cpp>
Use of uninitialized value in division (/) at /usr/local/bin/callgrind_annotate
line 1218.
--------------------------------------------------------------------------------
Ir
--------------------------------------------------------------------------------
0 percentage of events annotated
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users