Function wgpu_profiler::chrometrace::write_chrometrace
source ยท pub fn write_chrometrace(
target: &Path,
profile_data: &[GpuTimerQueryResult]
) -> Result<()>
Expand description
Writes a .json trace file that can be viewed as a flame graph in Chrome or Edge via chrome://tracing