joule-profiler-source-rapl 1.1.0

Intel RAPL energy measurement source for joule-profiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::{collections::HashSet, time::Duration};

use serde::Deserialize;

#[derive(Debug, Default, Deserialize)]
pub struct RaplConfig {
    #[serde(default, with = "humantime_serde")]
    pub poll_interval: Option<Duration>,
    pub rapl_path: Option<String>,
    pub sockets_spec: Option<HashSet<u32>>,
}