21 class DtSampleAggregator;
30 static std::size_t calculateNumberOfSamples(
float estimatedFrequency,
float estimatedRunTimeSeconds);
40 void init(std::size_t numOfSamples,
const std::string& fileName);
43 std::size_t numSamples()
const;
80 void addProfile(
double fStart,
double fEndAt);
81 void clearProfiles(
void);
83 void profilerPre(
double elapsedTime);
91 : myStartAt(0), myEndAt(0), myLoggedStart(false), myDumped(false), myID(0) {}
DT_DLL_EXAMPLESCENEROOTPLUGIN void init(DtDe &anIG)
double myEndAt
Definition: DtInMemoryProfiler.h:93
bool myDumped
Definition: DtInMemoryProfiler.h:95
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
The DtSampleAggregator allows users to collect up to a fixed number of rows of N columns of doubles...
Definition: DtSampleAggregator.h:24
double myStartAt
Definition: DtInMemoryProfiler.h:92
bool myLoggedStart
Definition: DtInMemoryProfiler.h:94
bool myStarted
Definition: DtInMemoryProfiler.h:72
Contains DLL export macros.
This class measures time difference (cpu time, wall time, etc) between calls to its start and stop fu...
Definition: DtInMemoryProfiler.h:25
DtSampleAggregator * myAggregator
Definition: DtInMemoryProfiler.h:71
DtInMemoryProfiler myProfiler
Definition: DtInMemoryProfiler.h:86
ProfileData()
Definition: DtInMemoryProfiler.h:90
std::size_t myID
Definition: DtInMemoryProfiler.h:96
Definition: DtInMemoryProfiler.h:75
Profiles myProfiles
Definition: DtInMemoryProfiler.h:100
bool myIsProfiling
Definition: DtInMemoryProfiler.h:102
DtTimedSection * myTimer
Definition: DtInMemoryProfiler.h:70
std::deque< ProfileData > Profiles
Definition: DtInMemoryProfiler.h:99
Definition: DtInMemoryProfiler.h:88