Home
last modified time | relevance | path

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

/haiku/src/bin/debug/time_stats/
H A Dtiming_analysis.cpp111 thread_info sortedThreads[MAX_THREADS]; in do_timing_analysis() local
117 sortedThreads[0].thread = child; in do_timing_analysis()
118 sortedThreads[0].user_time = childUsage.user_time; in do_timing_analysis()
119 sortedThreads[0].kernel_time = childUsage.kernel_time; in do_timing_analysis()
120 strlcpy(sortedThreads[0].name, "<child>", sizeof(sortedThreads[0].name)); in do_timing_analysis()
131 memcpy(&sortedThreads[sortedThreadCount], &finalUsage[finalI], in do_timing_analysis()
150 memcpy(&sortedThreads[sortedThreadCount], &finalUsage[finalI], in do_timing_analysis()
152 sortedThreads[sortedThreadCount].user_time in do_timing_analysis()
154 sortedThreads[sortedThreadCount].kernel_time in do_timing_analysis()
162 std::sort(sortedThreads, sortedThreads + sortedThreadCount, in do_timing_analysis()
[all …]