Skip to content

Sample and plot power consumption, average frequency and cpu die temperatures over time.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

luukvanderduim/sense

sense

CI Coverage Status

Sense is a small tool to gather data on cpu temperature, power usage and clock frequency and plot graphs during some load.

smallpt load - power and frequency plot smallpt load - power and temperature plot

Dependencies

Sense is written in Rust. If you wish to try sense, you will need to install Rust. See the fine rust-lang web page for more information on how to install Rust.

Sense depends on zenpower3 by Anthony Wang.

Installation

To install you clone the repository:

git clone https://github.com/luukvanderduim/sense.git
cd sense
cargo install --path=.

Usage

The intended workflow is:

  • start sense
  • start workload of interest in another terminal
  • stop sense
  • profit!

You may want to look at the available command line arguments:

sense --help
Usage: sense [-i <interval>] [-w <write-data>] [-t <title>] [--wxh <wxh>]

Simple tool to sample and plot power consumption, average frequency and cpu die temperatures over time.

Options:
  -i, --interval    optional sample interval in milliseconds (defaults to 1000)
  -w, --write-data  optionally save data series (defaults to `true`)
  -t, --title       optional title (e.g. a condition for the run)
  --wxh             optional image size dimensions WxH (1024x768)
  --help            display usage information

Example:

sense -i 2000 -t "kernel compilation" --wxh 1920x1080

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.

About

Sample and plot power consumption, average frequency and cpu die temperatures over time.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages