gpu_telemetry 0.2.1

High-level GPU telemetry background logger
Documentation
//! Fully customizable GPU telemetry logging.

#![forbid(missing_docs)]

pub mod errors;
pub mod monitor;
pub mod sys;

#[cfg(not(any(target_os = "windows", target_os = "linux")))]
type DefaultQueryInner = sys::NopQuery;

#[cfg(target_os = "windows")]
type DefaultQueryInner = sys::DxGpuQuery;

#[cfg(target_os = "linux")]
type DefaultQueryInner = sys::VulkanGpuQuery;

/// Default system GPU querying backend.
///
/// On windows, this represents DirectX.
/// On linux, this represents Vulkan.
/// On everything else, this is a no-op.
pub type DefaultQuery = DefaultQueryInner;