From acd1fb9e3e0f4596ed794aec6552df01c66f1bef Mon Sep 17 00:00:00 2001 From: James L Date: Wed, 11 Jan 2023 12:11:57 +0000 Subject: [PATCH] System page: various minor UI tweaks (#4985) * System page: various minor UI tweaks * Be consistent with capitalisation * Change detection start epoch to running/idle * Remove detection start column entirely --- web/src/routes/System.jsx | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/web/src/routes/System.jsx b/web/src/routes/System.jsx index 4f3d45366..5abc5144c 100644 --- a/web/src/routes/System.jsx +++ b/web/src/routes/System.jsx @@ -142,15 +142,15 @@ export default function System() { P-ID - Detection Start Inference Speed + CPU % {detectors[detector]['pid']} - {detectors[detector]['detection_start']} - {detectors[detector]['inference_speed']} + {detectors[detector]['inference_speed']} ms + {cpu_usages[detectors[detector]['pid']]?.['cpu'] || '- '}% @@ -185,7 +185,7 @@ export default function System() { - + @@ -220,20 +220,27 @@ export default function System() { - - + + - + + + + + + + + - + - - - - - - -
Gpu %GPU % Memory %
Process P-IDfpsCpu %FPSCPU % Memory %
ffmpeg{cameras[camera]['ffmpeg_pid'] || '- '}{cameras[camera]['camera_fps'] || '- '}{cpu_usages[cameras[camera]['ffmpeg_pid']]?.['cpu'] || '- '}%{cpu_usages[cameras[camera]['ffmpeg_pid']]?.['mem'] || '- '}%
Capture {cameras[camera]['capture_pid'] || '- '} {cameras[camera]['process_fps'] || '- '} {cpu_usages[cameras[camera]['capture_pid']]?.['cpu'] || '- '}% {cpu_usages[cameras[camera]['capture_pid']]?.['mem'] || '- '}%
Detect {cameras[camera]['pid'] || '- '} @@ -242,13 +249,6 @@ export default function System() { {cpu_usages[cameras[camera]['pid']]?.['cpu'] || '- '}% {cpu_usages[cameras[camera]['pid']]?.['mem'] || '- '}%
ffmpeg{cameras[camera]['ffmpeg_pid'] || '- '}{cameras[camera]['camera_fps'] || '- '}{cpu_usages[cameras[camera]['ffmpeg_pid']]?.['cpu'] || '- '}%{cpu_usages[cameras[camera]['ffmpeg_pid']]?.['mem'] || '- '}%