Lines Matching refs:pMethods
1343 void printExclusiveProfile(MethodEntry** pMethods, int32_t numMethods, uint64_t sumThreadTime) { in printExclusiveProfile() argument
1361 qsort(pMethods, numMethods, sizeof(MethodEntry*), compareElapsedInclusive); in printExclusiveProfile()
1363 for (int32_t ii = 0; ii < numMethods; ++ii) pMethods[ii]->index = ii; in printExclusiveProfile()
1366 qsort(pMethods, numMethods, sizeof(MethodEntry*), compareElapsedExclusive); in printExclusiveProfile()
1383 MethodEntry* method = pMethods[ii]; in printExclusiveProfile()
1485 void printInclusiveProfile(MethodEntry** pMethods, int32_t numMethods, uint64_t sumThreadTime) { in printInclusiveProfile() argument
1501 qsort(pMethods, numMethods, sizeof(MethodEntry*), compareElapsedInclusive); in printInclusiveProfile()
1516 MethodEntry* method = pMethods[ii]; in printInclusiveProfile()
1567 void createClassList(TraceData* traceData, MethodEntry** pMethods, int32_t numMethods) { in createClassList() argument
1571 qsort(pMethods, numMethods, sizeof(MethodEntry*), compareClassNames); in createClassList()
1578 if (pMethods[ii]->methodName == nullptr) { in createClassList()
1581 if (strcmp(pMethods[ii]->className, currentClassName) != 0) { in createClassList()
1584 firstClassName = pMethods[ii]->className; in createClassList()
1587 currentClassName = pMethods[ii]->className; in createClassList()
1605 if (pMethods[ii]->methodName == nullptr) { in createClassList()
1608 if (strcmp(pMethods[ii]->className, currentClassName) != 0) { in createClassList()
1610 (++pClass)->className = currentClassName = pMethods[ii]->className; in createClassList()
1622 if (pMethods[ii]->methodName == nullptr) { in createClassList()
1625 if (strcmp(pMethods[ii]->className, currentClassName) != 0) { in createClassList()
1626 currentClassName = pMethods[ii]->className; in createClassList()
1635 pClass->methods[nextMethod++] = pMethods[ii]; in createClassList()
1818 void createUniqueMethodList(TraceData* traceData, MethodEntry** pMethods, int32_t numMethods) { in createUniqueMethodList() argument
1822 qsort(pMethods, numMethods, sizeof(MethodEntry*), compareMethodNames); in createUniqueMethodList()
1828 if (pMethods[ii]->methodName == nullptr) continue; in createUniqueMethodList()
1829 if (strcmp(pMethods[ii]->methodName, currentMethodName) != 0) { in createUniqueMethodList()
1831 currentMethodName = pMethods[ii]->methodName; in createUniqueMethodList()
1845 if (pMethods[ii]->methodName == nullptr) continue; in createUniqueMethodList()
1846 if (currentMethodName == nullptr) currentMethodName = pMethods[ii]->methodName; in createUniqueMethodList()
1847 if (strcmp(pMethods[ii]->methodName, currentMethodName) != 0) { in createUniqueMethodList()
1848 currentMethodName = pMethods[ii]->methodName; in createUniqueMethodList()
1862 if (pMethods[ii]->methodName == nullptr) continue; in createUniqueMethodList()
1863 if (strcmp(pMethods[ii]->methodName, currentMethodName) != 0) { in createUniqueMethodList()
1864 currentMethodName = pMethods[ii]->methodName; in createUniqueMethodList()
1873 pUnique->methods[nextMethod++] = pMethods[ii]; in createUniqueMethodList()
2213 MethodEntry** pMethods = new MethodEntry*[dataKeys->numMethods]; in parseMethodEntries() local
2216 pMethods[ii] = entry; in parseMethodEntries()
2219 return pMethods; in parseMethodEntries()
2225 void profileTrace(TraceData* traceData, MethodEntry** pMethods, int32_t numMethods, in profileTrace() argument
2233 printExclusiveProfile(pMethods, numMethods, sumThreadTime); in profileTrace()
2234 printInclusiveProfile(pMethods, numMethods, sumThreadTime); in profileTrace()
2236 createClassList(traceData, pMethods, numMethods); in profileTrace()
2239 createUniqueMethodList(traceData, pMethods, numMethods); in profileTrace()