/vbox/src/VBox/Runtime/r3/posix/ |
H A D | fs2-posix.cpp | 54 * @param pStat The stat structure to use. 58 void rtFsConvertStatToObjInfo(PRTFSOBJINFO pObjInfo, const struct stat *pStat, const char *pszName, unsigned cbName) argument 60 pObjInfo->cbObject = pStat->st_size; 61 pObjInfo->cbAllocated = pStat->st_blocks * DEV_BSIZE; 64 RTTimeSpecAddNano(RTTimeSpecSetSeconds(&pObjInfo->AccessTime, pStat->st_atime), pStat->st_atimensec); 65 RTTimeSpecAddNano(RTTimeSpecSetSeconds(&pObjInfo->ModificationTime, pStat->st_mtime), pStat->st_mtimensec); 66 RTTimeSpecAddNano(RTTimeSpecSetSeconds(&pObjInfo->ChangeTime, pStat->st_ctime), pStat [all...] |
/vbox/src/VBox/VMM/VMMR3/ |
H A D | MMUkHeap.cpp | 67 PMMUKHEAPSTAT pStat = &pHeap->Stat; local 68 STAMR3RegisterU(pUVM, &pStat->cAllocations, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/UkHeap/cAllocations", STAMUNIT_CALLS, "Number or MMR3UkHeapAlloc() calls."); 69 STAMR3RegisterU(pUVM, &pStat->cReallocations, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/UkHeap/cReallocations", STAMUNIT_CALLS, "Number of MMR3UkHeapRealloc() calls."); 70 STAMR3RegisterU(pUVM, &pStat->cFrees, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/UkHeap/cFrees", STAMUNIT_CALLS, "Number of MMR3UkHeapFree() calls."); 71 STAMR3RegisterU(pUVM, &pStat->cFailures, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/UkHeap/cFailures", STAMUNIT_COUNT, "Number of failures."); 72 STAMR3RegisterU(pUVM, &pStat->cbCurAllocated, sizeof(pStat->cbCurAllocated) == sizeof(uint32_t) ? STAMTYPE_U32 : STAMTYPE_U64, 74 STAMR3RegisterU(pUVM, &pStat->cbAllocated, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/UkHeap/cbAllocated", STAMUNIT_BYTES, "Total number of bytes allocated."); 75 STAMR3RegisterU(pUVM, &pStat->cbFreed, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/UkHeap/cbFreed", STAMUNIT_BYTES, "Total number of bytes freed."); 261 PMMUKHEAPSTAT pStat local 403 PMMUKHEAPSTAT pStat = (PMMUKHEAPSTAT)RTAvlULGet(&pHeap->pStatTree, (AVLULKEY)enmTag); local [all...] |
H A D | MMHeap.cpp | 66 PMMHEAPSTAT pStat = &pHeap->Stat; local 67 STAMR3RegisterU(pUVM, &pStat->cAllocations, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/R3Heap/cAllocations", STAMUNIT_CALLS, "Number or MMR3HeapAlloc() calls."); 68 STAMR3RegisterU(pUVM, &pStat->cReallocations, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/R3Heap/cReallocations", STAMUNIT_CALLS, "Number of MMR3HeapRealloc() calls."); 69 STAMR3RegisterU(pUVM, &pStat->cFrees, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/R3Heap/cFrees", STAMUNIT_CALLS, "Number of MMR3HeapFree() calls."); 70 STAMR3RegisterU(pUVM, &pStat->cFailures, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/R3Heap/cFailures", STAMUNIT_COUNT, "Number of failures."); 71 STAMR3RegisterU(pUVM, &pStat->cbCurAllocated, sizeof(pStat->cbCurAllocated) == sizeof(uint32_t) ? STAMTYPE_U32 : STAMTYPE_U64, 73 STAMR3RegisterU(pUVM, &pStat->cbAllocated, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/R3Heap/cbAllocated", STAMUNIT_BYTES, "Total number of bytes allocated."); 74 STAMR3RegisterU(pUVM, &pStat->cbFreed, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/R3Heap/cbFreed", STAMUNIT_BYTES, "Total number of bytes freed."); 312 PMMHEAPSTAT pStat local [all...] |
/vbox/src/VBox/Runtime/r3/solaris/ |
H A D | mp-solaris.cpp | 76 kstat_named_t *pStat = (kstat_named_t *)kstat_data_lookup(g_papCpuInfo[idCpu], (char *)"core_id"); local 77 Assert(pStat->data_type == KSTAT_DATA_LONG); 78 Assert(pStat->value.l >= 0); 80 return (uint64_t)pStat->value.l; 233 kstat_named_t *pStat = (kstat_named_t *)kstat_data_lookup(g_papCpuInfo[idCpu], (char*)pszStatName); 234 if (pStat) 236 Assert(pStat->data_type == KSTAT_DATA_UINT64 || pStat->data_type == KSTAT_DATA_LONG); 237 switch (pStat->data_type) 239 case KSTAT_DATA_UINT64: u64 = pStat 436 kstat_named_t *pStat = (kstat_named_t *)kstat_data_lookup(g_papCpuInfo[idCpu], (char *)"state"); local [all...] |
/vbox/src/VBox/VMM/VMMAll/ |
H A D | MMAllHyper.cpp | 142 static void mmR3HyperStatRegisterOne(PVM pVM, PMMHYPERSTAT pStat); 257 PMMHYPERSTAT pStat = mmHyperStat(pHeap, enmTag); local 258 if (!pStat) 277 pStat->cbAllocated += (uint32_t)cbChunk; 278 pStat->cbCurAllocated += (uint32_t)cbChunk; 279 if (pStat->cbCurAllocated > pStat->cbMaxAllocated) 280 pStat->cbMaxAllocated = pStat->cbCurAllocated; 281 pStat 685 PMMHYPERSTAT pStat = (PMMHYPERSTAT)((uintptr_t)pPrev + pPrev->offStat); local 727 PMMHYPERSTAT pStat = (PMMHYPERSTAT)RTAvloGCPhysGet(&pHeap->HyperHeapStatTree, enmTag); local 758 mmR3HyperStatRegisterOne(PVM pVM, PMMHYPERSTAT pStat) argument 818 PMMHYPERSTAT pStat = (PMMHYPERSTAT)((uintptr_t)pChunk + pChunk->offStat); local 1126 PMMHYPERSTAT pStat = (PMMHYPERSTAT)((uintptr_t)pCur + pCur->core.offStat); local [all...] |
H A D | IOMAllMMIO.cpp | 1623 PSTAMPROFILE pStat = NULL; local 1624 rc = iomInterpretMOVS(pVM, !!(uErrorCode & X86_TRAP_PF_RW), pCtxCore, GCPhysFault, pDis, pRange, &pStat); 1625 STAM_PROFILE_ADV_STOP_EX(&pVM->iom.s.StatRZInstMovs, pStat, c);
|
/vbox/src/VBox/ImageMounter/VBoxFUSE/ |
H A D | VBoxFUSE.cpp | 319 static void vboxfuseNodeFillStat(PVBOXFUSENODE pNode, struct stat *pStat) argument 321 pStat->st_dev = 0; /* ignored */ 322 pStat->st_ino = pNode->Ino; /* maybe ignored */ 323 pStat->st_mode = pNode->fMode; 324 pStat->st_nlink = pNode->cLinks; 325 pStat->st_uid = pNode->Uid; 326 pStat->st_gid = pNode->Gid; 327 pStat->st_rdev = 0; 329 pStat->st_atime = 0; 330 // pStat 857 vboxfuseOp_getattr(const char *pszPath, struct stat *pStat) argument [all...] |
/vbox/src/VBox/VMM/include/ |
H A D | MMInternal.h | 103 PMMHEAPSTAT pStat; member in struct:MMHEAPHDR
|
/vbox/src/recompiler/ |
H A D | VBoxRecompiler.c | 4369 STAMPROFILEADV *pStat; local 4373 pStat = &gStatExecuteSingleInstr; 4376 pStat = &gStatCompilationQEmu; 4379 pStat = &gStatRunCodeQEmu; 4382 pStat = &gStatTotalTimeQEmu; 4385 pStat = &gStatTimers; 4388 pStat= &gStatTBLookup; 4391 pStat= &gStatIRQ; 4394 pStat = &gStatRawCheck; 4401 STAM_PROFILE_ADV_START(pStat, 4407 STAMPROFILEADV *pStat; local [all...] |