/external/tensorflow/tensorflow/core/platform/default/ |
H A D | tracing.cc | 21 void Tracing::RegisterEvent(EventCategory id, const char* name) { 25 void Tracing::Initialize() {} 28 Tracing::Initialize();
|
H A D | tracing_impl.h | 44 inline uint64 Tracing::UniqueId() { return random::New64(); } 45 inline bool Tracing::IsActive() { return false; } 46 inline void Tracing::RegisterCurrentThread(const char* name) {} 49 inline void Tracing::RecordEvent(EventCategory category, uint64 arg) { 53 inline Tracing::ScopedActivity::ScopedActivity(EventCategory category, 56 inline Tracing::ScopedActivity::~ScopedActivity() {}
|
H A D | device_tracer.cc | 291 public port::Tracing::Engine { 301 // port::Tracing::Engine interface: 308 struct Impl : public port::Tracing::Engine::Annotation { 413 port::Tracing::RegisterEngine(this); 461 port::Tracing::RegisterEngine(nullptr);
|
/external/tensorflow/tensorflow/core/platform/ |
H A D | tracing.cc | 30 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) { 51 bool Tracing::ParseEventMask(const char* flagname, const string& value) { 91 /*static*/ std::atomic<Tracing::Engine*> Tracing::tracing_engine_; 93 void Tracing::RegisterEngine(Engine* e) { 97 Tracing::Engine::~Engine() {} 98 Tracing [all...] |
H A D | tracing.h | 19 // Tracing interface 36 class Tracing { class in namespace:tensorflow::port 46 // "Tracing::EventCategoryString". 106 static std::atomic<Tracing::Engine*> tracing_engine_; 107 static Tracing::Engine* engine() { 137 class Tracing::Engine { 142 // Returns true if Tracing is currently enabled. 202 class Tracing::ScopedAnnotation { 214 auto e = Tracing::engine(); 226 class Tracing [all...] |
/external/tensorflow/tensorflow/core/common_runtime/ |
H A D | process_util.cc | 50 if (port::Tracing::IsActive()) { 51 const uint64 id = port::Tracing::UniqueId(); 52 port::Tracing::RecordEvent(port::Tracing::EventCategory::kScheduleClosure, 56 port::Tracing::ScopedActivity region( 57 port::Tracing::EventCategory::kRunClosure, id);
|
H A D | threadpool_device.cc | 51 port::Tracing::TraceMe trace_me(op_kernel->name(), op_kernel->type_string(), 53 if (port::Tracing::IsActive()) { 56 port::Tracing::ScopedActivity region(port::Tracing::EventCategory::kCompute,
|
H A D | copy_tensor.cc | 240 port::Tracing::ScopedAnnotation annotation(edge_name);
|
/external/tensorflow/tensorflow/core/platform/posix/ |
H A D | tracing.cc | 29 const char* Tracing::LogDir() {
|
/external/tensorflow/tensorflow/core/lib/core/ |
H A D | threadpool.cc | 62 if (port::Tracing::IsActive()) { 63 id = port::Tracing::UniqueId(); 64 port::Tracing::RecordEvent(port::Tracing::EventCategory::kScheduleClosure, 79 port::Tracing::ScopedActivity region( 80 port::Tracing::EventCategory::kRunClosure, t.f->trace_id);
|
/external/tensorflow/tensorflow/core/common_runtime/sycl/ |
H A D | sycl_device.cc | 30 if (port::Tracing::IsActive()) { 33 port::Tracing::ScopedActivity region(port::Tracing::EventCategory::kCompute,
|
/external/python/cpython2/Demo/metaclasses/ |
H A D | Simple.py | 3 class Tracing: class in inherits: 33 Trace = Tracing('Trace', (), {})
|
/external/tensorflow/tensorflow/core/protobuf/ |
H A D | worker_service.proto | 74 rpc Tracing(TracingRequest) returns (TracingResponse);
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
H A D | grpc_remote_master.cc | 100 port::Tracing::TraceMe TraceRpc(StringPiece name, 102 string trace_id = strings::StrCat(port::Tracing::UniqueId()); 104 return port::Tracing::TraceMe(name, trace_id);
|
H A D | grpc_master_service.cc | 238 port::Tracing::TraceMe* TraceRpc( 246 return new port::Tracing::TraceMe(name, id);
|
H A D | grpc_worker_service.cc | 173 ENQUEUE_REQUEST(Tracing, false); 316 Status s = worker_->Tracing(&call->request, &call->response); 319 ENQUEUE_REQUEST(Tracing, false);
|
/external/skia/tests/ |
H A D | TracingTest.cpp | 35 // Tracing viewer requires that all object macros use the same name and id for creation, 185 DEF_TEST(Tracing, reporter) {
|
/external/skqp/tests/ |
H A D | TracingTest.cpp | 35 // Tracing viewer requires that all object macros use the same name and id for creation, 185 DEF_TEST(Tracing, reporter) {
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
H A D | gpu_compiler.cc | 103 using tensorflow::port::Tracing; 402 Tracing::TraceMe annotation("Compile PTX", /*is_expensive=*/true); 473 Tracing::TraceMe annotation("HLO Transforms", module->name(), 682 Tracing::TraceMe annotation("PTX->CUBIN", /*is_expensive=*/true);
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
H A D | worker_interface.h | 154 Status Tracing(const TracingRequest* request, TracingResponse* response) { function in class:tensorflow::WorkerInterface
|
/external/tensorflow/tensorflow/compiler/jit/ |
H A D | xla_device.cc | 244 port::Tracing::TraceMe trace_me(op_kernel->name(), op_kernel->type_string(), 253 port::Tracing::TraceMe trace_me(op_kernel->name(), op_kernel->type_string(),
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
H A D | gpu_device.cc | 411 const uint64 id = port::Tracing::IsActive() ? Hash64(op_kernel->name()) : 0; 412 port::Tracing::ScopedActivity region(port::Tracing::EventCategory::kCompute, 427 } else if (port::Tracing::ScopedAnnotation::Enabled()) { 428 port::Tracing::ScopedAnnotation annotation(op_kernel->name(), 532 port::Tracing::TraceMe activity(op_kernel->name(), op_kernel->type_string(), 575 port::Tracing::ScopedAnnotation annotation("MakeTensorFromProto");
|
H A D | gpu_util.cc | 154 port::Tracing::ScopedAnnotation annotation("SetProtoFromGPU");
|
/external/tensorflow/tensorflow/core/kernels/data/ |
H A D | map_and_batch_dataset_op.cc | 336 port::Tracing::TraceMe activity(strings::StrCat(prefix(), "::Start")); 361 port::Tracing::TraceMe activity(strings::StrCat(prefix(), "::Wait"));
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/ |
H A D | gpu_backend_lib.cc | 494 tensorflow::port::Tracing::TraceMe annotation(
|