Function get_throttle_status

Source
pub async fn get_throttle_status() -> Result<Option<ThrottleFlags>>
Expand description

CPU スロットリング状態を取得する。

Raspberry Pi vcgencmd コマンドを使用する。 存在しない環境ではエラーではなく None を返す。