PWM tests

This commit is contained in:
Fernando Jiménez Moreno 2017-07-21 14:58:30 +02:00
parent 06b409ad60
commit 585d0e52af
6 changed files with 166 additions and 0 deletions

View file

@ -110,4 +110,16 @@ impl PaintTimeMetrics {
}
}
}
pub fn get_navigation_start(&self) -> Option<f64> {
self.navigation_start
}
pub fn get_first_paint(&self) -> Option<f64> {
self.first_paint.get()
}
pub fn get_first_contentful_paint(&self) -> Option<f64> {
self.first_contentful_paint.get()
}
}