gpui-fps 0.6.0

Realtime FPS, frame time, CPU, GPU and memory HUD for GPUI applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Platforms with no GPU counter reachable from an ordinary process.
//! Construction always fails, so the HUD leaves the reading out.

pub(super) struct Probe;

impl Probe {
    pub(super) fn new() -> Option<Self> {
        None
    }

    pub(super) fn sample(&mut self) -> Option<f32> {
        None
    }
}