pub fn add_text_marker(label: &str, text: &str, duration: Duration)
Records a marker of the given duration that just ended.