Refactor PMT binary using cxxopts
Instead of passing environment variables PMT_NAME
and PMT_DEVICE
, the user now has to specify the arguments using command-line options, which are parsed by cxxopts. The default behaviour is still to take a single measurement. Users can measure energy consumption for a specific command by appending -- command-to-execute -argument1 -argument2
to the command-line.
Edited by Bram Veenboer