Skip to content

Commit

Permalink
Update DiagnosticHud.gd
Browse files Browse the repository at this point in the history
  • Loading branch information
lazoulios authored and Scony committed Dec 29, 2024
1 parent e67dad5 commit b7671c1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion source/match/debug/DiagnosticHud.gd
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,11 @@ func _unhandled_input(event):


func _physics_process(_delta):
_fps_label.text = "{0} FPS".format(["%0.1f" % (Performance.get_monitor(Performance.TIME_FPS))])
_fps_label.text = "{0} FPS \n".format(["%0.1f" % (Performance.get_monitor(Performance.TIME_FPS))])
_fps_label.text += str(OS.get_processor_name()) + " \n"
_fps_label.text += str(OS.get_processor_count()) + " Threads Used \n"
var MBs = OS.get_static_memory_usage()/int(1000000)
_fps_label.text += str(MBs) + " MBs of Memory Used \n"
_fps_label.text += str(RenderingServer.get_video_adapter_name()) + " "
_fps_label.text += str(RenderingServer.get_video_adapter_vendor()) + " \n"
_fps_label.text += "Using " + str(OS.get_name()) + " Operating System"

0 comments on commit b7671c1

Please sign in to comment.