- Timestamp:
- Jun 30, 2011 3:14:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/linux/PerformanceLinux.cpp
r33992 r37713 7 7 8 8 /* 9 * Copyright (C) 2008 Oracle Corporation9 * Copyright (C) 2008-2011 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 75 75 VMProcessStats vmStats; 76 76 int rc = getRawProcessStats(*it, &vmStats.cpuUser, &vmStats.cpuKernel, &vmStats.pagesUsed); 77 if (RT_FAILURE(rc)) 78 return rc; 79 mProcessStats[*it] = vmStats; 77 /* On failure, do NOT stop. Just skip the entry. Having the stats for 78 * one (probably broken) process frozen/zero is a minor issue compared 79 * to not updating many process stats and the host cpu stats. */ 80 if (RT_SUCCESS(rc)) 81 mProcessStats[*it] = vmStats; 80 82 } 81 83 if (hints.isHostCpuLoadCollected() || mProcessStats.size())
Note:
See TracChangeset
for help on using the changeset viewer.