resonance 1.0.1
Loading...
Searching...
No Matches
ProfileTimer Struct Reference

One labelled interval the profiler accumulates, 0x14 bytes. More...

#include <profiler.h>

Collaboration diagram for ProfileTimer:

Public Attributes

unsigned int mStartCycles
 EE Count when the interval was last entered.
unsigned int mCycles
 Cycles accumulated across the frame.
HxStr mName
 Title the profiler reports this interval under.
int mDepth
 Nesting depth of the interval, which the reset returns to 1.

Detailed Description

One labelled interval the profiler accumulates, 0x14 bytes.

The class is not polymorphic and has no RTTI, so its title is inferred. The static initialiser at 0x0053d700 builds each record by copying a temporary whose first word it never writes, so mStartCycles begins undefined. GfxDevice::DrawSubsystemTimingGraph() reports each record's name and mCycles, and the frame timer reset at 0x0053dcf8 writes all three counters of its own record.

Member Data Documentation

◆ mStartCycles

unsigned int ProfileTimer::mStartCycles

EE Count when the interval was last entered.

+0x00

◆ mCycles

unsigned int ProfileTimer::mCycles

Cycles accumulated across the frame.

+0x04

◆ mName

HxStr ProfileTimer::mName

Title the profiler reports this interval under.

+0x08

◆ mDepth

int ProfileTimer::mDepth

Nesting depth of the interval, which the reset returns to 1.

+0x10


The documentation for this struct was generated from the following file: