Home
last modified time | relevance | path

Searched refs:thread_local_data (Results 1 – 2 of 2) sorted by relevance

/external/cronet/base/sampling_heap_profiler/
Dpoisson_allocation_sampler.cc71 thread_local_data; in GetThreadLocalData() local
72 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() local
104 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 …]
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc4168 auto& thread_local_data = local
4171 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 …]