*** empty log message ***

svn path=/trunk/boinc/; revision=4652
This commit is contained in:
David Anderson 2004-11-25 07:24:35 +00:00
parent 1ec6fdd236
commit d75f601efe
1 changed files with 2 additions and 6 deletions

View File

@ -626,8 +626,7 @@ static int mem_usage(unsigned long& vm_kb, unsigned long& rs_kb) {
OSVERSIONINFO osvi;
osvi.dwOSVersionInfoSize = sizeof(osvi);
GetVersionEx( &osvi );
if (osvi.dwPlatformId == VER_PLATFORM_WIN32_NT)
{
if (osvi.dwPlatformId == VER_PLATFORM_WIN32_NT) {
SIZE_T lpMinimumWorkingSetSize;
SIZE_T lpMaximumWorkingSetSize;
@ -640,12 +639,9 @@ static int mem_usage(unsigned long& vm_kb, unsigned long& rs_kb) {
// return value is in bytes, we need to return kb
vm_kb = lpMinimumWorkingSetSize / 1024;
rs_kb = lpMaximumWorkingSetSize / 1024;
}
else
{
} else {
return ERR_NOT_IMPLEMENTED;
}
return 0;
#else