beanmachine.ppl.compiler.profiler module
- class beanmachine.ppl.compiler.profiler.Event(begin: bool, kind: str, timestamp: int)
Bases:
object
- begin: bool
- kind: str
- timestamp: int
- class beanmachine.ppl.compiler.profiler.ProfileReport
Bases:
object
- calls: int
- children: Dict[str, beanmachine.ppl.compiler.profiler.ProfileReport]
- parent: Optional[beanmachine.ppl.compiler.profiler.ProfileReport]
- total_time: int
- class beanmachine.ppl.compiler.profiler.ProfilerData
Bases:
object
- begin(kind: str, timestamp: Optional[int] = None) None
- events: List[beanmachine.ppl.compiler.profiler.Event]
- finish(kind: str, timestamp: Optional[int] = None) None
- in_flight: List[beanmachine.ppl.compiler.profiler.Event]
- time_in(kind: str) int
- to_report() beanmachine.ppl.compiler.profiler.ProfileReport
- beanmachine.ppl.compiler.profiler.event_list_to_report(events) beanmachine.ppl.compiler.profiler.ProfileReport