Searched refs:Tracing (Results 1 - 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/core/platform/default/
H A Dtracing.cc21 void Tracing::RegisterEvent(EventCategory id, const char* name) {
25 void Tracing::Initialize() {}
28 Tracing::Initialize();
H A Dtracing_impl.h44 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 Ddevice_tracer.cc291 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 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) {
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 Dtracing.h19 // 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 Dprocess_util.cc50 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 Dthreadpool_device.cc51 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 Dcopy_tensor.cc240 port::Tracing::ScopedAnnotation annotation(edge_name);
/external/tensorflow/tensorflow/core/platform/posix/
H A Dtracing.cc29 const char* Tracing::LogDir() {
/external/tensorflow/tensorflow/core/lib/core/
H A Dthreadpool.cc62 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 Dsycl_device.cc30 if (port::Tracing::IsActive()) {
33 port::Tracing::ScopedActivity region(port::Tracing::EventCategory::kCompute,
/external/python/cpython2/Demo/metaclasses/
H A DSimple.py3 class Tracing: class in inherits:
33 Trace = Tracing('Trace', (), {})
/external/tensorflow/tensorflow/core/protobuf/
H A Dworker_service.proto74 rpc Tracing(TracingRequest) returns (TracingResponse);
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
H A Dgrpc_remote_master.cc100 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 Dgrpc_master_service.cc238 port::Tracing::TraceMe* TraceRpc(
246 return new port::Tracing::TraceMe(name, id);
H A Dgrpc_worker_service.cc173 ENQUEUE_REQUEST(Tracing, false);
316 Status s = worker_->Tracing(&call->request, &call->response);
319 ENQUEUE_REQUEST(Tracing, false);
/external/skia/tests/
H A DTracingTest.cpp35 // 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 DTracingTest.cpp35 // 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 Dgpu_compiler.cc103 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 Dworker_interface.h154 Status Tracing(const TracingRequest* request, TracingResponse* response) { function in class:tensorflow::WorkerInterface
/external/tensorflow/tensorflow/compiler/jit/
H A Dxla_device.cc244 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 Dgpu_device.cc411 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 Dgpu_util.cc154 port::Tracing::ScopedAnnotation annotation("SetProtoFromGPU");
/external/tensorflow/tensorflow/core/kernels/data/
H A Dmap_and_batch_dataset_op.cc336 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 Dgpu_backend_lib.cc494 tensorflow::port::Tracing::TraceMe annotation(

Completed in 432 milliseconds

12