Skip to content

Commit

Permalink
last clean change before exper
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishaan-Datta committed Sep 1, 2024
1 parent 2dff8ae commit 38cb339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Experiments/Python POCs/benchmarking.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
# Write header
writer.writeheader()
# Start loop
os.system("clear") # start ros2 launch
os.system("clear")
while jetson.ok() and count < args.duration * 60:
cpu_usage = 100 - jetson.cpu['total']['idle']
cpu_usage = jetson.cpu['total']['user']
memory_usage = (jetson.memory['RAM']['used'] / jetson.memory['RAM']['tot']) * 100
gpu_usage = jetson.gpu['gpu']['status']['load']
cpu_temp = jetson.temperature['cpu']['temp']
Expand Down

0 comments on commit 38cb339

Please sign in to comment.