Home
last modified time | relevance | path

Searched refs:allocProf (Results 1 – 8 of 8) sorted by relevance

/dalvik/vm/native/
Ddalvik_system_VMDebug.c72 static void clearAllocProfStateFields(AllocProfState *allocProf, in clearAllocProfStateFields() argument
76 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 …]
/dalvik/vm/alloc/
DHeap.c317 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 …]
DHeapSource.c1446 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 …]
DMarkSweep.c1346 if (gDvm.allocProf.enabled) { in dvmHeapSweepUnmarkedObjects()
1347 gDvm.allocProf.freeCount += *numFreed; in dvmHeapSweepUnmarkedObjects()
1348 gDvm.allocProf.freeSize += *sizeFreed; in dvmHeapSweepUnmarkedObjects()
/dalvik/vm/
DProfile.c591 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()
DThread.h211 AllocProfState allocProf; member
DGlobals.h599 AllocProfState allocProf; member
DDebugger.c483 LOGI("GC lifetime allocation: %d bytes\n", gDvm.allocProf.allocCount); in dvmDbgExit()