Changeset 46493 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Jun 11, 2013 1:34:40 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 86340
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/stam.h
r44528 r46493 1201 1201 PFNSTAMR3CALLBACKRESET pfnReset, PFNSTAMR3CALLBACKPRINT pfnPrint, 1202 1202 const char *pszDesc, const char *pszName, va_list args); 1203 VMMR3DECL(int) STAMR3DeregisterU(PUVM pUVM, void *pvSample); 1204 VMMR3DECL(int) STAMR3Deregister(PVM pVM, void *pvSample); 1205 1206 /** @def STAM_REL_DEREG 1207 * Deregisters a statistics sample if statistics are enabled. 1208 * 1209 * @param pVM VM Handle. 1210 * @param pvSample Pointer to the sample. 1211 */ 1212 #define STAM_REL_DEREG(pVM, pvSample) \ 1213 STAM_REL_STATS({ int rcStam = STAMR3Deregister(pVM, pvSample); AssertRC(rcStam); }) 1214 /** @def STAM_DEREG 1215 * Deregisters a statistics sample if statistics are enabled. 1216 * 1217 * @param pVM VM Handle. 1218 * @param pvSample Pointer to the sample. 1219 */ 1220 #define STAM_DEREG(pVM, pvSample) \ 1221 STAM_STATS({ STAM_REL_DEREG(pVM, pvSample); }) 1203 VMMR3DECL(int) STAMR3Deregister(PUVM pUVM, const char *pszPat); 1204 VMMR3DECL(int) STAMR3DeregisterF(PUVM pUVM, const char *pszPatFmt, ...); 1205 VMMR3DECL(int) STAMR3DeregisterV(PUVM pUVM, const char *pszPatFmt, va_list va); 1206 VMMR3DECL(int) STAMR3DeregisterByAddr(PUVM pUVM, void *pvSample); 1222 1207 1223 1208 VMMR3DECL(int) STAMR3Reset(PUVM pUVM, const char *pszPat);
Note:
See TracChangeset
for help on using the changeset viewer.