Searched refs:threadNames (Results 1 – 2 of 2) sorted by relevance
156 assertThat(threadNames(processes1)).containsExactly("thread0"); in test_threshold()161 assertThat(threadNames(processes2)).containsExactly("__OTHER_THREADS"); in test_threshold()166 assertThat(threadNames(processes3)).containsExactly("thread0"); in test_threshold()182 assertThat(threadNames(processes1)).containsExactly("thread0"); in test_newThread()188 assertThat(threadNames(processes2)).containsExactly("thread0", "thread1"); in test_newThread()205 assertThat(threadNames(processes1)).containsExactly("thread0", "thread1"); in test_stoppedThread()210 assertThat(threadNames(processes2)).containsExactly("thread0"); in test_stoppedThread()227 assertThat(threadNames(processes1)).containsExactly("__OTHER_THREADS"); in test_nonNegativeOtherThreads()239 assertThat(threadNames(processes3)).containsExactly("thread0", "thread1"); in test_nonNegativeOtherThreads()254 assertThat(threadNames(processes1)).containsExactly("__OTHER_THREADS"); in test_otherThreadsOnZeroDiff()[all …]
106 String[] threadNames, int[] cpuFrequencies, int[][] cpuTimes) throws IOException { in setupDirectory() argument125 Files.write(threadPath.resolve("comm"), threadNames[i].getBytes()); in setupDirectory()140 String[] threadNames, int[] cpuFrequencies, int[][] cpuTimes) { in checkResults() argument155 assertEquals(threadNames[threadCount], threadCpuUsage.threadName); in checkResults()