#include <SimpleProfiler.h>
Public Types | |
typedef VoidVec::size_type | size_type |
typedef std::vector< void * > | VoidVec |
Public Member Functions | |
void | commitFrame (void **first, void **last) |
void * | stackTop () |
void | start () |
void | stop () |
void ** | tempStack () |
size_type | tempStackSize () |
Static Public Member Functions | |
static SimpleProfiler * | instance () |
Private Member Functions | |
void | complete () |
void | doWrite () |
SimpleProfiler () | |
~SimpleProfiler () | |
Private Attributes | |
void ** | curr_ |
int | fd_ |
std::string | filename_ |
VoidVec | frame_data_ |
void ** | high_water_ |
bool | installed_ |
pthread_t | owner_ |
bool | running_ |
void * | stacktop_ |
VoidVec | tmp_stack_ |
Static Private Attributes | |
static SimpleProfiler * | inst_ = 0 |
static boost::mutex | lock_ |
Definition at line 12 of file SimpleProfiler.h.
typedef VoidVec::size_type SimpleProfiler::size_type |
Definition at line 16 of file SimpleProfiler.h.
typedef std::vector<void*> SimpleProfiler::VoidVec |
Definition at line 15 of file SimpleProfiler.h.
|
private |
Definition at line 551 of file SimpleProfiler.cc.
References fd_, and filename_.
|
private |
Definition at line 572 of file SimpleProfiler.cc.
References dtNoiseDBValidation_cfg::cerr, filename_, and running_.
void SimpleProfiler::commitFrame | ( | void ** | first, |
void ** | last | ||
) |
Definition at line 581 of file SimpleProfiler.cc.
References filterCSVwithJSON::copy, curr_, doWrite(), and high_water_.
Referenced by sigFunc().
|
private |
Definition at line 663 of file SimpleProfiler.cc.
References dtNoiseDBValidation_cfg::cerr, doWrite(), fd_, filename_, edmtest::makeFileName(), and writeProfileData().
Referenced by stop().
|
private |
Definition at line 589 of file SimpleProfiler.cc.
References curr_, fd_, frame_data_, start(), and TablePrint::write.
Referenced by commitFrame(), and complete().
|
static |
Definition at line 540 of file SimpleProfiler.cc.
References inst_, lock_, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by edm::service::SimpleProfiling::postBeginJob(), edm::service::SimpleProfiling::postEndJob(), and sigFunc().
|
inline |
void SimpleProfiler::start | ( | void | ) |
Definition at line 610 of file SimpleProfiler.cc.
References dtNoiseDBValidation_cfg::cerr, installed_, lock_, owner_, and running_.
Referenced by progressbar.ProgressBar::__next__(), doWrite(), and edm::service::SimpleProfiling::postBeginJob().
void SimpleProfiler::stop | ( | ) |
Definition at line 632 of file SimpleProfiler.cc.
References dtNoiseDBValidation_cfg::cerr, complete(), installed_, owner_, and running_.
Referenced by edm::service::SimpleProfiling::postEndJob().
|
inline |
|
inline |
|
private |
Definition at line 41 of file SimpleProfiler.h.
Referenced by commitFrame(), and doWrite().
|
private |
Definition at line 43 of file SimpleProfiler.h.
Referenced by complete(), doWrite(), and SimpleProfiler().
|
private |
Definition at line 42 of file SimpleProfiler.h.
Referenced by complete(), SimpleProfiler(), and ~SimpleProfiler().
|
private |
Definition at line 38 of file SimpleProfiler.h.
Referenced by doWrite().
|
private |
Definition at line 40 of file SimpleProfiler.h.
Referenced by commitFrame().
|
staticprivate |
Definition at line 36 of file SimpleProfiler.h.
Referenced by instance().
|
private |
Definition at line 44 of file SimpleProfiler.h.
|
staticprivate |
Definition at line 37 of file SimpleProfiler.h.
Referenced by instance(), and start().
|
private |
Definition at line 46 of file SimpleProfiler.h.
|
private |
Definition at line 45 of file SimpleProfiler.h.
Referenced by start(), stop(), and ~SimpleProfiler().
|
private |
Definition at line 47 of file SimpleProfiler.h.
Referenced by stackTop().
|
private |
Definition at line 39 of file SimpleProfiler.h.
Referenced by tempStack(), and tempStackSize().