Home
last modified time | relevance | path

Searched refs:EventId (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/
Devent_id.h33 struct EventId { struct
38 friend H AbslHashValue(H h, const EventId& c) { in AbslHashValue() argument
42 bool operator==(const EventId& r) const {
46 friend std::ostream& operator<<(std::ostream& os, EventId r) {
56 static EventId FromInt(uint64_t value) { in FromInt() argument
57 return EventId{value >> 44, value & 0xfffffffffff}; in FromInt()
Dgrpc_tpu_driver.cc50 explicit GrpcEvent(EventId id, GrpcTpuStream* stream) in GrpcEvent()
59 EventId id() const { return id_; } in id()
63 const EventId id_;
69 explicit ErrorEvent(Status status) : GrpcEvent(EventId{0, 0}, nullptr) { in ErrorEvent()
89 EventId id, std::shared_ptr<GrpcEvent> event, int64_t bytes, in GrpcBufferHandle()
100 EventId id() const { return id_; } in id()
106 const EventId id_;
115 explicit GrpcCompiledProgramHandle(EventId id, in GrpcCompiledProgramHandle()
124 EventId id() const { return id_; } in id()
144 const EventId id_;
[all …]
Dtpu_service.proto111 // If specified, a list of encoded EventId values.
113 // A unique, encoded EventId value.
132 // Echos the given encoded EventId value.
/external/rust/crates/tokio/src/signal/
Dregistry.rs12 pub(crate) type EventId = usize; typedef
36 fn event_info(&self, id: EventId) -> Option<&EventInfo>; in event_info()
45 fn event_info(&self, id: EventId) -> Option<&EventInfo> { in event_info()
80 fn register_listener(&self, event_id: EventId) -> watch::Receiver<()> { in register_listener()
90 fn record_event(&self, event_id: EventId) { in record_event() argument
132 pub(crate) fn register_listener(&self, event_id: EventId) -> watch::Receiver<()> { in register_listener()
138 pub(crate) fn record_event(&self, event_id: EventId) { in record_event() argument
Dunix.rs8 use crate::signal::registry::{globals, EventId, EventInfo, Globals, Init, Storage};
36 fn event_info(&self, id: EventId) -> Option<&EventInfo> { in event_info()
212 globals.record_event(signal as EventId); in action()
238 let siginfo = match globals.storage().get(signal as EventId) { in signal_enable()
369 Ok(globals().register_listener(kind.0 as EventId)) in signal_with_handle()
Dwindows.rs10 use crate::signal::registry::{globals, EventId, EventInfo, Init, Storage};
37 fn event_info(&self, id: EventId) -> Option<&EventInfo> { in event_info()
86 let rx = globals().register_listener(signum as EventId); in new()
115 globals.record_event(ty as EventId); in handler()
/external/libchrome/base/test/
Dtrace_event_analyzer.h262 static Query EventId() { return Query(EVENT_ID); } in EventId() function
Dtrace_event_analyzer.cc791 Query::EventId() == Query::OtherId()); in AssociateAsyncBeginEndEvents()