Fix the statistics
This commit is contained in:
Родитель
427c1964a6
Коммит
80c2e756f4
|
@ -425,6 +425,11 @@ namespace hpc
|
|||
"Fix a deadlock caused by the input string stream reading",
|
||||
}
|
||||
},
|
||||
{ "1.6.14.0",
|
||||
{
|
||||
"Give the statistics an initial value to avoid overflow in scheduler database",
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
return versionHistory;
|
||||
|
|
|
@ -10,9 +10,9 @@ namespace hpc
|
|||
{
|
||||
struct ProcessStatistics
|
||||
{
|
||||
uint64_t UserTimeMs;
|
||||
uint64_t KernelTimeMs;
|
||||
uint64_t WorkingSetKb;
|
||||
uint64_t UserTimeMs = 0;
|
||||
uint64_t KernelTimeMs = 0;
|
||||
uint64_t WorkingSetKb = 0;
|
||||
std::vector<int> ProcessIds;
|
||||
|
||||
int GetProcessCount() const { return this->ProcessIds.size(); }
|
||||
|
|
Загрузка…
Ссылка в новой задаче