README.md - energy - measure energy usage
HTML git clone git://bitreich.org/energy git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/energy
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
README.md (527B)
---
1 # energy
2
3 `energy` measures the energy consumed while executing a command,
4 similarly to how `time(1)` measures time usage.
5
6 As per-process energy measurement is not possible, this is done by
7 querying hardware counters. Hence the energy usage is the net energy
8 usage of the entire system, including other processes. To measure the
9 net usage of a command, subtract the energy usage of the system at
10 idle (e.g. by measuring the energy usage of `sleep 1` or similar).
11
12 See the [manual page](man/energy.1) for more documentation.