Lines Matching defs:tls_index
204 get_trace(TlsIndex tls_index, JNIEnv *env)
208 trace_index = tls_get_trace(tls_index, env, gdata->max_trace_depth, JNI_FALSE);
337 TlsIndex tls_index;
345 tls_index = tls_find_or_create(env, thread);
346 HPROF_ASSERT(tls_get_monitor(tls_index)==0);
347 trace_index = get_trace(tls_index, env);
349 tls_monitor_start_timer(tls_index);
350 tls_set_monitor(tls_index, index);
356 TlsIndex tls_index;
364 tls_index = tls_find_or_create(env, thread);
365 HPROF_ASSERT(tls_index!=0);
366 index = tls_get_monitor(tls_index);
369 info->contended_time += tls_monitor_stop_timer(tls_index);
371 tls_set_monitor(tls_index, 0);
377 TlsIndex tls_index;
386 tls_index = tls_find_or_create(env, thread);
387 HPROF_ASSERT(tls_index!=0);
388 HPROF_ASSERT(tls_get_monitor(tls_index)==0);
389 trace_index = get_trace(tls_index, env);
392 tls_monitor_start_timer(tls_index);
393 tls_set_monitor(tls_index, index);
397 tls_get_thread_serial_number(tls_index));
405 TlsIndex tls_index;
409 tls_index = tls_find_or_create(env, thread);
410 HPROF_ASSERT(tls_index!=0);
411 time_waited = tls_monitor_stop_timer(tls_index);
412 index = tls_get_monitor(tls_index);
423 tls_set_monitor(tls_index, 0);
427 tls_set_monitor(tls_index, 0);
431 tls_get_thread_serial_number(tls_index));
439 tls_get_thread_serial_number(tls_index));