STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
profiler.h File Reference

Interface of the profiling runtime library. More...

#include <bits/c++config.h>
#include "profile/impl/profiler_hash_func.h"
#include "profile/impl/profiler_hashtable_size.h"
#include "profile/impl/profiler_map_to_unordered_map.h"
#include "profile/impl/profiler_vector_size.h"
#include "profile/impl/profiler_vector_to_list.h"
#include "profile/impl/profiler_list_to_slist.h"
#include "profile/impl/profiler_list_to_vector.h"

Go to the source code of this file.

Classes

struct  __gnu_profile::__reentrance_guard
 Reentrance guard. More...
 

Namespaces

 __gnu_profile
 GNU profile code for public use.
 

Macros

#define _GLIBCXX_PROFILE_DEFINE_UNINIT_DATA(__type, __name)
 
#define _GLIBCXX_PROFILE_DEFINE_DATA(__type, __name, __initial_value...)
 
#define _GLIBCXX_PROFILE_DATA(__name)   __get_##__name()
 
#define _GLIBCXX_PROFILE_REENTRANCE_GUARD(__x...)
 
#define __profcxx_report()
 
#define __profcxx_turn_on()
 
#define __profcxx_turn_off()
 
#define __profcxx_is_invalid()
 
#define __profcxx_is_on()
 
#define __profcxx_is_off()
 
#define __profcxx_hashtable_resize(__x...)
 
#define __profcxx_hashtable_destruct(__x...)
 
#define __profcxx_hashtable_construct(__x...)
 
#define __profcxx_vector_resize(__x...)
 
#define __profcxx_vector_destruct(__x...)
 
#define __profcxx_vector_construct(__x...)
 
#define __profcxx_inefficient_hash_is_on()   false
 
#define __profcxx_hashtable_destruct2(__x...)
 
#define __profcxx_hashtable_construct2(__x...)
 
#define __profcxx_vector_destruct2(__x...)
 
#define __profcxx_vector_construct2(__x...)
 
#define __profcxx_vector_insert(__x...)
 
#define __profcxx_vector_iterate(__x...)
 
#define __profcxx_vector_invalid_operator(__x...)
 
#define __profcxx_vector_resize2(__x...)
 
#define __profcxx_vector_find(__x...)
 
#define __profcxx_list_destruct2(__x...)
 
#define __profcxx_list_construct2(__x...)
 
#define __profcxx_list_insert(__x...)
 
#define __profcxx_list_iterate(__x...)
 
#define __profcxx_list_invalid_operator(__x...)
 
#define __profcxx_list_rewind(__x...)
 
#define __profcxx_list_operation(__x...)
 
#define __profcxx_list_destruct(__x...)
 
#define __profcxx_list_construct(__x...)
 
#define __profcxx_map_to_unordered_map_construct(__x...)
 
#define __profcxx_map_to_unordered_map_destruct(__x...)
 
#define __profcxx_map_to_unordered_map_insert(__x...)
 
#define __profcxx_map_to_unordered_map_erase(__x...)
 
#define __profcxx_map_to_unordered_map_iterate(__x...)
 
#define __profcxx_map_to_unordered_map_invalidate(__x...)
 
#define __profcxx_map_to_unordered_map_find(__x...)
 
#define _GLIBCXX_PROFILE_TRACE_PATH_ROOT   "libstdcxx-profile"
 
#define _GLIBCXX_PROFILE_TRACE_ENV_VAR   "_GLIBCXX_PROFILE_TRACE_PATH_ROOT"
 
#define _GLIBCXX_PROFILE_MAX_WARN_COUNT_ENV_VAR   "_GLIBCXX_PROFILE_MAX_WARN_COUNT"
 
#define _GLIBCXX_PROFILE_MAX_WARN_COUNT   10
 
#define _GLIBCXX_PROFILE_MAX_STACK_DEPTH   32
 
#define _GLIBCXX_PROFILE_MAX_STACK_DEPTH_ENV_VAR   "_GLIBCXX_PROFILE_MAX_STACK_DEPTH"
 
#define _GLIBCXX_PROFILE_MEM_PER_DIAGNOSTIC   (1 << 28)
 
#define _GLIBCXX_PROFILE_MEM_PER_DIAGNOSTIC_ENV_VAR   "_GLIBCXX_PROFILE_MEM_PER_DIAGNOSTIC"
 

Functions

bool __gnu_profile::__turn_on ()
 
bool __gnu_profile::__turn_off ()
 
bool __gnu_profile::__is_invalid ()
 
bool __gnu_profile::__is_on ()
 
bool __gnu_profile::__is_off ()
 
void __gnu_profile::__report (void)
 Final report method, registered with atexit. More...
 
void __gnu_profile::__trace_hashtable_size_resize (const void *, std::size_t, std::size_t)
 
void __gnu_profile::__trace_hashtable_size_destruct (const void *, std::size_t, std::size_t)
 
void __gnu_profile::__trace_hashtable_size_construct (const void *, std::size_t)
 
void __gnu_profile::__trace_vector_size_resize (const void *, std::size_t, std::size_t)
 
void __gnu_profile::__trace_vector_size_destruct (const void *, std::size_t, std::size_t)
 
void __gnu_profile::__trace_vector_size_construct (const void *, std::size_t)
 
void __gnu_profile::__trace_hash_func_destruct (const void *, std::size_t, std::size_t, std::size_t)
 
void __gnu_profile::__trace_hash_func_construct (const void *)
 
void __gnu_profile::__trace_vector_to_list_destruct (const void *)
 
void __gnu_profile::__trace_vector_to_list_construct (const void *)
 
void __gnu_profile::__trace_vector_to_list_insert (const void *, std::size_t, std::size_t)
 
void __gnu_profile::__trace_vector_to_list_iterate (const void *, std::size_t)
 
void __gnu_profile::__trace_vector_to_list_invalid_operator (const void *)
 
void __gnu_profile::__trace_vector_to_list_resize (const void *, std::size_t, std::size_t)
 
void __gnu_profile::__trace_vector_to_list_find (const void *, std::size_t)
 
void __gnu_profile::__trace_list_to_slist_destruct (const void *)
 
void __gnu_profile::__trace_list_to_slist_construct (const void *)
 
void __gnu_profile::__trace_list_to_slist_rewind (const void *)
 
void __gnu_profile::__trace_list_to_slist_operation (const void *)
 
void __gnu_profile::__trace_list_to_vector_destruct (const void *)
 
void __gnu_profile::__trace_list_to_vector_construct (const void *)
 
void __gnu_profile::__trace_list_to_vector_insert (const void *, std::size_t, std::size_t)
 
void __gnu_profile::__trace_list_to_vector_iterate (const void *, std::size_t)
 
void __gnu_profile::__trace_list_to_vector_invalid_operator (const void *)
 
void __gnu_profile::__trace_list_to_vector_resize (const void *, std::size_t, std::size_t)
 
void __gnu_profile::__trace_list_to_set_destruct (const void *)
 
void __gnu_profile::__trace_list_to_set_construct (const void *)
 
void __gnu_profile::__trace_list_to_set_insert (const void *, std::size_t, std::size_t)
 
void __gnu_profile::__trace_list_to_set_iterate (const void *, std::size_t)
 
void __gnu_profile::__trace_list_to_set_invalid_operator (const void *)
 
void __gnu_profile::__trace_list_to_set_find (const void *, std::size_t)
 
void __gnu_profile::__trace_map_to_unordered_map_construct (const void *)
 
void __gnu_profile::__trace_map_to_unordered_map_invalidate (const void *)
 
void __gnu_profile::__trace_map_to_unordered_map_insert (const void *, std::size_t, std::size_t)
 
void __gnu_profile::__trace_map_to_unordered_map_erase (const void *, std::size_t, std::size_t)
 
void __gnu_profile::__trace_map_to_unordered_map_iterate (const void *, std::size_t)
 
void __gnu_profile::__trace_map_to_unordered_map_find (const void *, std::size_t)
 
void __gnu_profile::__trace_map_to_unordered_map_destruct (const void *)
 

Detailed Description

Interface of the profiling runtime library.

Macro Definition Documentation

#define __profcxx_hashtable_construct (   __x...)
#define __profcxx_hashtable_construct2 (   __x...)
#define __profcxx_hashtable_destruct (   __x...)
#define __profcxx_hashtable_destruct2 (   __x...)
#define __profcxx_hashtable_resize (   __x...)
#define __profcxx_inefficient_hash_is_on ( )    false
#define __profcxx_is_invalid ( )
#define __profcxx_is_off ( )
#define __profcxx_is_on ( )
#define __profcxx_list_construct (   __x...)
#define __profcxx_list_construct2 (   __x...)
#define __profcxx_list_destruct (   __x...)
#define __profcxx_list_destruct2 (   __x...)
#define __profcxx_list_insert (   __x...)
#define __profcxx_list_invalid_operator (   __x...)
#define __profcxx_list_iterate (   __x...)
#define __profcxx_list_operation (   __x...)
#define __profcxx_list_rewind (   __x...)
#define __profcxx_map_to_unordered_map_construct (   __x...)
#define __profcxx_map_to_unordered_map_destruct (   __x...)
#define __profcxx_map_to_unordered_map_erase (   __x...)
#define __profcxx_map_to_unordered_map_find (   __x...)
#define __profcxx_map_to_unordered_map_insert (   __x...)
#define __profcxx_map_to_unordered_map_invalidate (   __x...)
#define __profcxx_map_to_unordered_map_iterate (   __x...)
#define __profcxx_report ( )
#define __profcxx_turn_off ( )
#define __profcxx_turn_on ( )
#define __profcxx_vector_construct (   __x...)
#define __profcxx_vector_construct2 (   __x...)
#define __profcxx_vector_destruct (   __x...)
#define __profcxx_vector_destruct2 (   __x...)
#define __profcxx_vector_find (   __x...)
#define __profcxx_vector_insert (   __x...)
#define __profcxx_vector_invalid_operator (   __x...)
#define __profcxx_vector_iterate (   __x...)
#define __profcxx_vector_resize (   __x...)
#define __profcxx_vector_resize2 (   __x...)
#define _GLIBCXX_PROFILE_DATA (   __name)    __get_##__name()
#define _GLIBCXX_PROFILE_DEFINE_DATA (   __type,
  __name,
  __initial_value... 
)
Value:
inline __type& __get_##__name() { \
static __type __name(__initial_value); \
return __name; \
}
return(unsigned int) __res
#define _GLIBCXX_PROFILE_DEFINE_UNINIT_DATA (   __type,
  __name 
)
Value:
inline __type& \
__get_##__name() \
{ \
static __type __name; \
return __name; \
}
return(unsigned int) __res
#define _GLIBCXX_PROFILE_MAX_STACK_DEPTH   32
#define _GLIBCXX_PROFILE_MAX_STACK_DEPTH_ENV_VAR   "_GLIBCXX_PROFILE_MAX_STACK_DEPTH"
#define _GLIBCXX_PROFILE_MAX_WARN_COUNT   10
#define _GLIBCXX_PROFILE_MAX_WARN_COUNT_ENV_VAR   "_GLIBCXX_PROFILE_MAX_WARN_COUNT"
#define _GLIBCXX_PROFILE_MEM_PER_DIAGNOSTIC   (1 << 28)
#define _GLIBCXX_PROFILE_MEM_PER_DIAGNOSTIC_ENV_VAR   "_GLIBCXX_PROFILE_MEM_PER_DIAGNOSTIC"
#define _GLIBCXX_PROFILE_REENTRANCE_GUARD (   __x...)
Value:
{ \
{ \
__gnu_profile::__reentrance_guard __get_out; \
__x; \
} \
}
static bool __get_in()
Definition: profiler.h:61
#define _GLIBCXX_PROFILE_TRACE_ENV_VAR   "_GLIBCXX_PROFILE_TRACE_PATH_ROOT"
#define _GLIBCXX_PROFILE_TRACE_PATH_ROOT   "libstdcxx-profile"