Lines Matching defs:threads
189 ThreadEntry* threads;
516 delete[] pKeys->threads;
632 * Parse the "*threads" section.
639 int32_t next = checkToken(data, dataEnd - data, "threads");
648 fprintf(stderr, "ERROR: failed while reading threads (found %d)\n", count);
652 // printf("+++ found %d threads\n", count);
653 pKeys->threads = new ThreadEntry[count];
654 if (pKeys->threads == nullptr) return -1;
667 pKeys->threads[i].threadId = atoi(data);
668 pKeys->threads[i].threadName = data + tab + 1;
801 qsort(pKeys->threads, pKeys->numThreads, sizeof(pKeys->threads[0]), compareThreads);
882 * Dump list of threads.
885 printf("Threads (%d):\n", pKeys->numThreads);
887 printf("%2d %s\n", pKeys->threads[i].threadId, pKeys->threads[i].threadName);
2179 /* Also, add up the time taken by all of the threads */