xavier power test

When I run my code, I want to test the power of xavier, can you tell me how can i
get the power (watts)

Hi,

You can use tegrastats for this, the tool is documented at:

[url]https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/AppendixTegraStats.html#wwpID0E0SB0HA[/url]

There is a current and average power consumption in milliwats. As the webpage indicates when using Xavier if you get:

RAM 1903/15692MB (lfb 3251x4MB) CPU [1%@1190,1%@1190,2%@1190,0%@1190,0%@1190,0%@1190,0%@1190,0%@1190] EMC_FREQ 0% GR3D_FREQ 0% AO@32.5C GPU@32C Tboard@32C Tdiode@34.75C AUX@31.5C CPU@33.5C thermal@32.9C PMIC@100C GPU 0/0 CPU 216/216 SOC 864/864 CV 0/0 VDDRQ 144/144 SYS5V 1889/1889

GPU 0/0 CPU 216/216 SOC 864/864 CV 0/0 VDDRQ 144/144 SYS5V 1889/1889 → indicates power consumption per VDD_name in milliwatts

Even though it is for TX1/TX2, you can refer to below doc for how to get the power value of each rail besides Carlos001’s comment.

[url]https://developer.nvidia.com/embedded/dlc/jetson-tx1-tx2-voltage-current-config[/url]