Lines Matching refs:threadId
111 int threadId = readNumber(2); in GetThreadID() local
112 return threadId; in GetThreadID()
135 int threadId = readNumber(2); in ProcessThreadInfoEntry() local
140 threadIdMap.put(threadId, threadInfo); in ProcessThreadInfoEntry()
143 public boolean ShouldCheckThread(int threadId, String threadName) throws Exception { in ShouldCheckThread() argument
144 if (!threadIdMap.containsKey(threadId)) { in ShouldCheckThread()
145 System.out.println("no threadId -> name mapping for thread " + threadId); in ShouldCheckThread()
152 return threadIdMap.get(threadId).equals(threadName); in ShouldCheckThread()
155 public String eventTypeToString(int eventType, int threadId) { in eventTypeToString() argument
156 if (!nestingLevelMap.containsKey(threadId)) { in eventTypeToString()
157 nestingLevelMap.put(threadId, 0); in eventTypeToString()
160 int nestingLevel = nestingLevelMap.get(threadId); in eventTypeToString()
181 nestingLevelMap.put(threadId, nestingLevel); in eventTypeToString()
185 public void CheckTimestamp(int timestamp, int threadId, in CheckTimestamp() argument
187 if (threadTimestampMap.containsKey(threadId)) { in CheckTimestamp()
188 int oldTimestamp = threadTimestampMap.get(threadId); in CheckTimestamp()
194 threadTimestampMap.put(threadId, timestamp); in CheckTimestamp()
197 public String ProcessEventEntry(int threadId) throws IOException, Exception { in ProcessEventEntry() argument
203 String str = eventTypeToString(eventType, threadId) + " " + threadIdMap.get(threadId) in ProcessEventEntry()
207 CheckTimestamp(timestamp1, threadId, threadTimestamp1Map); in ProcessEventEntry()
211 CheckTimestamp(timestamp2, threadId, threadTimestamp2Map); in ProcessEventEntry()
216 public void UpdateThreadEvents(int threadId, String entry) { in UpdateThreadEvents() argument
217 String threadName = threadIdMap.get(threadId); in UpdateThreadEvents()