|
MADNESS
version 0.9
|
Used to store profiler info. More...
#include <worldprofile.h>


Public Member Functions | |
| WorldProfileEntry (const char *name="") | |
| WorldProfileEntry (const WorldProfileEntry &other) | |
| WorldProfileEntry & | operator= (const WorldProfileEntry &other) |
| void | init_par_stats (ProcessID me) |
| void | par_reduce (const WorldProfileEntry &other) |
| void | clear () |
| template<class Archive > | |
| void | serialize (const Archive &ar) |
Public Member Functions inherited from madness::Spinlock | |
| Spinlock (int junk=0) | |
| Make and initialize a spinlock ... initial state is unlocked. More... | |
| bool | try_lock () const |
| Try to acquire the spinlock ... return true on success, false on failure. More... | |
| void | lock () const |
| Acquire the spinlock waiting if necessary. More... | |
| void | unlock () const |
| Free a spinlock owned by this thread. More... | |
| virtual | ~Spinlock () |
Static Public Member Functions | |
| static bool | exclusivecmp (const WorldProfileEntry &a, const WorldProfileEntry &b) |
| static bool | inclusivecmp (const WorldProfileEntry &a, const WorldProfileEntry &b) |
Public Attributes | |
| std::string | name |
| name of the entry More... | |
| int | depth |
| depth of recursive calls (0 if no active calls) More... | |
| ProfileStat< unsigned long > | count |
| count of times called More... | |
| ProfileStat< double > | xcpu |
| exclusive cpu time (i.e., excluding calls) More... | |
| ProfileStat< double > | icpu |
| inclusive cpu call (i.e., including calls) More... | |
Used to store profiler info.
| madness::WorldProfileEntry::WorldProfileEntry | ( | const char * | name = "" | ) |
| madness::WorldProfileEntry::WorldProfileEntry | ( | const WorldProfileEntry & | other | ) |
| void madness::WorldProfileEntry::clear | ( | ) |
References madness::ProfileStat< T >::clear(), count, icpu, and xcpu.
|
static |
References madness::ProfileStat< T >::sum, and xcpu.
Referenced by madness::WorldProfile::print().
|
static |
References icpu, and madness::ProfileStat< T >::sum.
Referenced by madness::WorldProfile::print().
| void madness::WorldProfileEntry::init_par_stats | ( | ProcessID | me | ) |
References count, icpu, madness::ProfileStat< T >::init_par_stats(), and xcpu.
| WorldProfileEntry & madness::WorldProfileEntry::operator= | ( | const WorldProfileEntry & | other | ) |
| void madness::WorldProfileEntry::par_reduce | ( | const WorldProfileEntry & | other | ) |
References count, icpu, madness::ProfileStat< T >::par_reduce(), and xcpu.
|
inline |
References icpu.
| ProfileStat<unsigned long> madness::WorldProfileEntry::count |
count of times called
Referenced by clear(), init_par_stats(), operator=(), par_reduce(), madness::WorldProfile::print(), and madness::WorldProfileObj::~WorldProfileObj().
| int madness::WorldProfileEntry::depth |
depth of recursive calls (0 if no active calls)
Referenced by operator=(), madness::WorldProfileObj::WorldProfileObj(), and madness::WorldProfileObj::~WorldProfileObj().
| ProfileStat<double> madness::WorldProfileEntry::icpu |
inclusive cpu call (i.e., including calls)
Referenced by clear(), inclusivecmp(), init_par_stats(), operator=(), par_reduce(), serialize(), and madness::WorldProfileObj::~WorldProfileObj().
| std::string madness::WorldProfileEntry::name |
name of the entry
Referenced by operator=().
| ProfileStat<double> madness::WorldProfileEntry::xcpu |
exclusive cpu time (i.e., excluding calls)
Referenced by clear(), exclusivecmp(), init_par_stats(), operator=(), par_reduce(), madness::WorldProfileObj::pause(), madness::WorldProfile::print(), and madness::WorldProfileObj::~WorldProfileObj().
1.8.8