Searched refs:allocProf (Results 1 – 8 of 8) sorted by relevance
106 static void clearAllocProfStateFields(AllocProfState *allocProf, in clearAllocProfStateFields() argument110 allocProf->allocCount = 0; in clearAllocProfStateFields()113 allocProf->allocSize = 0; in clearAllocProfStateFields()116 allocProf->freeCount = 0; in clearAllocProfStateFields()119 allocProf->freeSize = 0; in clearAllocProfStateFields()122 allocProf->gcCount = 0; in clearAllocProfStateFields()125 allocProf->classInitCount = 0; in clearAllocProfStateFields()128 allocProf->classInitTime = 0; in clearAllocProfStateFields()146 clearAllocProfStateFields(&gDvm.allocProf, KIND_ALL_COUNTS); in Dalvik_dalvik_system_VMDebug_startAllocCounting()147 clearAllocProfStateFields(&dvmThreadSelf()->allocProf, KIND_ALL_COUNTS); in Dalvik_dalvik_system_VMDebug_startAllocCounting()[all …]
168 if (gDvm.allocProf.enabled) { in gcForMalloc()170 gDvm.allocProf.gcCount++; in gcForMalloc()172 self->allocProf.gcCount++; in gcForMalloc()350 if (gDvm.allocProf.enabled) { in dvmMalloc()352 gDvm.allocProf.allocCount++; in dvmMalloc()353 gDvm.allocProf.allocSize += size; in dvmMalloc()355 self->allocProf.allocCount++; in dvmMalloc()356 self->allocProf.allocSize += size; in dvmMalloc()363 if (gDvm.allocProf.enabled) { in dvmMalloc()365 gDvm.allocProf.failedAllocCount++; in dvmMalloc()[all …]
940 if (gDvm.allocProf.enabled) { in dvmHeapSweepUnmarkedObjects()941 gDvm.allocProf.freeCount += ctx.numObjects; in dvmHeapSweepUnmarkedObjects()942 gDvm.allocProf.freeSize += ctx.numBytes; in dvmHeapSweepUnmarkedObjects()
680 gDvm.allocProf.allocCount); in dvmMethodTraceStop()682 gDvm.allocProf.allocSize); in dvmMethodTraceStop()684 gDvm.allocProf.gcCount); in dvmMethodTraceStop()998 gDvm.allocProf.enabled = true; in dvmStartAllocCounting()1006 gDvm.allocProf.enabled = false; in dvmStopAllocCounting()
291 AllocProfState allocProf; member
680 AllocProfState allocProf; member
492 ALOGI("GC lifetime allocation: %d bytes", gDvm.allocProf.allocCount); in dvmDbgExit()
4403 if (gDvm.allocProf.enabled) { in dvmInitClass()4504 if (gDvm.allocProf.enabled && startWhen != 0) { in dvmInitClass()4506 gDvm.allocProf.classInitTime += initDuration; in dvmInitClass()4507 self->allocProf.classInitTime += initDuration; in dvmInitClass()4508 gDvm.allocProf.classInitCount++; in dvmInitClass()4509 self->allocProf.classInitCount++; in dvmInitClass()