We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 601b1b8 commit fc26f0dCopy full SHA for fc26f0d
src/TerminalSystemMonitor.jl
@@ -5,6 +5,8 @@ using UnicodePlots
5
import Term # this is required by UnicodePlots.panel
6
using MLDataDevices: MLDataDevices, CUDADevice
7
8
+export monitor # entrypoint from REPL
9
+
10
# These function will be defined in Package extensions
11
function plot_gpu_utilization_rates end
12
function plot_gpu_memory_utilization end
@@ -129,6 +131,10 @@ function plot_cpu_memory_utilization()
129
131
130
132
end
133
134
+function monitor(args...)
135
+ main(args...)
136
+end
137
138
function main(dummyargs...)
139
hidecursor()
140
0 commit comments