gprof和STL的问题# Programming - 葵花宝典
o*7
1 楼
用gprof做performance test,总是print出一堆iterator(如下)。怎么样才能让gprof
不去profile STL那部分的code呢?
=============
The flat profile of an analysed program begins with the
following entries:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls s/call s/call name
32.05 3.25 3.25 1037 0.00 0.00
std::_List_iterator_base::_List_iterator_base(std::_List_node_base*)
15.48 4.82 1.57 1 1.57 1.57
std::_L
不去profile STL那部分的code呢?
=============
The flat profile of an analysed program begins with the
following entries:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls s/call s/call name
32.05 3.25 3.25 1037 0.00 0.00
std::_List_iterator_base::_List_iterator_base(std::_List_node_base*)
15.48 4.82 1.57 1 1.57 1.57
std::_L