cda-group / arcon

State-first Streaming Applications in Rust
https://cda-group.github.io/arcon/
Apache License 2.0
175 stars 17 forks source link

added some documentation and a watermark gauge #261

Closed Sanskar95 closed 3 years ago

Max-Meldrum commented 3 years ago

Missing rustdoc for PerfEvents

/// Configurable hardware counters that may be added to an Operator's config
///
///```no_run
/// let mut perf_events = PerfEvents::new();
/// perf_events.add(HardwareCounter::CpuCycles);
/// perf_events.add(HardwareCounter::BranchMisses);
///```
#[derive(Deserialize, Clone, Debug, Default)]
pub struct PerfEvents {
    pub counters: Vec<HardwareCounter>,
}
Max-Meldrum commented 3 years ago

Closes #259