Home
last modified time | relevance | path

Searched refs:TraceMe (Results 1 – 25 of 46) sorted by relevance

12

/external/tensorflow/tensorflow/core/profiler/lib/
Dtraceme.h75 class TraceMe {
84 explicit TraceMe(absl::string_view activity_name, int level = 1) {
99 explicit TraceMe(string &&activity_name, int level = 1) {
113 explicit TraceMe(const string &activity_name, int level = 1) = delete;
118 explicit TraceMe(const char *raw, int level = 1)
119 : TraceMe(absl::string_view(raw), level) {} in TraceMe() function
129 explicit TraceMe(NameGeneratorT name_generator, int level = 1) {
163 ~TraceMe() { Stop(); } in ~TraceMe()
209 TF_DISALLOW_COPY_AND_ASSIGN(TraceMe);
225 return TraceMe::Active(TraceMeLevel::kVerbose); in TfOpDetailsEnabled()
Dannotated_traceme.h35 bool traceme_enabled = TraceMe::Active(level);
48 absl::optional<TraceMe> trace_me_;
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dhost_tracer_test.cc83 { TraceMe traceme("hello"); } in TEST()
84 { TraceMe traceme("world"); } in TEST()
85 { TraceMe traceme("contains#inside"); } in TEST()
86 { TraceMe traceme("good#key1=value1#"); } in TEST()
87 { TraceMe traceme("morning#key1=value1,key2=value2#"); } in TEST()
88 { TraceMe traceme("incomplete#key1=value1,key2#"); } in TEST()
117 { TraceMe traceme("hello"); } in TEST()
118 { TraceMe traceme("world"); } in TEST()
119 { TraceMe traceme("contains#inside"); } in TEST()
120 { TraceMe traceme("good#key1=value1#"); } in TEST()
[all …]
/external/tensorflow/tensorflow/python/profiler/
Dtraceme.py31 class TraceMe(object): class
35 if _pywrap_traceme.TraceMe.IsEnabled():
39 self._traceme = _pywrap_traceme.TraceMe(name)
55 with TraceMe(name):
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/platform/external/
Dcompat.h36 class TraceMe {
38 explicit TraceMe(absl::string_view tag, int level = 1) {}
39 ~TraceMe() {} in ~TraceMe()
/external/tensorflow/tensorflow/core/kernels/
Dcollective_nccl_reducer.cc172 profiler::TraceMe activity("WaitForDependencies", in Run()
184 profiler::TraceMe activity("Schedule", profiler::TraceMeLevel::kInfo); in Run()
199 profiler::TraceMe activity("Nccl", profiler::TraceMeLevel::kInfo); in Run()
203 profiler::TraceMe activity("GroupSizeCopy", profiler::TraceMeLevel::kInfo); in Run()
Dcollective_nccl_gatherer.cc53 profiler::TraceMe activity("WaitForDependencies", in Run()
63 profiler::TraceMe activity("Schedule", profiler::TraceMeLevel::kInfo); in Run()
Dcollective_nccl_broadcaster.cc63 profiler::TraceMe activity("WaitForDependencies", in Run()
73 profiler::TraceMe activity("Schedule", profiler::TraceMeLevel::kInfo); in Run()
Dfunction_ops.cc265 profiler::TraceMe trace_me( in ComputeAsync()
349 profiler::TraceMe activity( in ComputeAsync()
398 profiler::TraceMe trace_me( in ComputeAsync()
409 profiler::TraceMe activity( in ComputeAsync()
Dfunctional_ops.cc172 profiler::TraceMe trace_me( in Start()
271 profiler::TraceMe trace_me( in Start()
385 profiler::TraceMe trace_me( in EvalCond()
452 profiler::TraceMe trace_me( in StartBody()
609 profiler::TraceMe trace_me( in RunNext()
/external/tensorflow/tensorflow/python/profiler/internal/
Dtraceme_wrapper.cc36 static bool IsEnabled() { return tensorflow::profiler::TraceMe::Active(); } in IsEnabled()
40 absl::optional<tensorflow::profiler::TraceMe> traceme_;
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_remote_master.cc116 profiler::TraceMe* NewTraceRpc(StringPiece name, ::grpc::ClientContext* ctx) { in NewTraceRpc()
119 return new profiler::TraceMe( in NewTraceRpc()
138 std::unique_ptr<profiler::TraceMe> trace;
Dgrpc_master_service.cc287 profiler::TraceMe* TraceRpc( in TraceRpc()
295 return new profiler::TraceMe([&] { return strings::StrCat(name, ":", id); }, in TraceRpc()
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/client/
Dtpu_client.cc178 tensorflow::profiler::TraceMe traceme("PyTpuBuffer::FromLiterals"); in FromLiterals()
345 tensorflow::profiler::TraceMe traceme("PyTpuBuffer::ToLiteral"); in ToLiteral()
367 tensorflow::profiler::TraceMe traceme("PyTpuBuffer::DestructureTuple"); in DestructureTuple()
392 tensorflow::profiler::TraceMe traceme("PyTpuBuffer::CopyToDevice"); in CopyToDevice()
429 tensorflow::profiler::TraceMe traceme("PyTpuBuffer::BlockHostUntilReady"); in BlockHostUntilReady()
436 tensorflow::profiler::TraceMe traceme("PyTpuBuffer::AllocateBuffer"); in AllocateBuffer()
467 tensorflow::profiler::TraceMe traceme("PyTpuBuffer::CreateBuffer"); in CreateBuffer()
540 tensorflow::profiler::TraceMe traceme("PyTpuExecutable::Execute"); in ExecuteHelper()
642 tensorflow::profiler::TraceMe traceme("PyTpuExecutable::ExecutePerReplica"); in ExecutePerReplica()
655 tensorflow::profiler::TraceMe traceme( in ExecuteOnLocalDevices()
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/
Dgrpc_tpu_driver.cc660 TraceMe activity(absl::StrCat("GrpcTpuStream::Send ")); in StreamWriterFn()
676 TraceMe activity("GrpcTpuStream::RequestComplete"); in StreamReaderFn()
678 TraceMe activity("GrpcTpuStream::TransferFromComplete"); in StreamReaderFn()
699 TraceMe activity("GrpcTpuStream::CompileComplete"); in StreamReaderFn()
724 TraceMe activity(absl::StrCat("GrpcTpuStream::Allocate(num_bytes)")); in Allocate()
740 TraceMe activity(absl::StrCat("GrpcTpuStream::Allocate(shape)")); in Allocate()
757 TraceMe activity(absl::StrCat("GrpcTpuStream::AllocateTuple")); in AllocateTuple()
774 TraceMe activity(absl::StrCat("GrpcTpuStream::Deallocate")); in Deallocate()
787 TraceMe activity(absl::StrCat("GrpcTpuStream::TransferToDevice")); in TransferToDevice()
802 TraceMe activity(absl::StrCat("GrpcTpuStream::TransferFromDevice")); in TransferFromDevice()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dring_gatherer.cc103 profiler::TraceMe activity("MemCpyAsync", profiler::TraceMeLevel::kInfo); in Run()
148 profiler::TraceMe activity("WaitForQueuedEvents", in RunAsyncParts()
170 profiler::TraceMe activity("Loop", profiler::TraceMeLevel::kInfo); in RunAsyncParts()
Dring_reducer.cc97 profiler::TraceMe activity("MemCpyAsync", profiler::TraceMeLevel::kInfo); in Run()
198 profiler::TraceMe activity("WaitForQueuedEvents", in RunAsyncParts()
219 profiler::TraceMe activity("Loop", profiler::TraceMeLevel::kInfo); in RunAsyncParts()
Dhierarchical_tree_broadcaster.cc320 profiler::TraceMe activity( in RunTree()
336 profiler::TraceMe activity( in RunTree()
/external/tensorflow/tensorflow/compiler/xla/python/
Dlocal_client.cc282 tensorflow::profiler::TraceMe traceme("PyLocalBuffer::FromLiterals"); in FromHostBuffer()
515 tensorflow::profiler::TraceMe traceme("PyLocalBuffer::ToLiteral"); in ToLiteral()
549 tensorflow::profiler::TraceMe traceme("PyLocalBuffer::DestructureTuple"); in DestructureTuple()
573 tensorflow::profiler::TraceMe traceme("PyLocalBuffer::CopyToDevice"); in CopyToDevice()
647 tensorflow::profiler::TraceMe traceme("PyLocalBuffer::BlockHostUntilReady"); in BlockHostUntilReady()
732 tensorflow::profiler::TraceMe traceme("LocalExecutable::Execute"); in ExecuteHelper()
850 tensorflow::profiler::TraceMe traceme("LocalExecutable::ExecutePerReplica"); in ExecutePerReplica()
863 tensorflow::profiler::TraceMe traceme( in ExecuteOnLocalDevices()
1016 tensorflow::profiler::TraceMe traceme("LocalExecutable::Compile"); in Compile()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dexecute.cc140 profiler::TraceMe activity( in CopyInputToExpectedDevice()
168 profiler::TraceMe activity("ValidateInputTypeAndPlacement", in ValidateInputTypeAndPlacement()
350 profiler::TraceMe activity( in EagerLocalExecute()
379 profiler::TraceMe activity("EagerCopyToDeviceAndAddCacheKey", in EagerLocalExecute()
656 profiler::TraceMe activity("CopyInputToExpectedDevice", in EagerRemoteExecute()
901 profiler::TraceMe activity( in EagerExecute()
950 profiler::TraceMe activity("EagerKernelExecute", in EagerKernelExecute()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_executable.cc169 tensorflow::profiler::TraceMe hlo_module_activity( in ExecuteThunks()
318 tensorflow::profiler::TraceMe hlo_module_activity( in ExecuteAsyncOnStream()
330 tensorflow::profiler::TraceMe hlo_module_activity( in ExecuteAsyncOnStream()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_memory_manager.cc103 profiler::TraceMe trace_me("XRTMemoryManager::CompactAllocations", in CompactAllocations()
152 profiler::TraceMe trace_me("XRTMemoryManager::TryFreeMemory", /*level=*/2); in TryFreeMemory()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dsnapshot_dataset_op.cc146 profiler::TraceMe activity( in WriteRecord()
157 profiler::TraceMe activity(absl::StrCat(kClassName, kSeparator, kWriteCord), in WriteRecord()
227 profiler::TraceMe activity( in ReadRecord()
238 profiler::TraceMe activity(absl::StrCat(kClassName, kSeparator, kReadCord), in ReadRecord()
820 profiler::TraceMe activity( in GetNextInternal()
985 profiler::TraceMe activity( in ReadFile()
1229 profiler::TraceMe activity( in GetNextInternal()
1476 profiler::TraceMe activity( in ProcessOneElement()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_runtime.cc157 return tensorflow::profiler::TraceMe::ActivityStart(name); in __xla_cpu_runtime_TracingStart()
164 tensorflow::profiler::TraceMe::ActivityEnd(id); in __xla_cpu_runtime_TracingEnd()
/external/tensorflow/tensorflow/core/kernels/data/
Dcaptured_function.cc660 profiler::TraceMe activity( in Run()
699 profiler::TraceMe activity( in RunWithBorrowedArgs()
738 profiler::TraceMe activity( in RunInstantiated()
836 profiler::TraceMe activity( in RunAsync()

12