diff --git a/CellframeNodeDiagtool/WinDiagnostic.cpp b/CellframeNodeDiagtool/WinDiagnostic.cpp index ac30aeccbf126b700c0bab5cb11364e0e161db2c..f43cbd06576c44511b542dcee285e54539140487 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 cc79a926a3a25883a58693d03096fc7c563eb722..073f38c5ca8c09ef8a13a910ca60cbe19609a221 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);