Home
last modified time | relevance | path

Searched refs:g_data (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/internal/
Dtraceme_recorder.cc61 }* g_data = nullptr; variable
157 mutex_lock lock(g_data->global_lock); in ThreadLocalRecorder()
158 g_data->threads.emplace(info_.tid, this); in ThreadLocalRecorder()
164 mutex_lock lock(g_data->global_lock); in ~ThreadLocalRecorder()
165 g_data->threads.erase(info_.tid); in ~ThreadLocalRecorder()
166 g_data->orphaned_events.push_back(Clear()); in ~ThreadLocalRecorder()
173 EXCLUSIVE_LOCKS_REQUIRED(g_data->global_lock) { in Clear()
187 TraceMeRecorder::Events Clear() EXCLUSIVE_LOCKS_REQUIRED(g_data->global_lock) { in Clear()
189 std::swap(g_data->orphaned_events, result); in Clear()
190 for (const auto& entry : g_data->threads) { in Clear()
[all …]
/external/libchrome/base/android/orderfile/
Dorderfile_instrumentation.cc71 LogData g_data[kPhases]; variable
143 auto* offsets = g_data[index].offsets; in RecordAddress()
161 auto* ordered_offsets = g_data[index].ordered_offsets; in RecordAddress()
162 auto& ordered_offsets_index = g_data[index].index; in RecordAddress()
222 if (!DumpToFile(base::FilePath(path), g_data[phase])) { in StopAndDumpToFile()
294 memset(reinterpret_cast<uint32_t*>(g_data[i].offsets), 0, in ResetForTesting()
296 memset(reinterpret_cast<uint32_t*>(g_data[i].ordered_offsets), 0, in ResetForTesting()
298 g_data[i].index.store(0); in ResetForTesting()
308 size_t max_index = g_data[0].index.load(std::memory_order_relaxed); in GetOrderedOffsetsForTesting()
310 auto value = g_data[0].ordered_offsets[i].load(std::memory_order_relaxed); in GetOrderedOffsetsForTesting()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GlobalOpt/
Dglobalsra-multigep.ll6 @g_data = internal unnamed_addr global <{ [8 x i16], [8 x i16] }> <{ [8 x i16] [i16 16, i16 16, i16…
7 ; We cannot SRA here due to the second gep meaning the access to g_data may be to either element
8 ; CHECK: @g_data = internal unnamed_addr constant <{ [8 x i16], [8 x i16] }>
12 …%g1 = getelementptr inbounds <{ [8 x i16], [8 x i16] }>, <{ [8 x i16], [8 x i16] }>* @g_data, i64 …
/external/compiler-rt/test/tsan/
Drace_with_finished_thread.cc6 int g_data; variable
13 foobar(&g_data); in Thread1()
21 g_data = 43; in Thread2()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_utils_test.cc938 Tensor g_data(DT_FLOAT, TensorShape({width})); in TestHashNodeDef() local
939 test::FillIota<float>(&g_data, 1); in TestHashNodeDef()
941 Input::Initializer(g_data)); in TestHashNodeDef()