Blowbox 2017
A 3D Game Engine by Riko Ophorst using DirectX 12
Public Attributes | List of all members
blowbox::PerformanceProfiler::ProfilerBlockFrameData Struct Reference

#include <performance_profiler.h>

Public Attributes

double total_time
 
String block_name
 
ProfilerBlockType block_type
 

Detailed Description

DO NOT USE! This struct is meant for internal use by the Profiler.

This struct describes the data for a type of ProfilerBlock over the lifetime of a frame. If there are multiple ProfilerBlocks with the same name and block type, they will automatically be "grouped" under this struct - it essentially functions as an umbrella for ProfilerBlocks.

Member Data Documentation

String blowbox::PerformanceProfiler::ProfilerBlockFrameData::block_name

The name of the block.

ProfilerBlockType blowbox::PerformanceProfiler::ProfilerBlockFrameData::block_type

The type of the block.

double blowbox::PerformanceProfiler::ProfilerBlockFrameData::total_time

The total amount of time that has been spent for this ProfilerBlock in this frame.


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