/vbox/src/VBox/HostDrivers/VBoxNetAdp/solaris/ |
H A D | VBoxNetAdp-solaris.c | 219 static int vboxNetAdpSolarisGetStats(gld_mac_info_t *pMacInfo, struct gld_stats *pStats); 518 static int vboxNetAdpSolarisGetStats(gld_mac_info_t *pMacInfo, struct gld_stats *pStats) argument 528 pStats->glds_speed = 1000000000ULL; /* Bits/sec. */ 529 pStats->glds_media = GLDM_UNKNOWN; /* Media/Connector Type */ 530 pStats->glds_intr = 0; /* Interrupt count */ 531 pStats->glds_norcvbuf = 0; /* Recv. discards */ 532 pStats->glds_errxmt = 0; /* Xmit errors */ 533 pStats->glds_errrcv = 0; /* Recv. errors */ 534 pStats->glds_missed = 0; /* Pkt Drops on Recv. */ 535 pStats [all...] |
/vbox/src/VBox/VMM/VMMAll/ |
H A D | IOMAll.cpp | 247 PIOMIOPORTSTATS pStats = pVCpu->iom.s.CTX_SUFF(pStatsLastRead); local 248 if (!pStats || pStats->Core.Key != Port) 250 pStats = (PIOMIOPORTSTATS)RTAvloIOPortGet(&pVM->iom.s.CTX_SUFF(pTrees)->IOPortStatTree, Port); 251 if (pStats) 252 pVCpu->iom.s.CTX_SUFF(pStatsLastRead) = pStats; 277 STAM_STATS({ if (pStats) STAM_COUNTER_INC(&pStats->InRZToR3); }); 292 STAM_STATS({ if (pStats) STAM_COUNTER_INC(&pStats 412 PIOMIOPORTSTATS pStats = pVCpu->iom.s.CTX_SUFF(pStatsLastRead); local 551 PIOMIOPORTSTATS pStats = pVCpu->iom.s.CTX_SUFF(pStatsLastWrite); local 691 PIOMIOPORTSTATS pStats = pVCpu->iom.s.CTX_SUFF(pStatsLastWrite); local [all...] |
H A D | IOMAllMMIO.cpp | 282 PIOMMMIOSTATS pStats = iomMmioGetStats(pVM, pVCpu, GCPhysFault, pRange); 283 if (!pStats) 289 STAM_PROFILE_START(&pStats->CTX_SUFF_Z(ProfWrite), a); 306 STAM_PROFILE_STOP(&pStats->CTX_SUFF_Z(ProfWrite), a); 307 STAM_COUNTER_INC(&pStats->Accesses); 498 PIOMMMIOSTATS pStats = iomMmioGetStats(pVM, pVCpu, GCPhys, pRange); 499 if (!pStats) 505 STAM_PROFILE_START(&pStats->CTX_SUFF_Z(ProfRead), a); 532 STAM_PROFILE_STOP(&pStats->CTX_SUFF_Z(ProfRead), a); 533 STAM_COUNTER_INC(&pStats 1530 PIOMMMIOSTATS pStats = iomMmioGetStats(pVM, pVCpu, GCPhysFault, pRange); local 1885 PIOMMMIOSTATS pStats = iomMmioGetStats(pVM, pVCpu, GCPhys, pRange); local 2017 PIOMMMIOSTATS pStats = iomMmioGetStats(pVM, pVCpu, GCPhys, pRange); local [all...] |
/vbox/src/VBox/VMM/VMMR3/ |
H A D | EMRaw.cpp | 447 STAM_COUNTER_INC(&pVCpu->em.s.CTX_SUFF(pStats)->StatIoIem); 471 STAM_COUNTER_INC(&pVCpu->em.s.CTX_SUFF(pStats)->StatIn); 478 STAM_COUNTER_INC(&pVCpu->em.s.CTX_SUFF(pStats)->StatOut); 491 STAM_COUNTER_INC(&pVCpu->em.s.CTX_SUFF(pStats)->StatIn); 499 STAM_COUNTER_INC(&pVCpu->em.s.CTX_SUFF(pStats)->StatOut); 736 STAM_COUNTER_INC(&pVCpu->em.s.CTX_SUFF(pStats)->StatSysEnter); 739 STAM_COUNTER_INC(&pVCpu->em.s.CTX_SUFF(pStats)->StatSysExit); 742 STAM_COUNTER_INC(&pVCpu->em.s.CTX_SUFF(pStats)->StatSysCall); 745 STAM_COUNTER_INC(&pVCpu->em.s.CTX_SUFF(pStats)->StatSysRet); 1003 PEMSTATS pStats local [all...] |
H A D | EM.cpp | 208 PEMSTATS pStats; local 209 rc = MMHyperAlloc(pVM, sizeof(*pStats), 0, MM_TAG_EM, (void **)&pStats); 213 pVCpu->em.s.pStatsR3 = pStats; 214 pVCpu->em.s.pStatsR0 = MMHyperR3ToR0(pVM, pStats); 215 pVCpu->em.s.pStatsRC = MMHyperR3ToRC(pVM, pStats); 217 EM_REG_PROFILE(&pStats->StatRZEmulate, "/EM/CPU%d/RZ/Interpret", "Profiling of EMInterpretInstruction."); 218 EM_REG_PROFILE(&pStats->StatR3Emulate, "/EM/CPU%d/R3/Interpret", "Profiling of EMInterpretInstruction."); 220 EM_REG_PROFILE(&pStats->StatRZInterpretSucceeded, "/EM/CPU%d/RZ/Interpret/Success", "The number of times an instruction was successfully interpreted."); 221 EM_REG_PROFILE(&pStats [all...] |
H A D | IOM.cpp | 484 PIOMMMIOSTATS pStats = (PIOMMMIOSTATS)RTAvloGCPhysGet(&pVM->iom.s.pTreesR3->MmioStatTree, GCPhys); local 485 if (pStats) 488 return pStats; 492 int rc = MMHyperAlloc(pVM, sizeof(*pStats), 0, MM_TAG_IOM_STATS, (void **)&pStats); 497 pStats->Core.Key = GCPhys; 498 if (RTAvloGCPhysInsert(&pVM->iom.s.pTreesR3->MmioStatTree, &pStats->Core)) 502 rc = STAMR3RegisterF(pVM, &pStats->Accesses, STAMTYPE_COUNTER, STAMVISIBILITY_USED, STAMUNIT_OCCURENCES, pszDesc, "/IOM/MMIO/%RGp", GCPhys); AssertRC(rc); 503 rc = STAMR3RegisterF(pVM, &pStats->ProfReadR3, STAMTYPE_PROFILE, STAMVISIBILITY_USED, STAMUNIT_TICKS_PER_CALL, pszDesc, "/IOM/MMIO/%RGp/Read-R3", GCPhys); AssertRC(rc); 504 rc = STAMR3RegisterF(pVM, &pStats [all...] |
H A D | PGM.cpp | 1744 PGMSTATS *pStats = pVM->pgm.s.pStatsR3; local 1746 PGM_REG_PROFILE(&pStats->StatAllocLargePage, "/PGM/LargePage/Prof/Alloc", "Time spent by the host OS for large page allocation."); 1747 PGM_REG_PROFILE(&pStats->StatClearLargePage, "/PGM/LargePage/Prof/Clear", "Time spent clearing the newly allocated large pages."); 1748 PGM_REG_COUNTER(&pStats->StatLargePageOverflow, "/PGM/LargePage/Overflow", "The number of times allocating a large page took too long."); 1749 PGM_REG_PROFILE(&pStats->StatR3IsValidLargePage, "/PGM/LargePage/Prof/R3/IsValid", "pgmPhysIsValidLargePage profiling - R3."); 1750 PGM_REG_PROFILE(&pStats->StatRZIsValidLargePage, "/PGM/LargePage/Prof/RZ/IsValid", "pgmPhysIsValidLargePage profiling - RZ."); 1752 PGM_REG_COUNTER(&pStats->StatR3DetectedConflicts, "/PGM/R3/DetectedConflicts", "The number of times PGMR3CheckMappingConflicts() detected a conflict."); 1753 PGM_REG_PROFILE(&pStats->StatR3ResolveConflict, "/PGM/R3/ResolveConflict", "pgmR3SyncPTResolveConflict() profiling (includes the entire relocation)."); 1754 PGM_REG_COUNTER(&pStats->StatR3PhysRead, "/PGM/R3/Phys/Read", "The number of times PGMPhysRead was called."); 1755 PGM_REG_COUNTER_BYTES(&pStats [all...] |
/vbox/src/VBox/HostDrivers/VBoxNetFlt/win/ndis6/ |
H A D | VBoxNetAdp-win.cpp | 397 PNDIS_STATISTICS_INFO pStats = local 403 memset(pStats, 0, cbInfo); 404 pStats->Header.Type = NDIS_OBJECT_TYPE_DEFAULT; 405 pStats->Header.Revision = NDIS_STATISTICS_INFO_REVISION_1; 406 pStats->Header.Size = NDIS_SIZEOF_STATISTICS_INFO_REVISION_1;
|
/vbox/src/VBox/Additions/common/VBoxService/ |
H A D | VBoxServiceVMInfo-win.cpp | 317 PTOKEN_STATISTICS pStats = (PTOKEN_STATISTICS)pvTokenInfo; local 318 AssertPtr(pStats); 319 memcpy(&pProc->luid, &pStats->AuthenticationId, sizeof(LUID));
|
/vbox/src/VBox/VMM/VMMR0/ |
H A D | GVMMR0.cpp | 2339 * @param pStats Where to put the statistics. 2343 GVMMR0DECL(int) GVMMR0QueryStatistics(PGVMMSTATS pStats, PSUPDRVSESSION pSession, PVM pVM) argument 2345 LogFlow(("GVMMR0QueryStatistics: pStats=%p pSession=%p pVM=%p\n", pStats, pSession, pVM)); 2351 AssertPtrReturn(pStats, VERR_INVALID_POINTER); 2352 pStats->cVMs = 0; /* (crash before taking the sem...) */ 2364 pStats->SchedVM = pGVM->gvmm.s.StatsSched; 2369 memset(&pStats->SchedVM, 0, sizeof(pStats->SchedVM)); 2378 pStats 2478 GVMMR0ResetStatistics(PCGVMMSTATS pStats, PSUPDRVSESSION pSession, PVM pVM) argument [all...] |
/vbox/src/VBox/Runtime/common/alloc/ |
H A D | memtracker.cpp | 469 * @param pStats The statistics record. 473 DECLINLINE(void) rtMemTrackerStateRecordAlloc(PRTMEMTRACKERSTATS pStats, size_t cbUser, RTMEMTRACKERMETHOD enmMethod) argument 475 ASMAtomicAddU64(&pStats->cbTotalAllocated, cbUser); 476 ASMAtomicIncU64(&pStats->cTotalAllocatedBlocks); 477 ASMAtomicAddZ(&pStats->cbAllocated, cbUser); 478 ASMAtomicIncZ(&pStats->cAllocatedBlocks); 479 ASMAtomicIncU64(&pStats->acMethodCalls[enmMethod]); 486 * @param pStats The statistics record. 490 DECLINLINE(void) rtMemTrackerStateRecordFree(PRTMEMTRACKERSTATS pStats, size_t cbUser, RTMEMTRACKERMETHOD enmMethod) argument 492 ASMAtomicSubZ(&pStats 739 rtMemTrackerDumpOneStatRecord(PRTMEMTRACKERSTATS pStats, PRTMEMTRACKEROUTPUT pOutput, bool fVerbose) argument [all...] |
/vbox/src/VBox/ValidationKit/utils/network/ |
H A D | NetPerf.cpp | 334 * @param pStats The stats to send. 337 static int netperfSendStats(NETPERFSTATS const *pStats, RTSOCKET hSocket) argument 343 pStats->cTx, 344 pStats->cRx, 345 pStats->cEchos, 346 pStats->cErrors, 347 pStats->cNsElapsed); 376 * @param pStats Where to receive the stats. 379 static int netperfRecvStats(NETPERFSTATS *pStats, RTSOCKET hSocket) argument 421 &pStats 623 netperfTCPThroughputRecv(NETPERFPARAMS const *pParams, NETPERFHDR *pBuf, NETPERFSTATS *pStats) argument 722 netperfPrintLatencyStats(NETPERFSTATS const *pStats, uint32_t cbPacket) argument [all...] |