DABC (Data Acquisition Backbone Core)  2.9.9
Data Structures | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends
dabc::Profiler Class Reference

#include <dabc/Profiler.h>

Data Structures

struct  Entry

Public Member Functions

std::string Format ()
void MakeStatistic ()
 Profiler ()
void Reserve (unsigned num=10)
void SetActive (bool on=true)

Private Types

typedef unsigned long long clock_t

Private Member Functions

clock_t GetClock ()

Private Attributes

bool fActive {true}
std::vector< EntryfEntries
clock_t fLast {0}


class ProfilerGuard

Detailed Description

Definition at line 29 of file Profiler.h.

Member Typedef Documentation

◆ clock_t

typedef unsigned long long dabc::Profiler::clock_t

Definition at line 33 of file Profiler.h.

Constructor & Destructor Documentation

◆ Profiler()

dabc::Profiler::Profiler ( )

Definition at line 51 of file Profiler.h.

Member Function Documentation

◆ GetClock()

clock_t dabc::Profiler::GetClock ( )

Definition at line 37 of file Profiler.h.

◆ Reserve()

void dabc::Profiler::Reserve ( unsigned  num = 10)

Definition at line 53 of file Profiler.h.

◆ SetActive()

void dabc::Profiler::SetActive ( bool  on = true)

Definition at line 59 of file Profiler.h.

◆ MakeStatistic()

void dabc::Profiler::MakeStatistic ( )

Definition at line 18 of file Profiler.cxx.

◆ Format()

std::string dabc::Profiler::Format ( )

Definition at line 36 of file Profiler.cxx.

Friends And Related Function Documentation

◆ ProfilerGuard

friend class ProfilerGuard

Definition at line 31 of file Profiler.h.

Field Documentation

◆ fActive

bool dabc::Profiler::fActive {true}

Definition at line 35 of file Profiler.h.

◆ fLast

clock_t dabc::Profiler::fLast {0}

Definition at line 39 of file Profiler.h.

◆ fEntries

std::vector<Entry> dabc::Profiler::fEntries

Definition at line 47 of file Profiler.h.

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