Searched refs:thread_local_data (Results 1 – 2 of 2) sorted by relevance
71 thread_local_data; in GetThreadLocalData() local72 return thread_local_data->GetThreadLocalData(); in GetThreadLocalData()94 thread_local ThreadLocalData thread_local_data; in GetThreadLocalData()95 return &thread_local_data; in GetThreadLocalData()102 ThreadLocalData* const thread_local_data = GetThreadLocalData(); in ScopedMuteThreadSamples() local104 DCHECK(!thread_local_data->internal_reentry_guard); in ScopedMuteThreadSamples()105 thread_local_data->internal_reentry_guard = true; in ScopedMuteThreadSamples()117 thread_local_data->accumulated_bytes_snapshot = in ScopedMuteThreadSamples()118 thread_local_data->accumulated_bytes; in ScopedMuteThreadSamples()119 thread_local_data->accumulated_bytes -= kAccumulatedBytesOffset; in ScopedMuteThreadSamples()[all …]
4168 auto& thread_local_data = local4171 if (!thread_local_data) {4172 thread_local_data.reset(new EagerContextThreadLocalData());4177 thread_local_data->is_eager = PyObject_IsTrue(is_eager.get());4184 thread_local_data->scope_name.reset(scope_name);4191 thread_local_data->device_name.reset(device_name);4194 thread_local_data->device_spec.reset(defaults->second.device_spec.get());4197 thread_local_data->function_call_options.reset(Py_None);4200 thread_local_data->executor.reset(Py_None);4202 thread_local_data->op_callbacks.reset(PyList_New(0));[all …]