shengine pre-release
shengine by mrsinho
Loading...
Searching...
No Matches
ShProfilingTimer Struct Reference

Structure to hold profiling timer information in ShEngine. More...

#include <shProfiling.h>

Data Fields

double main_profiling_tool_last_time
 
double main_thread_start_s
 
double main_thread_end_s
 
double main_thread_dtime_ms
 
double main_graphics_queue_start_s
 
double main_graphics_queue_end_s
 
double main_graphics_queue_dtime_ms
 
double application_update_start_s
 
double application_update_end_s
 
double application_update_dtime_ms
 
double application_main_cmd_buffer_start_s
 
double application_main_cmd_buffer_end_s
 
double application_main_cmd_buffer_dtime_ms
 
double application_main_renderpass_start_s
 
double application_main_renderpass_end_s
 
double application_main_renderpass_dtime_ms
 
double main_cmd_buffer_wait_start_s [SH_ENGINE_MAX_SWAPCHAIN_IMAGE_COUNT]
 
double main_cmd_buffer_wait_end_s [SH_ENGINE_MAX_SWAPCHAIN_IMAGE_COUNT]
 
double main_cmd_buffer_wait_dtime_s [SH_ENGINE_MAX_SWAPCHAIN_IMAGE_COUNT]
 
uint32_t ext_count
 
double ext_start_s [SH_PROFILING_TIMER_MAX_EXT_COUNT]
 
double ext_end_s [SH_PROFILING_TIMER_MAX_EXT_COUNT]
 
double ext_dtime_ms [SH_PROFILING_TIMER_MAX_EXT_COUNT]
 
SmdVarName ext_names [SH_PROFILING_TIMER_MAX_EXT_COUNT]
 
SmdExportHandle export
 

Detailed Description

Structure to hold profiling timer information in ShEngine.

The ShProfilingTimer structure is used to store timing information for different aspects of ShEngine execution. It includes timing data for the main thread, application update, command buffer execution, rendering pass, and extension timers, among other things.

Field Documentation

◆ application_main_cmd_buffer_dtime_ms

double ShProfilingTimer::application_main_cmd_buffer_dtime_ms

Duration of the application main command buffer in milliseconds.

◆ application_main_cmd_buffer_end_s

double ShProfilingTimer::application_main_cmd_buffer_end_s

End time of the application main command buffer.

◆ application_main_cmd_buffer_start_s

double ShProfilingTimer::application_main_cmd_buffer_start_s

Start time of the application main command buffer.

◆ application_main_renderpass_dtime_ms

double ShProfilingTimer::application_main_renderpass_dtime_ms

Duration of the application main render pass in milliseconds.

◆ application_main_renderpass_end_s

double ShProfilingTimer::application_main_renderpass_end_s

End time of the application main render pass.

◆ application_main_renderpass_start_s

double ShProfilingTimer::application_main_renderpass_start_s

Start time of the application main render pass.

◆ application_update_dtime_ms

double ShProfilingTimer::application_update_dtime_ms

Duration of the application update in milliseconds.

◆ application_update_end_s

double ShProfilingTimer::application_update_end_s

End time of the application update.

◆ application_update_start_s

double ShProfilingTimer::application_update_start_s

Start time of the application update.

◆ export

SmdExportHandle ShProfilingTimer::export

Export handle for serialization.

◆ ext_count

uint32_t ShProfilingTimer::ext_count

Count of extension timers.

◆ ext_dtime_ms

double ShProfilingTimer::ext_dtime_ms[SH_PROFILING_TIMER_MAX_EXT_COUNT]

Durations of extension timers in milliseconds.

◆ ext_end_s

double ShProfilingTimer::ext_end_s[SH_PROFILING_TIMER_MAX_EXT_COUNT]

End times of extension timers.

◆ ext_names

SmdVarName ShProfilingTimer::ext_names[SH_PROFILING_TIMER_MAX_EXT_COUNT]

Names of extension timers.

◆ ext_start_s

double ShProfilingTimer::ext_start_s[SH_PROFILING_TIMER_MAX_EXT_COUNT]

Start times of extension timers.

◆ main_cmd_buffer_wait_dtime_s

double ShProfilingTimer::main_cmd_buffer_wait_dtime_s[SH_ENGINE_MAX_SWAPCHAIN_IMAGE_COUNT]

Durations of main command buffer waits in seconds.

◆ main_cmd_buffer_wait_end_s

double ShProfilingTimer::main_cmd_buffer_wait_end_s[SH_ENGINE_MAX_SWAPCHAIN_IMAGE_COUNT]

End times of main command buffer waits.

◆ main_cmd_buffer_wait_start_s

double ShProfilingTimer::main_cmd_buffer_wait_start_s[SH_ENGINE_MAX_SWAPCHAIN_IMAGE_COUNT]

Start times of main command buffer waits.

◆ main_graphics_queue_dtime_ms

double ShProfilingTimer::main_graphics_queue_dtime_ms

Duration of the main graphics queue in milliseconds.

◆ main_graphics_queue_end_s

double ShProfilingTimer::main_graphics_queue_end_s

End time of the main graphics queue.

◆ main_graphics_queue_start_s

double ShProfilingTimer::main_graphics_queue_start_s

Start time of the main graphics queue.

◆ main_profiling_tool_last_time

double ShProfilingTimer::main_profiling_tool_last_time

Last time profiling tool was queried.

◆ main_thread_dtime_ms

double ShProfilingTimer::main_thread_dtime_ms

Duration of the main thread in milliseconds.

◆ main_thread_end_s

double ShProfilingTimer::main_thread_end_s

End time of the main thread.

◆ main_thread_start_s

double ShProfilingTimer::main_thread_start_s

Start time of the main thread.


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