Home
last modified time | relevance | path

Searched refs:Tracing (Results 1 – 25 of 49) sorted by relevance

12

/external/tensorflow/tensorflow/core/platform/
Dtracing.h36 class Tracing {
106 static std::atomic<Tracing::Engine*> tracing_engine_;
107 static Tracing::Engine* engine() { in engine()
137 class Tracing::Engine {
202 class Tracing::ScopedAnnotation {
214 auto e = Tracing::engine(); in Enabled()
226 class Tracing::TraceMe {
242 inline Tracing::ScopedAnnotation::ScopedAnnotation(StringPiece name) { in ScopedAnnotation()
243 auto e = Tracing::engine(); in ScopedAnnotation()
249 inline Tracing::ScopedAnnotation::ScopedAnnotation(StringPiece name_part1, in ScopedAnnotation()
[all …]
Dtracing.cc30 int32 Tracing::category_id_[kEventCategoryMax];
31 uint64 Tracing::event_mask_ = 0;
32 std::map<string, int32>* Tracing::name_map_ = new std::map<string, int32>;
35 const char* Tracing::EventCategoryString(EventCategory category) { in EventCategoryString()
51 bool Tracing::ParseEventMask(const char* flagname, const string& value) { in ParseEventMask()
91 /*static*/ std::atomic<Tracing::Engine*> Tracing::tracing_engine_;
93 void Tracing::RegisterEngine(Engine* e) { in RegisterEngine()
97 Tracing::Engine::~Engine() {} in ~Engine()
98 Tracing::Engine::Annotation::~Annotation() {} in ~Annotation()
99 Tracing::Engine::Tracer::~Tracer() {} in ~Tracer()
/external/tensorflow/tensorflow/core/platform/default/
Dtracing_impl.h44 inline uint64 Tracing::UniqueId() { return random::New64(); } in UniqueId()
45 inline bool Tracing::IsActive() { return false; } in IsActive()
46 inline void Tracing::RegisterCurrentThread(const char* name) {} in RegisterCurrentThread()
49 inline void Tracing::RecordEvent(EventCategory category, uint64 arg) { in RecordEvent()
53 inline Tracing::ScopedActivity::ScopedActivity(EventCategory category, in ScopedActivity()
56 inline Tracing::ScopedActivity::~ScopedActivity() {} in ~ScopedActivity()
Dtracing.cc21 void Tracing::RegisterEvent(EventCategory id, const char* name) { in RegisterEvent()
25 void Tracing::Initialize() {} in Initialize()
28 Tracing::Initialize(); in DoInit()
Ddevice_tracer.cc291 public port::Tracing::Engine {
308 struct Impl : public port::Tracing::Engine::Annotation { in PushAnnotation()
413 port::Tracing::RegisterEngine(this); in Start()
461 port::Tracing::RegisterEngine(nullptr); in Stop()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_util.cc50 if (port::Tracing::IsActive()) { in SchedClosure()
51 const uint64 id = port::Tracing::UniqueId(); in SchedClosure()
52 port::Tracing::RecordEvent(port::Tracing::EventCategory::kScheduleClosure, in SchedClosure()
56 port::Tracing::ScopedActivity region( in SchedClosure()
57 port::Tracing::EventCategory::kRunClosure, id); in SchedClosure()
Dthreadpool_device.cc51 port::Tracing::TraceMe trace_me(op_kernel->name(), op_kernel->type_string(), in Compute()
53 if (port::Tracing::IsActive()) { in Compute()
56 port::Tracing::ScopedActivity region(port::Tracing::EventCategory::kCompute, in Compute()
/external/tensorflow/tensorflow/core/lib/core/
Dthreadpool.cc62 if (port::Tracing::IsActive()) { in CreateTask()
63 id = port::Tracing::UniqueId(); in CreateTask()
64 port::Tracing::RecordEvent(port::Tracing::EventCategory::kScheduleClosure, in CreateTask()
79 port::Tracing::ScopedActivity region( in ExecuteTask()
80 port::Tracing::EventCategory::kRunClosure, t.f->trace_id); in ExecuteTask()
/external/tensorflow/tensorflow/core/common_runtime/sycl/
Dsycl_device.cc30 if (port::Tracing::IsActive()) { in Compute()
33 port::Tracing::ScopedActivity region(port::Tracing::EventCategory::kCompute, in Compute()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_remote_master.cc100 port::Tracing::TraceMe TraceRpc(StringPiece name, in TraceRpc()
102 string trace_id = strings::StrCat(port::Tracing::UniqueId()); in TraceRpc()
104 return port::Tracing::TraceMe(name, trace_id); in TraceRpc()
Dgrpc_master_service.cc238 port::Tracing::TraceMe* TraceRpc( in TraceRpc()
246 return new port::Tracing::TraceMe(name, id); in TraceRpc()
Dgrpc_worker_service.cc173 ENQUEUE_REQUEST(Tracing, false); in HandleRPCsLoop()
316 Status s = worker_->Tracing(&call->request, &call->response); in TracingHandler()
319 ENQUEUE_REQUEST(Tracing, false); in TracingHandler()
/external/python/cpython2/Demo/metaclasses/
DSimple.py3 class Tracing: class
33 Trace = Tracing('Trace', (), {})
/external/skia/site/dev/tools/
Dtracing.md1 Tracing Skia Execution
59 Chrome Tracing
79 ![Tracing interface](tracing.png)
/external/skqp/site/dev/tools/
Dtracing.md1 Tracing Skia Execution
59 Chrome Tracing
79 ![Tracing interface](tracing.png)
/external/ltp/runtest/
Dtracing1 #DESCRIPTION:Tracing testing
/external/tensorflow/tensorflow/core/platform/posix/
Dtracing.cc29 const char* Tracing::LogDir() { in LogDir()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_compiler.cc103 using tensorflow::port::Tracing;
402 Tracing::TraceMe annotation("Compile PTX", /*is_expensive=*/true); in CompilePtx()
473 Tracing::TraceMe annotation("HLO Transforms", module->name(), in RunHloPasses()
682 Tracing::TraceMe annotation("PTX->CUBIN", /*is_expensive=*/true); in CompilePtxOrGetCachedResult()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device.cc411 const uint64 id = port::Tracing::IsActive() ? Hash64(op_kernel->name()) : 0; in Compute()
412 port::Tracing::ScopedActivity region(port::Tracing::EventCategory::kCompute, in Compute()
427 } else if (port::Tracing::ScopedAnnotation::Enabled()) { in Compute()
428 port::Tracing::ScopedAnnotation annotation(op_kernel->name(), in Compute()
532 port::Tracing::TraceMe activity(op_kernel->name(), op_kernel->type_string(), in ComputeAsync()
575 port::Tracing::ScopedAnnotation annotation("MakeTensorFromProto"); in MaybeCopyTensorToGPU()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device.cc244 port::Tracing::TraceMe trace_me(op_kernel->name(), op_kernel->type_string(), in Compute()
253 port::Tracing::TraceMe trace_me(op_kernel->name(), op_kernel->type_string(), in ComputeAsync()
/external/autotest/client/tests/tracing_microbenchmark/
Dcontrol2 NAME = "Tracing microbenchmark"
/external/mesa3d/src/gallium/drivers/trace/
DREADME12 == Tracing ==
/external/skqp/tests/
DTracingTest.cpp185 DEF_TEST(Tracing, reporter) { in DEF_TEST() argument
/external/skia/tests/
DTracingTest.cpp185 DEF_TEST(Tracing, reporter) { in DEF_TEST() argument
/external/tensorflow/tensorflow/core/kernels/data/
Dmap_and_batch_dataset_op.cc336 port::Tracing::TraceMe activity(strings::StrCat(prefix(), "::Start")); in StartInvocationBatch()
361 port::Tracing::TraceMe activity(strings::StrCat(prefix(), "::Wait")); in WaitForBatch()

12