Changeset 94088 in vbox for trunk/src/VBox
- Timestamp:
- Mar 4, 2022 2:04:59 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/Performance.cpp
r93115 r94088 130 130 } 131 131 132 AssertReturn(cCpus, VERR_NOT_IMPLEMENTED); 133 *mhz = (ULONG)(u64TotalMHz / cCpus); 134 135 return VINF_SUCCESS; 132 if (cCpus) 133 { 134 *mhz = (ULONG)(u64TotalMHz / cCpus); 135 return VINF_SUCCESS; 136 } 137 138 /* This is always the case on darwin, so don't assert there. */ 139 #ifndef RT_OS_DARWIN 140 AssertFailed(); 141 #endif 142 *mhz = 0; 143 return VERR_NOT_IMPLEMENTED; 136 144 } 137 145
Note:
See TracChangeset
for help on using the changeset viewer.