From cfec047b31500619a00216f0486e807725ba8929 Mon Sep 17 00:00:00 2001 From: "denis.sumin" <denis.smolov@demlabs.net> Date: Fri, 14 Mar 2025 16:30:25 +0700 Subject: [PATCH] ... --- CellframeNodeDiagtool/WinDiagnostic.cpp | 2 +- CellframeNodeDiagtool/WinDiagnostic.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CellframeNodeDiagtool/WinDiagnostic.cpp b/CellframeNodeDiagtool/WinDiagnostic.cpp index ac30aec..f43cbd0 100644 --- a/CellframeNodeDiagtool/WinDiagnostic.cpp +++ b/CellframeNodeDiagtool/WinDiagnostic.cpp @@ -103,7 +103,7 @@ void WinDiagnostic::refresh_win_snapshot() } } -QJsonObject WinDiagnostic::get_process_info(int totalRam) +QJsonObject WinDiagnostic::get_process_info(long proc_id, int totalRam) { refresh_win_snapshot(); diff --git a/CellframeNodeDiagtool/WinDiagnostic.h b/CellframeNodeDiagtool/WinDiagnostic.h index cc79a92..073f38c 100644 --- a/CellframeNodeDiagtool/WinDiagnostic.h +++ b/CellframeNodeDiagtool/WinDiagnostic.h @@ -14,8 +14,8 @@ public: explicit WinDiagnostic(AbstractDiagnostic* parent = nullptr); private: - QJsonObject get_sys_info(); - QJsonObject get_process_info(int totalRam); + QJsonObject get_sys_info() override; + QJsonObject get_process_info(long pid, int totalRam) override; long get_memory_size(HANDLE hProc); ULONGLONG ft2ull(FILETIME &ft); -- GitLab