Added string_util to common, small changes in loader.cpp
This commit is contained in:
parent
4ed24a0619
commit
5472fd4d9b
14 changed files with 93 additions and 87 deletions
|
@ -190,7 +190,7 @@ std::string MemUsage()
|
|||
if (NULL == hProcess) return "MemUsage Error";
|
||||
|
||||
if (GetProcessMemoryInfo(hProcess, &pmc, sizeof(pmc)))
|
||||
Ret = StringFromFormat("%s K", ThousandSeparate(pmc.WorkingSetSize / 1024, 7).c_str());
|
||||
Ret = Common::StringFromFormat("%s K", Common::ThousandSeparate(pmc.WorkingSetSize / 1024, 7).c_str());
|
||||
|
||||
CloseHandle(hProcess);
|
||||
return Ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue