Skip to content

Commit

Permalink
update benchmark script
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishaan-Datta committed Sep 1, 2024
1 parent c4f6b62 commit 21d2453
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Experiments/Python POCs/benchmarking.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@
while jetson.ok() and count < args.duration * 60:
cpu_usage = jetson.cpu['total']['system'] + jetson.cpu['total']['user']
memory_usage = (jetson.memory['RAM']['used'] / jetson.memory['RAM']['tot']) * 100
# gpu_usage = jetson.gpu['ga10b']['status']['load']
# gpu_usage = jetson.gpu['305987']['status']['load'] # number or string?
print(jetson.gpu)
cpu_temp = jetson.temperature['CPU']['temp']
print(jetson.cpu)
# cpu_temp = jetson.temperature['CPU']['temp']
gpu_temp = jetson.temperature['GPU']['temp']
gpu_mem = int(str(jetson.memory['RAM']['shared'])[:3])
system_voltage = jetson.power['tot']['volt']
Expand Down

0 comments on commit 21d2453

Please sign in to comment.