Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/core/profiler/lib/
Dtraceme.h82 class TraceMe {
91 explicit TraceMe(absl::string_view name, int level = 1) {
105 explicit TraceMe(std::string&& name, int level = 1) = delete;
112 explicit TraceMe(const std::string& name, int level = 1) = delete;
116 explicit TraceMe(const char* raw, int level = 1)
117 : TraceMe(absl::string_view(raw), level) {} in TraceMe() function
137 explicit TraceMe(NameGeneratorT name_generator, int level = 1) {
148 TraceMe(TraceMe&& other) { *this = std::move(other); } in TraceMe() function
149 TraceMe& operator=(TraceMe&& other) {
160 ~TraceMe() { Stop(); } in ~TraceMe()
[all …]
Dconnected_traceme.h93 context_id.has_value() ? *context_id : TraceMe::NewActivityId(); in trace_me_()
101 TraceMe trace_me_;
121 TraceMe trace_me_;
Dannotated_traceme.h39 bool traceme_enabled = TraceMe::Active(level);
52 absl::optional<TraceMe> trace_me_;
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/platform/external/
Dcompat.h36 class TraceMe {
38 explicit TraceMe(absl::string_view name, int level = 1) {}
39 explicit TraceMe(std::string&& name, int level = 1) = delete;
40 explicit TraceMe(const std::string& name, int level = 1) = delete;
41 explicit TraceMe(const char* raw, int level = 1)
42 : TraceMe(absl::string_view(raw), level) {} in TraceMe() function
44 explicit TraceMe(NameGeneratorT name_generator, int level = 1) {}
45 ~TraceMe() {} in ~TraceMe()
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dhost_tracer_test.cc89 { TraceMe traceme("hello"); } in TEST()
90 { TraceMe traceme("world"); } in TEST()
91 { TraceMe traceme("contains#inside"); } in TEST()
92 { TraceMe traceme("good#key1=value1#"); } in TEST()
93 { TraceMe traceme("morning#key1=value1,key2=value2#"); } in TEST()
94 { TraceMe traceme("incomplete#key1=value1,key2#"); } in TEST()
134 { TraceMe traceme("hello"); } in TEST()
135 { TraceMe traceme("world"); } in TEST()
136 { TraceMe traceme("contains#inside"); } in TEST()
137 { TraceMe traceme("good#key1=value1#"); } in TEST()
[all …]
/external/tensorflow/tensorflow/python/profiler/
Dtraceme.py21 from tensorflow.python.profiler.trace import Trace as TraceMe unknown
30 with TraceMe(name):
Dtrace.py83 self._traceme = _pywrap_traceme.TraceMe(name, **kwargs)
/external/tensorflow/tensorflow/python/profiler/internal/
Dtraceme_wrapper.h61 static bool IsEnabled() { return tensorflow::profiler::TraceMe::Active(); } in IsEnabled()
76 tensorflow::profiler::TraceMe traceme_;
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compilation_cache_local_lookup.cc33 profiler::TraceMe proto_lookup_traceme("Local TPU proto cache lookup", in Lookup()
52 profiler::TraceMe proto_lookup_traceme("Local TPU proto cache lookup by uid", in Lookup()
Dtpu_compilation_cache_rpc_lookup.cc67 profiler::TraceMe proto_lookup_traceme("Remote TPU proto cache lookup", in Lookup()
102 profiler::TraceMe proto_lookup_traceme("Remote TPU proto cache lookup by uid", in Lookup()
147 profiler::TraceMe proto_lookup_traceme("Remote TPU proto cache fetch", in RemoteLookupLocked()
Dtpu_compilation_cache_interface.cc143 profiler::TraceMe key_release_traceme( in MarkEntryForEviction()
190 profiler::TraceMe key_release_traceme("TPU compilation cache release uid", in Release()
410 profiler::TraceMe subgraph_lookup_traceme( in CompileIfKeyAbsentHelper()
561 profiler::TraceMe proto_lookup_traceme( in Lookup()
586 profiler::TraceMe proto_lookup_traceme("TPU compilation cache proto lookup", in Lookup()
Dtpu_execute_op.cc73 profiler::TraceMe trace_me("TpuExecuteOp::LookupProto", /*level=*/2); in GetComputationCacheEntry()
200 profiler::TraceMe trace_me("BuildComputationInputs", /*level=*/2); in BuildComputationInputs()
402 profiler::TraceMe trace_me("AllocateOutputTensors", /*level=*/2); in AllocateOutputTensors()
631 profiler::TraceMe trace_me( in DoWork()
639 profiler::TraceMe trace_me_init("TPUExecuteOp::Init", /*level=*/2); in DoWork()
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client_backend_independent_test.py130 with xla_client.profiler.TraceMe("test1"):
132 with xla_client.profiler.TraceMe("test2", foo=123):
135 with xla_client.profiler.TraceMe("test3"):
/external/tensorflow/tensorflow/python/framework/
Dmemory_checker.py22 from tensorflow.python.profiler.traceme import TraceMe
77 self._trace_me = TraceMe('with MemoryChecker():')
/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;
/external/tensorflow/tensorflow/core/profiler/
Dprofiler_options.proto32 // - Level 1 enables tracing of only user instrumented (or default) TraceMe.
33 // - Level 2 enables tracing of all level 1 TraceMe(s) and instrumented high
36 // - Level 3 enables tracing of all level 2 TraceMe(s) and more verbose
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/
Dgrpc_tpu_driver.cc660 TraceMe activity("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("GrpcTpuStream::Allocate(num_bytes)"); in Allocate()
740 TraceMe activity("GrpcTpuStream::Allocate(shape)"); in Allocate()
757 TraceMe activity("GrpcTpuStream::AllocateTuple"); in AllocateTuple()
774 TraceMe activity("GrpcTpuStream::Deallocate"); in Deallocate()
787 TraceMe activity("GrpcTpuStream::TransferToDevice"); in TransferToDevice()
802 TraceMe activity("GrpcTpuStream::TransferFromDevice"); in TransferFromDevice()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dring_gatherer.cc102 profiler::TraceMe activity("MemCpyAsync", profiler::TraceMeLevel::kInfo); in Run()
147 profiler::TraceMe activity("WaitForQueuedEvents", in RunAsyncParts()
169 profiler::TraceMe activity("Loop", profiler::TraceMeLevel::kInfo); in RunAsyncParts()
Dring_reducer.cc96 profiler::TraceMe activity("MemCpyAsync", profiler::TraceMeLevel::kInfo); in Run()
197 profiler::TraceMe activity("WaitForQueuedEvents", in RunAsyncParts()
218 profiler::TraceMe activity("Loop", profiler::TraceMeLevel::kInfo); in RunAsyncParts()
/external/tensorflow/tensorflow/core/kernels/
Dcollective_nccl_reducer.cc107 profiler::TraceMe activity("Nccl", profiler::TraceMeLevel::kInfo); in Run()
111 profiler::TraceMe activity("GroupSizeCopy", profiler::TraceMeLevel::kInfo); in Run()
Dfunction_ops.cc237 profiler::TraceMe trace_me("SymbolicGradientOp"); in ComputeAsync()
299 profiler::TraceMe activity( in ComputeAsync()
351 profiler::TraceMe trace_me( in ComputeAsync()
362 profiler::TraceMe activity( in ComputeAsync()
Dfunctional_ops.cc177 profiler::TraceMe trace_me("IfOp"); in Start()
307 profiler::TraceMe trace_me("CaseOp"); in Start()
535 profiler::TraceMe trace_me("WhileOp-EvalCond"); in EvalCond()
571 profiler::TraceMe trace_me("WhileOp-StartBody"); in StartBody()
626 profiler::TraceMe trace_me("WhileOp-EvalCond"); in DoComputeSync()
647 profiler::TraceMe trace_me("WhileOp-StartBody"); in DoComputeSync()
827 profiler::TraceMe trace_me("ForOp"); in RunNext()
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/client/
Dtpu_client.cc177 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()
442 tensorflow::profiler::TraceMe traceme("PyTpuBuffer::AllocateBuffer"); in AllocateBuffer()
474 tensorflow::profiler::TraceMe traceme("PyTpuBuffer::CreateBuffer"); in CreateBuffer()
551 tensorflow::profiler::TraceMe traceme("PyTpuExecutable::Execute"); in ExecuteHelper()
669 tensorflow::profiler::TraceMe traceme( in ExecuteOnLocalDevices()
799 tensorflow::profiler::TraceMe traceme("PyTpuExecutable::Compile"); in Compile()
/external/tensorflow/tensorflow/core/nccl/
Dcollective_communicator.cc186 profiler::TraceMe activity("WaitForDependencies", in Enqueue()
196 profiler::TraceMe activity("Schedule", profiler::TraceMeLevel::kInfo); in Enqueue()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dtpu_execute_op.cc64 profiler::TraceMe trace_me("XRTExecuteOp::LookupProto", /*level=*/2); in GetComputationCacheEntry()
194 profiler::TraceMe trace_me("RunExecutable", /*level=*/2); in RunExecutable()
282 profiler::TraceMe trace_me( in DoWork()
288 profiler::TraceMe trace_me_init("XRTExecuteOp::Init", /*level=*/2); in DoWork()
403 profiler::TraceMe trace_me( in DoWork()

1234