Enumerates the default frame section types.
| Enumerator |
|---|
| FRAME |
|
| INTERNAL |
|
| EXTERNAL |
|
| MESSAGE_PROC |
|
| TRANSLATION |
|
| OUT_OF_FRAME |
|
| EXTERNAL_OTHER |
|
| FRAME_OTHER |
|
| USER_START |
|
| virtual MAKVrExchange::DtFrameTimer::~DtFrameTimer |
( |
| ) |
|
|
virtual |
Default creation method for instantiating frame timers.
| virtual double MAKVrExchange::DtFrameTimer::fps |
( |
| ) |
const |
|
virtual |
Accessor for the FPS.
Note: Should only be called after a generateReport() call and before the next frame start.
| virtual void MAKVrExchange::DtFrameTimer::generateReport |
( |
| ) |
|
|
virtual |
Generates a report based on the recorded statistics since the last report.
Frame and section times and percentages are averaged over the number of frames elapsed since the last report was generated.
Tells the timer that a frame section is ending.
| virtual void MAKVrExchange::DtFrameTimer::markFrameEnd |
( |
| ) |
|
|
virtual |
Tells the timer that a frame is ending.
| virtual void MAKVrExchange::DtFrameTimer::markFrameStart |
( |
| ) |
|
|
virtual |
Tells the timer that a frame is beginning.
Tells the timer that a frame section is starting.
| virtual void MAKVrExchange::DtFrameTimer::printFrameStatistics |
( |
| ) |
|
|
virtual |
Prints the statistics from the last report to DtInfo.
| virtual DtString MAKVrExchange::DtFrameTimer::roundPercent |
( |
double |
percent | ) |
|
|
protectedvirtual |
Converts fraction to percent, rounds to int, & appends %.
| virtual const SectionInfoMap& MAKVrExchange::DtFrameTimer::sectionInfo |
( |
| ) |
const |
|
virtual |
Accessor for the section info map (read-only).
Note: Should only be called after a generateReport() call and before the next frame start.
| double MAKVrExchange::DtFrameTimer::myFps |
|
protected |
| unsigned int MAKVrExchange::DtFrameTimer::myFrameCounter |
|
protected |
| unsigned int MAKVrExchange::DtFrameTimer::myLastFrameCount |
|
protected |
| DtTime MAKVrExchange::DtFrameTimer::myLastReportTime |
|
protected |
Storage for the method used to create the frame timer.
Overridden frame timer creators can be set here in order to use a customized frame timer. Make sure the creator is set here before the broker begins processing messages to ensure it is used.
The documentation for this class was generated from the following file: