Changeset 14948 in vbox for trunk/src/VBox/Main/solaris
- Timestamp:
- Dec 3, 2008 3:06:30 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 40303
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/solaris/PerformanceSolaris.cpp
r12992 r14948 90 90 int cpus; 91 91 cpu_stat_t cpu_stats; 92 92 93 93 if (mKC == 0) 94 94 return VERR_INTERNAL_ERROR; 95 95 96 96 tmpUser = tmpKernel = tmpIdle = cpus = 0; 97 97 for (ksp = mKC->kc_chain; ksp != NULL; ksp = ksp->ks_next) { … … 106 106 tmpKernel += cpu_stats.cpu_sysinfo.cpu[CPU_KERNEL]; 107 107 tmpIdle += cpu_stats.cpu_sysinfo.cpu[CPU_IDLE]; 108 } 109 } 110 108 } 109 } 110 111 111 if (cpus == 0) 112 112 { … … 165 165 166 166 kstat_named_t *kn; 167 167 168 168 if (mKC == 0 || mSysPages == 0) 169 169 return VERR_INTERNAL_ERROR;
Note:
See TracChangeset
for help on using the changeset viewer.