MCPcopy
hub / github.com/tinygrad/tinygrad / ProfilePointEvent

Class ProfilePointEvent

tinygrad/helpers.py:355–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353
354@dataclass(frozen=True)
355class ProfilePointEvent(ProfileEvent):
356 device:str; name:str; key:Any; arg:Any=field(default_factory=dict); ts:decimal.Decimal=field(default_factory=perf_counter_us) # noqa: E702
357
358cpu_events:list[ProfileEvent] = []
359@contextlib.contextmanager

Callers 9

allocateMethod · 0.90
deallocateMethod · 0.90
track_statsFunction · 0.90
addFunction · 0.90
sqtt_timelineFunction · 0.90
pma_timelineFunction · 0.90
unpack_occFunction · 0.90
profile_markerFunction · 0.85

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…