mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-29 18:03:44 +00:00
- Get timestamp period on each backend D3D12: Get GPU frequency(HZ) from queue and calculate the period in ns Vulkan: Get timestampPeriod from device properties Metal and others: don't need the period Bug: dawn:434 Change-Id: Ia5588a3dccadfe92d7384b9fdf1e6848c6e5c6e2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/36220 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Hao Li <hao.x.li@intel.com>