STXXL  1.4-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::parallel::Timing< inactive_tag, must_be_int > Class Template Reference

Detailed Description

template<typename must_be_int>
class stxxl::parallel::Timing< inactive_tag, must_be_int >

A class that provides simple run time measurements, also for parallel code.

Parameters
tagIf active_tag, then the measurements are actually done, otherwise, no code at all is emitted by the compiler.

Definition at line 178 of file timing.h.

Public Member Functions

point_in_time active_time ()
 
const char * c_str ()
 
void print ()
 
void reset ()
 
void start ()
 
void stop ()
 
void tic (const char *=NULL)
 
point_in_time total_time ()
 

Static Private Attributes

static const char * empty_string = ""
 

Member Function Documentation

template<typename must_be_int >
point_in_time stxxl::parallel::Timing< inactive_tag, must_be_int >::active_time ( )
inline

Definition at line 188 of file timing.h.

template<typename must_be_int >
const char* stxxl::parallel::Timing< inactive_tag, must_be_int >::c_str ( )
inline

Definition at line 190 of file timing.h.

template<typename must_be_int >
void stxxl::parallel::Timing< inactive_tag, must_be_int >::print ( )
inline

Definition at line 191 of file timing.h.

template<typename must_be_int >
void stxxl::parallel::Timing< inactive_tag, must_be_int >::reset ( )
inline

Definition at line 187 of file timing.h.

template<typename must_be_int >
void stxxl::parallel::Timing< inactive_tag, must_be_int >::start ( )
inline

Definition at line 185 of file timing.h.

template<typename must_be_int >
void stxxl::parallel::Timing< inactive_tag, must_be_int >::stop ( )
inline

Definition at line 186 of file timing.h.

template<typename must_be_int >
void stxxl::parallel::Timing< inactive_tag, must_be_int >::tic ( const char *  = NULL)
inline

Definition at line 184 of file timing.h.

template<typename must_be_int >
point_in_time stxxl::parallel::Timing< inactive_tag, must_be_int >::total_time ( )
inline

Definition at line 189 of file timing.h.

Member Data Documentation

template<typename must_be_int >
const char * stxxl::parallel::Timing< inactive_tag, must_be_int >::empty_string = ""
staticprivate

Definition at line 181 of file timing.h.


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