Home | History | Annotate | Download | only in profviz

Lines Matching refs:thread_id

62   function TimerEvent(label, color, pause, thread_id) {
63 assert(thread_id >= 0 && thread_id < kNumThreads, "invalid thread id");
68 this.thread_id = thread_id;
233 var thread_id = new_event.thread_id;
235 start = Math.max(last_time_stamp[thread_id] + kMinRangeLength, start);
238 var last_event = event_stack[thread_id].top();
240 var new_range = new Range(last_time_stamp[thread_id], start);
243 event_stack[thread_id].push(new_event);
244 last_time_stamp[thread_id] = start;
248 // Find out about the thread_id.
250 var thread_id = finished_event.thread_id;
251 assert(finished_event === event_stack[thread_id].pop(),
254 end = Math.max(last_time_stamp[thread_id] + kMinRangeLength, end);
256 var new_range = new Range(last_time_stamp[thread_id], end);
258 last_time_stamp[thread_id] = end;