Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 534 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 534 Bytes

A tool for tracking the GPU power/energy consumption.

Compile

mkdir build
cmake ..
make -j

USAGE:

./power_profiling -g 0 -c "python your_test.py"

Parameter:

Must provide with -g and -c parameters.

-t profiling time length (seconds, default: 100 seconds)

-i sample time interval (microsecond, default: 100000 usec)

-m metirc (instant power: 1, average power: 2, energy: 3, GPU SM frequency: 4, default: 1)

-g gpu index (e.g. 0,1)

-c "running command the program you want to test"