Skip to content

BoruiXu/profiling_gpu_power_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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" 

About

A toy to get some gpu metrics using DCGM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published