Use the AMDuProfCLI timechart command to
collect the system metrics and write them into a text file or comma-separated-value
(CSV) file. Complete the following procedure to collect power profile counter
values:
- Run the command with
--listoption to get the list of supported counter categories. - Use the command to specify the required counters with
-eor--eventoption to collect and report the required counters.The timechart run to list the supported counter categories is given here:
Figure 1. --list Command OutputThe timechart run to collect the profile samples and write into a file is given here:Figure 2. Timechart Run
The run will collect the power and frequency counters on all the devices on
which these counters are supported and writes them in the output file specified with
the -o option. Before the profiling begins, the given application
will be launched and the data will be collected till the application terminates.
Examples
Windows
C:\> AMDuProfCLI.exe timechart --event power --interval 100 --duration 10
C:\> AMDuProfCLI.exe timechart --event frequency -o C:\Temp\Poweroutput --interval 500 -- duration 10
C:\> AMDuProfCLI.exe timechart --event core=0-3,frequency -o C:\Temp\Poweroutput
--interval 500 --duration 10 --format txt
C:\> AMDuProfCLI timechart --event socket,temperature --interval 500 <command to execute workload>
Linux
$ ./AMDuProfCLI timechart --event power --interval 100 --duration 10
$ ./AMDuProfCLI timechart --event frequency -o /tmp/PowerOutput --interval 500 --duration 10
$ ./AMDuProfCLI timechart --event core=0-3,frequency -o /tmp/PowerOutput --interval 500 --duration 10 --format txt