joule-profiler-cli 2.1.1

CLI tool to measure program energy consumption
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::commands::profile::ProfileArgs;
use clap::Subcommand;

pub mod profile;

/// Subcommands of joule-profiler.
#[derive(Subcommand, Debug)]
pub enum ProfilerCommand {
    /// Profiling mode, executes a command and profiles it.
    Profile(ProfileArgs),

    /// List available sensors.
    ListSensors,
}