add memory usage module with collector, scene, and script
This commit is contained in:
parent
cd6295e26f
commit
4169e0c5b6
4 changed files with 129 additions and 0 deletions
|
|
@ -27,6 +27,10 @@ func _add_modules() -> void:
|
|||
grid.place_module(cpu, 0, 0)
|
||||
_modules.append(cpu)
|
||||
|
||||
var mem := preload("res://panels/memory/memory_module.tscn").instantiate()
|
||||
grid.place_module(mem, 1, 0)
|
||||
_modules.append(mem)
|
||||
|
||||
var timer := Timer.new()
|
||||
timer.timeout.connect(_refresh_modules)
|
||||
timer.autostart = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue