Home
last modified time | relevance | path

Searched refs:activity_id (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/lib/
Dtraceme.h216 int64 activity_id = TraceMeRecorder::NewActivityId();
218 {name_generator(), GetCurrentTimeNanos(), -activity_id});
219 return activity_id;
230 int64 activity_id = TraceMeRecorder::NewActivityId();
232 {std::string(name), GetCurrentTimeNanos(), -activity_id});
233 return activity_id;
250 static void ActivityEnd(int64 activity_id) { in ActivityEnd() argument
253 if (TF_PREDICT_FALSE(activity_id != kUntracedActivity)) { in ActivityEnd()
256 {std::string(), -activity_id, GetCurrentTimeNanos()}); in ActivityEnd()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/DarwinLog/
DDarwinLogCollector.cpp472 DarwinLogCollector::GetActivityForID(os_activity_id_t activity_id) const { in GetActivityForID()
473 auto find_it = m_activity_map.find(activity_id); in GetActivityForID()
482 os_activity_id_t activity_id, std::string &result, size_t depth) const { in GetActivityChainForID_internal() argument
486 } else if (activity_id == 0) { in GetActivityChainForID_internal()
491 auto find_it = m_activity_map.find(activity_id); in GetActivityChainForID_internal()
507 DarwinLogCollector::GetActivityChainForID(os_activity_id_t activity_id) const { in GetActivityChainForID()
511 GetActivityChainForID_internal(activity_id, result, 1); in GetActivityChainForID()
573 entry->activity_create.unique_pid, entry->activity_id, in HandleStreamEntry()
578 std::make_pair(entry->activity_id, in HandleStreamEntry()
580 entry->activity_id, entry->parent_id))); in HandleStreamEntry()
[all …]
DDarwinLogCollector.h57 const char *GetActivityForID(os_activity_id_t activity_id) const override;
60 GetActivityChainForID(os_activity_id_t activity_id) const override;
80 void GetActivityChainForID_internal(os_activity_id_t activity_id,
84 ActivityInfo(const char *name, os_activity_id_t activity_id, in ActivityInfo()
86 : m_name(name), m_id(activity_id), m_parent_id(parent_activity_id) {} in ActivityInfo()
DLogMessageOsLog.cpp28 bool LogMessageOsLog::HasActivity() const { return m_entry.activity_id != 0; } in HasActivity()
31 return m_activity_store.GetActivityForID(m_entry.activity_id); in GetActivity()
35 return m_activity_store.GetActivityChainForID(m_entry.activity_id); in GetActivityChain()
DActivityStore.h20 virtual const char *GetActivityForID(os_activity_id_t activity_id) const = 0;
23 GetActivityChainForID(os_activity_id_t activity_id) const = 0;
DActivityStreamSPI.h152 os_activity_id_t activity_id; member
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/
DGenealogy.cpp124 bc.activity_id = breadcrumb->activity_id; in GetActivities()
138 ac.activity_id = activity->activity_id; in GetActivities()
158 msg.activity_id = 0; in GetActivities()
216 msg.activity_id = act; in GetActivities()
260 uint64_t activity_id = iter->second; in GetActivities() local
264 if (activity_search->activity_id == activity_id) { in GetActivities()
271 if (breadcrumb_search->activity_id == activity_id) { in GetActivities()
DGenealogy.h32 uint64_t activity_id; member
39 uint64_t activity_id; member
47 uint64_t activity_id; member
DGenealogySPI.h21 uint64_t activity_id; member
54 os_activity_t activity_id; member
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dtraceme_recorder_test.cc156 uint64 activity_id; in TEST() local
157 ASSERT_TRUE(absl::SimpleAtoi(event.name, &activity_id)); in TEST()
158 session_events.emplace(activity_id); in TEST()
160 if (current != 0 && activity_id != current + 1) { in TEST()
163 current = activity_id; in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc2913 auto* activity_id = in EmitTracingStart() local
2916 activity_id->setName(IrName(hlo, "activity_id")); in EmitTracingStart()
2917 activity_ids_[hlo] = activity_id; in EmitTracingStart()
2944 auto* activity_id = activity_ids_.at(hlo); in EmitTracingEnd() local
2946 {b->CreateBitCast(run_options, void_ptr_type), activity_id}); in EmitTracingEnd()
/external/llvm-project/lldb/tools/debugserver/source/
DRNBRemote.cpp5777 if (activity->activity_id != 0) { in HandlePacket_jThreadExtendedInfo()
5784 json << "\"id\":" << activity->activity_id << ","; in HandlePacket_jThreadExtendedInfo()
5807 json << "\"activity_id\":" << iter->activity_id << ","; in HandlePacket_jThreadExtendedInfo()
5829 json << "\"activity_id\":" << iter->activity_id << ","; in HandlePacket_jThreadExtendedInfo()