gfx-rs / metal-rs

Rust bindings for Metal
Apache License 2.0
567 stars 112 forks source link

Add `gpu_start_time` and `gpu_end_time` to `CommandBuffer` #329

Open zackangelo opened 1 month ago

zackangelo commented 1 month ago

Add bindings for GPUStartTime and GPUEndTime.

They allow you to determine how much time the GPU spent executing a command buffer.