GNU g++  v5.2.1
GNU Standard C++
__gnu_profile::__trace_base< __object_info, __stack_info > Class Template Reference

Base class for all trace producers. More...

#include <profiler_trace.h>

Collaboration diagram for __gnu_profile::__trace_base< __object_info, __stack_info >:

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
 

Detailed Description

template<typename __object_info, typename __stack_info>
class __gnu_profile::__trace_base< __object_info, __stack_info >

Base class for all trace producers.

Member Typedef Documentation

template<typename __object_info, typename __stack_info>
typedef std::tr1::unordered_map<__stack_t, __stack_info, __stack_hash, __stack_hash> __gnu_profile::__trace_base< __object_info, __stack_info >::__stack_table_t
private

Constructor & Destructor Documentation

template<typename __object_info, typename __stack_info>
__gnu_profile::__trace_base< __object_info, __stack_info >::__trace_base ( )
inline
template<typename __object_info, typename __stack_info>
__gnu_profile::__trace_base< __object_info, __stack_info >::~__trace_base ( )
inline

Member Function Documentation

template<typename __object_info , typename __stack_info >
__object_info * __gnu_profile::__trace_base< __object_info, __stack_info >::__add_object ( __stack_t  __stack)

References __gnu_profile::__max_mem().

Here is the call graph for this function:

template<typename __object_info , typename __stack_info >
void __gnu_profile::__trace_base< __object_info, __stack_info >::__collect_warnings ( __warning_vector_t __warnings)

Referenced by __gnu_profile::__trace_report().

Here is the caller graph for this function:

template<typename __object_info, typename __stack_info>
void __gnu_profile::__trace_base< __object_info, __stack_info >::__free ( )
template<typename __object_info, typename __stack_info >
void __gnu_profile::__trace_base< __object_info, __stack_info >::__retire_object ( __object_info *  __info)

References __gnu_profile::__max_mem(), and __gnu_profile::__size().

Here is the call graph for this function:

template<typename __object_info , typename __stack_info >
void __gnu_profile::__trace_base< __object_info, __stack_info >::__write ( FILE *  __f)

References __gnu_profile::__write().

Referenced by __gnu_profile::__trace_report().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

template<typename __object_info, typename __stack_info>
const char* __gnu_profile::__trace_base< __object_info, __stack_info >::__id
protected
template<typename __object_info, typename __stack_info>
std::size_t __gnu_profile::__trace_base< __object_info, __stack_info >::__objects_byte_size
private
template<typename __object_info, typename __stack_info>
__stack_table_t __gnu_profile::__trace_base< __object_info, __stack_info >::__stack_table
private
template<typename __object_info, typename __stack_info>
std::size_t __gnu_profile::__trace_base< __object_info, __stack_info >::__stack_table_byte_size
private
template<typename __object_info, typename __stack_info>
__gnu_cxx::__mutex __gnu_profile::__trace_base< __object_info, __stack_info >::__trace_mutex
private

The documentation for this class was generated from the following file: