Base class for all trace producers. More...
#include <profiler_trace.h>
Public Member Functions | |
__trace_base () | |
~__trace_base () | |
__object_info * | __add_object (__stack_t __stack) |
void | __collect_warnings (__warning_vector_t &__warnings) |
void | __free () |
void | __retire_object (__object_info *__info) |
void | __write (FILE *__f) |
Protected Attributes | |
const char * | __id |
Private Types | |
typedef std::tr1::unordered_map< __stack_t, __stack_info, __stack_hash, __stack_hash > | __stack_table_t |
Private Attributes | |
std::size_t | __objects_byte_size |
__stack_table_t | __stack_table |
std::size_t | __stack_table_byte_size |
__gnu_cxx::__mutex | __trace_mutex |
Base class for all trace producers.
|
private |
|
inline |
|
inline |
__object_info * __gnu_profile::__trace_base< __object_info, __stack_info >::__add_object | ( | __stack_t | __stack | ) |
void __gnu_profile::__trace_base< __object_info, __stack_info >::__collect_warnings | ( | __warning_vector_t & | __warnings | ) |
void __gnu_profile::__trace_base< __object_info, __stack_info >::__free | ( | ) |
void __gnu_profile::__trace_base< __object_info, __stack_info >::__retire_object | ( | __object_info * | __info | ) |
References __gnu_profile::__max_mem(), and __gnu_profile::__size().
void __gnu_profile::__trace_base< __object_info, __stack_info >::__write | ( | FILE * | __f | ) |
References __gnu_profile::__write().
Referenced by __gnu_profile::__trace_report().
|
protected |
|
private |
|
private |
|
private |
|
private |