Changeset 43831 in vbox for trunk/src/VBox/Main/src-server/linux
- Timestamp:
- Nov 7, 2012 1:11:51 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/linux/PerformanceLinux.cpp
r43715 r43831 55 55 virtual int getRawHostDiskLoad(const char *name, uint64_t *disk_ms, uint64_t *total_ms); 56 56 virtual int getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total); 57 58 virtual int getDiskListByFs(const char *name, DiskList& list); 57 59 private: 58 60 virtual int _getRawHostCpuLoad(); … … 394 396 } 395 397 396 int getDiskListByFs(const char *pszPath, DiskList& listDisks)398 int CollectorLinux::getDiskListByFs(const char *pszPath, DiskList& listDisks) 397 399 { 398 400 FILE *mtab = setmntent("/etc/mtab", "r");
Note:
See TracChangeset
for help on using the changeset viewer.