Lines Matching refs:ii
1444 int ii; in sortTimedMethodList() local
1457 for (ii = 0, pTimed = list; pTimed; pTimed = pTimed->next, ++ii) in sortTimedMethodList()
1458 memcpy(&sorted[ii], pTimed, sizeof(TimedMethod)); in sortTimedMethodList()
1462 for (ii = 0; ii < num_entries - 1; ++ii) in sortTimedMethodList()
1463 sorted[ii].next = &sorted[ii + 1]; in sortTimedMethodList()
1556 int ii; in countRecursiveEntries() local
1559 for (ii = 0; ii < top; ++ii) { in countRecursiveEntries()
1560 if (pStack->calls[ii].method == method) in countRecursiveEntries()
1567 int ii; in stackDump() local
1569 for (ii = 0; ii < top; ++ii) { in stackDump()
1570 MethodEntry *method = pStack->calls[ii].method; in stackDump()
1571 uint64_t entryTime = pStack->calls[ii].entryTime; in stackDump()
1573 fprintf(stderr, " %2d: %8llu %s.%s %s\n", ii, entryTime, in stackDump()
1576 fprintf(stderr, " %2d: %8llu %s\n", ii, entryTime, method->className); in stackDump()
1608 int ii; in printExclusiveProfile() local
1632 for (ii = 0; ii < numMethods; ++ii) in printExclusiveProfile()
1633 pMethods[ii]->index = ii; in printExclusiveProfile()
1653 for (ii = 0; ii < numMethods; ++ii) { in printExclusiveProfile()
1656 method = pMethods[ii]; in printExclusiveProfile()
1769 int ii; in printInclusiveProfile() local
1798 for (ii = 0; ii < numMethods; ++ii) { in printInclusiveProfile()
1805 method = pMethods[ii]; in printInclusiveProfile()
1832 sprintf(buf, "[%d]", ii); in printInclusiveProfile()
1865 int ii, jj; in printThreadProfile() local
1894 for (ii = 0; ii < numFilters; ++ii) { in printThreadProfile()
1895 printf(" %s %%", filters[ii]->filterName); in printThreadProfile()
1900 for (ii = 0; ii < numThreads; ++ii) { in printThreadProfile()
1905 thread = pThreads[ii]; in printThreadProfile()
1931 for (ii = 0; ii < numFilters; ++ii) { in printThreadProfile()
1934 for (jj = 0; jj < filters[ii]->numKeys; jj++) in printThreadProfile()
1935 if (filters[ii]->filterKeys[jj].flags == 1) in printThreadProfile()
1942 printf("Filter: %s\n", filters[ii]->filterName); in printThreadProfile()
1944 filters[ii]->times.totalWaitTime, in printThreadProfile()
1945 100.0 * filters[ii]->times.totalWaitTime / sum); in printThreadProfile()
1947 if (filters[ii]->times.totalWaitTime > 0) { in printThreadProfile()
1964 filters[ii]->times.threadWaitTimes[thread.threadId], in printThreadProfile()
1965 … 100.0 * filters[ii]->times.threadWaitTimes[thread.threadId] / filters[ii]->times.totalWaitTime, in printThreadProfile()
1966 …100.0 * filters[ii]->times.threadExecutionTimesWhileWaiting[thread.threadId] / filters[ii]->times.… in printThreadProfile()
1981 int ii; in createClassList() local
1992 for (ii = 0; ii < numMethods; ++ii) { in createClassList()
1993 if (pMethods[ii]->methodName == NULL) { in createClassList()
1996 if (strcmp(pMethods[ii]->className, currentClassName) != 0) { in createClassList()
1999 firstClassName = pMethods[ii]->className; in createClassList()
2002 currentClassName = pMethods[ii]->className; in createClassList()
2019 for (ii = 0; ii < numMethods; ++ii) { in createClassList()
2020 if (pMethods[ii]->methodName == NULL) { in createClassList()
2023 if (strcmp(pMethods[ii]->className, currentClassName) != 0) { in createClassList()
2025 (++pClass)->className = currentClassName = pMethods[ii]->className; in createClassList()
2036 for (ii = 0; ii < numMethods; ++ii) { in createClassList()
2037 if (pMethods[ii]->methodName == NULL) { in createClassList()
2040 if (strcmp(pMethods[ii]->className, currentClassName) != 0) { in createClassList()
2041 currentClassName = pMethods[ii]->className; in createClassList()
2051 pClass->methods[nextMethod++] = pMethods[ii]; in createClassList()
2061 int ii; in printHtmlField() local
2076 for (ii = 0; ii < numSpaces; ++ii) in printHtmlField()
2084 int ii, jj; in printClassProfiles() local
2118 for (ii = 0; ii < traceData->numClasses; ++ii, ++pClass) { in printClassProfiles()
2138 for (ii = 0; ii < traceData->numClasses; ++ii) in printClassProfiles()
2139 pClasses[ii] = &traceData->classes[ii]; in printClassProfiles()
2152 for (ii = 0; ii < traceData->numClasses; ++ii) { in printClassProfiles()
2156 pClass = pClasses[ii]; in printClassProfiles()
2168 …" onMouseOut=\"javascript:onMouseOut(this)\"><span class=\"parent\" id=\"xd%d\">+</span>", ii, ii); in printClassProfiles()
2186 printf("<div class=\"parent\" id=\"d%d\">\n", ii); in printClassProfiles()
2249 int ii; in createUniqueMethodList() local
2261 for (ii = 0; ii < numMethods; ++ii) { in createUniqueMethodList()
2262 if (pMethods[ii]->methodName == NULL) in createUniqueMethodList()
2264 if (strcmp(pMethods[ii]->methodName, currentMethodName) != 0) { in createUniqueMethodList()
2266 currentMethodName = pMethods[ii]->methodName; in createUniqueMethodList()
2281 for (ii = 0; ii < numMethods; ++ii) { in createUniqueMethodList()
2282 if (pMethods[ii]->methodName == NULL) in createUniqueMethodList()
2285 currentMethodName = pMethods[ii]->methodName; in createUniqueMethodList()
2286 if (strcmp(pMethods[ii]->methodName, currentMethodName) != 0) { in createUniqueMethodList()
2287 currentMethodName = pMethods[ii]->methodName; in createUniqueMethodList()
2300 for (ii = 0; ii < numMethods; ++ii) { in createUniqueMethodList()
2301 if (pMethods[ii]->methodName == NULL) in createUniqueMethodList()
2303 if (strcmp(pMethods[ii]->methodName, currentMethodName) != 0) { in createUniqueMethodList()
2304 currentMethodName = pMethods[ii]->methodName; in createUniqueMethodList()
2314 pUnique->methods[nextMethod++] = pMethods[ii]; in createUniqueMethodList()
2320 int ii, jj; in printMethodProfiles() local
2349 for (ii = 0; ii < traceData->numUniqueMethods; ++ii, ++pUnique) { in printMethodProfiles()
2369 for (ii = 0; ii < traceData->numUniqueMethods; ++ii) in printMethodProfiles()
2370 pUniqueMethods[ii] = &traceData->uniqueMethods[ii]; in printMethodProfiles()
2384 for (ii = 0; ii < traceData->numUniqueMethods; ++ii) { in printMethodProfiles()
2388 pUnique = pUniqueMethods[ii]; in printMethodProfiles()
2400 …" onMouseOut=\"javascript:onMouseOut(this)\"><span class=\"parent\" id=\"xe%d\">+</span>", ii, ii); in printMethodProfiles()
2418 printf("<div class=\"parent\" id=\"e%d\">\n", ii); in printMethodProfiles()
2535 int ii, jj; in filterMethod() local
2579 for (ii = 0; ii < filter->activeCount; ii++) { in filterMethod()
2583 filter->activeThreads[ii], in filterMethod()
2584 filter->filterKeys[filter->activationKeys[ii]].keys[0], in filterMethod()
2585 filter->filterKeys[filter->activationKeys[ii]].keys[1]); in filterMethod()
2589 if (filter->activeThreads[ii] == threadId && !addedExecutionTime) { in filterMethod()
2598 if (filter->filterKeys[filter->activationKeys[ii]].flags == 1) { in filterMethod()
2603 if (addedWaitTimeThreads[jj] == filter->activeThreads[ii]) in filterMethod()
2609 filter->times.threadWaitTimes[filter->activeThreads[ii]] += elapsed; in filterMethod()
2610 addedWaitTimeThreads[addedWaitTimeThreadsCount++] = filter->activeThreads[ii]; in filterMethod()
2628 if (!entry && keyMatchesMethod(filter->filterKeys[filter->activationKeys[ii]], in filterMethod()
2637 activeThreads[activeCount] = filter->activeThreads[ii]; in filterMethod()
2638 activationKeys[activeCount++] = filter->activationKeys[ii]; in filterMethod()
2666 for (ii = 0; ii < filter->numKeys; ii++) { in filterMethod()
2667 if (keyMatchesMethod(filter->filterKeys[ii], method, 0)) { in filterMethod()
2672 if (filter->activeThreads[jj] == threadId && filter->activationKeys[jj] == ii) in filterMethod()
2680 filter->activationKeys[filter->activeCount++] = ii; in filterMethod()
2686 for (ii = 0; ii < filter->numKeys; ii++) { in filterMethod()
2687 if (!deactivation && keyMatchesMethod(filter->filterKeys[ii], method, 1) && in filterMethod()
2688 keyMatchesMethod(filter->filterKeys[ii], method, 0)) { in filterMethod()
2937 int ii, jj, numThreads; in parseDataKeys() local
3037 for (ii = 0; ii < numFilters; ii++) { in parseDataKeys()
3038 result = filterMethod(method, filters[ii], 1, threadId, numThreads, in parseDataKeys()
3039 currentTime - pStack->lastEventTime, pStack->remTimes[ii]); in parseDataKeys()
3094 for (ii = 0; ii < numFilters; ii++) { in parseDataKeys()
3095 result = filterMethod(method, filters[ii], 0, threadId, numThreads, in parseDataKeys()
3096 currentTime - pStack->lastEventTime, pStack->remTimes[ii]); in parseDataKeys()
3134 for (ii = 0; ii < pStack->top; ++ii) { in parseDataKeys()
3137 if (ii == 0) in parseDataKeys()
3140 caller = pStack->calls[ii - 1].method; in parseDataKeys()
3141 method = pStack->calls[ii].method; in parseDataKeys()
3142 countRecursiveEntries(pStack, ii, caller); in parseDataKeys()
3143 countRecursiveEntries(pStack, ii, method); in parseDataKeys()
3145 uint64_t entryTime = pStack->calls[ii].entryTime; in parseDataKeys()
3151 for (ii = 0; ii < numFilters; ii++) { in parseDataKeys()
3152 result = filterMethod(method, filters[ii], 0, threadId, numThreads, in parseDataKeys()
3153 currentTime - pStack->lastEventTime, pStack->remTimes[ii]); in parseDataKeys()
3168 for (ii = 0; ii < dataKeys->numThreads; ++ii) { in parseDataKeys()
3169 if (dataKeys->threads[ii].threadId == threadId) { in parseDataKeys()
3170 dataKeys->threads[ii].elapsedTime = elapsedTime; in parseDataKeys()
3196 int ii; in parseMethodEntries() local
3203 for (ii = 0; ii < dataKeys->numMethods; ++ii) { in parseMethodEntries()
3204 MethodEntry* entry = &dataKeys->methods[ii]; in parseMethodEntries()
3205 pMethods[ii] = entry; in parseMethodEntries()