Quantum 3
3.0.9
Represents a profiler context that manages profiling data. More...
Public Member Functions | |
| ProfilerContext (int threadCount) | |
| Initializes a new instance of the ProfilerContext class. More... | |
| ProfilerContextData | CreateReport (int frame, bool isVerified) |
| Creates a profiler context report. More... | |
| double | GetFrameTimeAverage () |
| Gets the average frame time. More... | |
| Profiler | GetProfilerForTaskThread (FrameThreadSafe frame) |
| Gets the profiler for the specified frame. More... | |
| Profiler | GetProfilerForTaskThread (int taskThreadIndex) |
| Gets the profiler for the specified task thread index. More... | |
| void | Reset (bool enabled) |
| Resets the profiler context. More... | |
| void | SimulationBegin () |
| Begins a simulation. More... | |
| void | StoreFrameTime () |
| Stores the frame time. More... | |
| double | TicksToMS (long ticks) |
| Converts ticks to milliseconds. More... | |
Properties | |
| bool | IsEnabled [get] |
| Returns true if the task profiler is enabled. More... | |
Represents a profiler context that manages profiling data.
|
inline |
Initializes a new instance of the ProfilerContext class.
|
inline |
Gets the average frame time.
|
inline |
Begins a simulation.
|
inline |
Resets the profiler context.
|
inline |
Stores the frame time.
|
inline |
Converts ticks to milliseconds.
| ticks | The number of ticks. |
|
inline |
Creates a profiler context report.
| frame | The frame number. |
| isVerified | Indicates whether the report is verified. |
|
inline |
Gets the profiler for the specified task thread index.
| taskThreadIndex | The task thread index. |
|
inline |
Gets the profiler for the specified frame.
| frame | The frame. |
|
get |
Returns true if the task profiler is enabled.