ProfileEvents#
- class carb.profiler.ProfileEvents#
Bases:
pybind11_objectProfile Events holder
Methods
__init__(*args, **kwargs)get_main_thread_id(self)Returns the main thread id in the captured events.
get_profile_events(self[, thread_id])Returns a tuple of event dicts; filter by thread_id if provided.
get_profile_thread_ids(self)Returns a tuple of thread ids found in the capture.
- __init__(*args, **kwargs)#
- get_main_thread_id( ) int#
Returns the main thread id in the captured events.
- get_profile_events(
- self: carb.profiler._profiler.ProfileEvents,
- thread_id: int = 0,
Returns a tuple of event dicts; filter by thread_id if provided.
- get_profile_thread_ids( ) tuple#
Returns a tuple of thread ids found in the capture.