IProfileMonitor#

class carb.profiler.IProfileMonitor#

Bases: pybind11_object

Interface to read profiling events captured by the profiler.

Methods

__init__(*args, **kwargs)

get_last_profile_events(self)

Returns a ProfileEvents snapshot of the most recent capture.

mark_frame_end(self)

Marks the end of a frame for the CPU timeline.

__init__(*args, **kwargs)#
get_last_profile_events(
self: carb.profiler._profiler.IProfileMonitor,
) carb.profiler._profiler.ProfileEvents#

Returns a ProfileEvents snapshot of the most recent capture.

mark_frame_end(
self: carb.profiler._profiler.IProfileMonitor,
) None#

Marks the end of a frame for the CPU timeline.