Function get_current_freq

Source
pub async fn get_current_freq() -> Result<Option<u64>>
Expand description

CPU クロック周波数を取得する。

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