30 #ifndef _GLIBCXX_PROFILE_PROFILER_VECTOR_SIZE_H 31 #define _GLIBCXX_PROFILE_PROFILER_VECTOR_SIZE_H 1 48 { __id =
"vector-size"; }
52 __trace_vector_size_init()
56 __trace_vector_size_free()
57 {
delete _GLIBCXX_PROFILE_DATA(_S_vector_size); }
60 __trace_vector_size_report(FILE* __f, __warning_vector_t& __warnings)
61 { __trace_report(_GLIBCXX_PROFILE_DATA(_S_vector_size), __f, __warnings); }
63 inline __container_size_info*
64 __trace_vector_size_construct(std::size_t __num)
69 if (!__reentrance_guard::__get_in())
72 __reentrance_guard __get_out;
73 return _GLIBCXX_PROFILE_DATA(_S_vector_size)->
74 __insert(__get_stack(), __num);
78 __trace_vector_size_resize(__container_size_info* __obj_info,
79 std::size_t __from, std::size_t __to)
84 __obj_info->__resize(__from, __to);
88 __trace_vector_size_destruct(__container_size_info* __obj_info,
89 std::size_t __num, std::size_t __inum)
94 _GLIBCXX_PROFILE_DATA(_S_vector_size)->
95 __destruct(__obj_info, __num, __inum);
Data structures to represent profiling traces.
bool __profcxx_init()
This function must be called by each instrumentation point.
Diagnostics for container sizes.
Container size instrumentation trace producer.
Hashtable size instrumentation trace producer.
Interface of the profiling runtime library.
GNU profile code for public use.
Data structures to represent a single profiling event.