Struct tinyprof::ProfilerState [] [src]

pub struct ProfilerState {
    // some fields omitted
}

Methods

impl ProfilerState

fn new() -> ProfilerState

fn previous_frame(&mut self) -> &mut ProfilerFrame

fn current_frame(&mut self) -> &mut ProfilerFrame

fn next_frame(&mut self)

fn begin_track_time(&mut self, name: String)

fn end_track_time(&mut self, time: f64)