DVUI

frameTiming

FrameTiming from the last completed frame: CPU nanoseconds spent in the event, build, and render phases plus the frame total. Computed at phase boundaries and snapshotted in end, so this is stable to read at any point in the frame loop.

Parameters

#
self:*const Self
*const Self

Source

Implementation

#
pub fn frameTiming(self: *const Self) FrameTiming {
    return self.frame_timing_last;
}