Searched refs:allocProf (Results 1 – 8 of 8) sorted by relevance
72 static void clearAllocProfStateFields(AllocProfState *allocProf, in clearAllocProfStateFields() argument76 allocProf->allocCount = 0; in clearAllocProfStateFields()79 allocProf->allocSize = 0; in clearAllocProfStateFields()82 allocProf->freeCount = 0; in clearAllocProfStateFields()85 allocProf->freeSize = 0; in clearAllocProfStateFields()88 allocProf->gcCount = 0; in clearAllocProfStateFields()92 allocProf->externalAllocCount = 0; in clearAllocProfStateFields()95 allocProf->externalAllocSize = 0; in clearAllocProfStateFields()98 allocProf->externalFreeCount = 0; in clearAllocProfStateFields()101 allocProf->externalFreeSize = 0; in clearAllocProfStateFields()[all …]
317 if (gDvm.allocProf.enabled) { in gcForMalloc()319 gDvm.allocProf.gcCount++; in gcForMalloc()321 self->allocProf.gcCount++; in gcForMalloc()602 if (gDvm.allocProf.enabled) { in dvmMalloc()604 gDvm.allocProf.allocCount++; in dvmMalloc()605 gDvm.allocProf.allocSize += size; in dvmMalloc()607 self->allocProf.allocCount++; in dvmMalloc()608 self->allocProf.allocSize += size; in dvmMalloc()618 if (gDvm.allocProf.enabled) { in dvmMalloc()620 gDvm.allocProf.failedAllocCount++; in dvmMalloc()[all …]
1446 if (gDvm.allocProf.enabled) { in externalAlloc()1448 gDvm.allocProf.externalAllocCount++; in externalAlloc()1449 gDvm.allocProf.externalAllocSize += n; in externalAlloc()1451 self->allocProf.externalAllocCount++; in externalAlloc()1452 self->allocProf.externalAllocSize += n; in externalAlloc()1474 if (gDvm.allocProf.enabled) { in gcForExternalAlloc()1476 gDvm.allocProf.gcCount++; in gcForExternalAlloc()1478 self->allocProf.gcCount++; in gcForExternalAlloc()1555 if (gDvm.allocProf.enabled) { in dvmTrackExternalAllocation()1557 gDvm.allocProf.failedExternalAllocCount++; in dvmTrackExternalAllocation()[all …]
1346 if (gDvm.allocProf.enabled) { in dvmHeapSweepUnmarkedObjects()1347 gDvm.allocProf.freeCount += *numFreed; in dvmHeapSweepUnmarkedObjects()1348 gDvm.allocProf.freeSize += *sizeFreed; in dvmHeapSweepUnmarkedObjects()
591 gDvm.allocProf.allocCount); in dvmMethodTraceStop()593 gDvm.allocProf.allocSize); in dvmMethodTraceStop()595 gDvm.allocProf.gcCount); in dvmMethodTraceStop()837 gDvm.allocProf.enabled = true; in dvmStartAllocCounting()845 gDvm.allocProf.enabled = false; in dvmStopAllocCounting()
211 AllocProfState allocProf; member
599 AllocProfState allocProf; member
483 LOGI("GC lifetime allocation: %d bytes\n", gDvm.allocProf.allocCount); in dvmDbgExit()