ProfileEvents#

class carb.profiler.ProfileEvents#

Bases: pybind11_object

Profile 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(
self: carb.profiler._profiler.ProfileEvents,
) int#

Returns the main thread id in the captured events.

get_profile_events(
self: carb.profiler._profiler.ProfileEvents,
thread_id: int = 0,
) tuple#

Returns a tuple of event dicts; filter by thread_id if provided.

get_profile_thread_ids(
self: carb.profiler._profiler.ProfileEvents,
) tuple#

Returns a tuple of thread ids found in the capture.