Skip to main content
Version: 12 Dec 2024

MLGraphicsClientPerformanceInfo

Module: Graphics

Performance timing information for the graphics client. More...

#include <ml_graphics.h>

Public Attributes

TypeName
uint64_tframe_start_cpu_comp_acquire_cpu_ns
uint64_tframe_start_cpu_frame_end_gpu_ns
uint64_tframe_start_cpu_frame_start_cpu_ns
uint64_tframe_duration_cpu_ns
uint64_tframe_duration_gpu_ns
uint64_tframe_internal_duration_cpu_ns
uint64_tframe_internal_duration_gpu_ns

Detailed Description

struct MLGraphicsClientPerformanceInfo;

Performance timing information for the graphics client.

Populated by MLGraphicsGetClientPerformanceInfo, the performance information contains all metrics tracked by the graphics system for the specified client. Metrics are calculated using a sliding window and can be used to adjust the client workload characteristics (i.e. scale, fidelity, etc).

Note: The internal metrics are also provided, informing the client of both the CPU and GPU cost of the internal operations of the graphics system (in the client process).

Deprecated

Deprecated since 1.6.0. Scheduled for removal.


Public Attributes Documentation

frame_start_cpu_comp_acquire_cpu_ns

uint64_t frame_start_cpu_comp_acquire_cpu_ns;

The average frame start CPU to composition acquisition of the frame, in nanoseconds.


frame_start_cpu_frame_end_gpu_ns

uint64_t frame_start_cpu_frame_end_gpu_ns;

The average frame start CPU to frame end GPU, in nanoseconds.


frame_start_cpu_frame_start_cpu_ns

uint64_t frame_start_cpu_frame_start_cpu_ns;

The average frame cadence, CPU start to CPU start, in nanoseconds.


frame_duration_cpu_ns

uint64_t frame_duration_cpu_ns;

The average frame CPU duration, in nanoseconds.


frame_duration_gpu_ns

uint64_t frame_duration_gpu_ns;

The average frame GPU duration, in nanoseconds.


frame_internal_duration_cpu_ns

uint64_t frame_internal_duration_cpu_ns;

The average CPU duration for internal operations per frame, in nanoseconds.


frame_internal_duration_gpu_ns

uint64_t frame_internal_duration_gpu_ns;

The average GPU duration for internal operations per frame, in nanoseconds.