Struct executorch_sys::torch::executor::EventTracer
source · #[repr(C, align(8))]pub struct EventTracer {
pub _bindgen_opaque_blob: [u64; 4],
}Expand description
EventTracer is a class that users can inherit and implement to log/serialize/stream etc. the profiling and debugging events that are generated at runtime for a model. An example of this is the ETDump implementation in the SDK codebase that serializes these events to a flatbuffer.
Fields§
§_bindgen_opaque_blob: [u64; 4]Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventTracer
impl RefUnwindSafe for EventTracer
impl Send for EventTracer
impl Sync for EventTracer
impl Unpin for EventTracer
impl UnwindSafe for EventTracer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more