Home
last modified time | relevance | path

Searched refs:ScopedAnnotation (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/lib/
Dscoped_annotation_test.cc29 TEST(ScopedAnnotation, Simple) { in TEST() argument
31 ScopedAnnotation trace("blah"); in TEST()
37 ScopedAnnotation trace("blah"); in TEST()
43 ScopedAnnotation outer("foo"); in TEST()
44 ScopedAnnotation inner("bar"); in TEST()
61 ScopedAnnotation trace(annotation); in BM_ScopedAnnotationDisabled()
73 ScopedAnnotation trace(annotation); in BM_ScopedAnnotationEnabled()
86 ScopedAnnotation trace(annotation); in BM_ScopedAnnotationEnabled_Nested()
87 { ScopedAnnotation trace(annotation); } in BM_ScopedAnnotationEnabled_Nested()
99 ScopedAnnotation trace(absl::StrCat(i, "-", i * i)); in BM_ScopedAnnotationEnabled_Adhoc()
[all …]
Dscoped_annotation.h43 class ScopedAnnotation {
45 explicit ScopedAnnotation(absl::string_view name) { in ScopedAnnotation() function
53 explicit ScopedAnnotation(const char* name) in ScopedAnnotation() function
54 : ScopedAnnotation(absl::string_view(name)) {} in ScopedAnnotation()
56 explicit ScopedAnnotation(const string& name) { in ScopedAnnotation() function
64 explicit ScopedAnnotation(string&& name) { in ScopedAnnotation() function
73 explicit ScopedAnnotation(NameGeneratorT name_generator) { in ScopedAnnotation() function
82 ~ScopedAnnotation() { in ~ScopedAnnotation()
105 TF_DISALLOW_COPY_AND_ASSIGN(ScopedAnnotation);
Dannotated_traceme.h38 bool annotation_enabled = ScopedAnnotation::IsEnabled();
53 absl::optional<ScopedAnnotation> scoped_annotation_;
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dsequential_thunk.cc25 using ::tensorflow::profiler::ScopedAnnotation;
43 ScopedAnnotation annotation([&] { return thunk->profile_annotation(); }); in ExecuteOnStream()
Dgpu_executable.cc51 using ::tensorflow::profiler::ScopedAnnotation;
172 ScopedAnnotation annotation([&] { return thunk->profile_annotation(); }); in ExecuteThunks()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interface_ann.cc32 class ScopedAnnotation { class
34 ScopedAnnotation(ThreadState *thr, const char *aname, const char *f, int l, in ScopedAnnotation() function in __tsan::ScopedAnnotation
41 ~ScopedAnnotation() { in ~ScopedAnnotation()
56 ScopedAnnotation sa(thr, __func__, f, l, caller_pc); \
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_interface_ann.cpp31 class ScopedAnnotation { class
33 ScopedAnnotation(ThreadState *thr, const char *aname, uptr pc) in ScopedAnnotation() function in __tsan::ScopedAnnotation
39 ~ScopedAnnotation() { in ~ScopedAnnotation()
54 ScopedAnnotation sa(thr, __func__, caller_pc); \
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_util.cc150 profiler::ScopedAnnotation annotation("SetProtoFromGPU"); in SetProtoFromGPU()
Dgpu_device.cc678 profiler::ScopedAnnotation annotation("MakeTensorFromProto"); in MaybeCopyTensorToGPU()
/external/tensorflow/tensorflow/core/common_runtime/
Dcopy_tensor.cc207 profiler::ScopedAnnotation annotation( in ViaDMA()
Dexecutor.cc543 if (profiler::ScopedAnnotation::IsEnabled()) return true; in MightTrace()
/external/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi27204 <!-- __tsan::ScopedAnnotation* -->
27339 <!-- class __tsan::ScopedAnnotation -->
27340 …<class-decl name='ScopedAnnotation' size-in-bits='128' visibility='default' filepath='../../.././l…
27342 <!-- __tsan::ThreadState* const __tsan::ScopedAnnotation::thr_ -->
27346 <!-- const int __tsan::ScopedAnnotation::in_rtl_ -->
27350 …<!-- __tsan::ScopedAnnotation::ScopedAnnotation(__tsan::ThreadState*, const char*, const char*, in…
27351 …<function-decl name='ScopedAnnotation' filepath='../../.././libsanitizer/tsan/tsan_interface_ann.c…
27352 <!-- implicit parameter of type '__tsan::ScopedAnnotation*' -->
27369 <!-- __tsan::ScopedAnnotation::~ScopedAnnotation(int) -->
27370 …<function-decl name='~ScopedAnnotation' filepath='../../.././libsanitizer/tsan/tsan_interface_ann.…
[all …]
/external/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi15862 …<class-decl name='ScopedAnnotation' size-in-bits='128' visibility='default' filepath='../../.././l…
15870 …<function-decl name='ScopedAnnotation' filepath='../../.././libsanitizer/tsan/tsan_interface_ann.c…
15881 …<function-decl name='~ScopedAnnotation' filepath='../../.././libsanitizer/tsan/tsan_interface_ann.…