mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-03-13 12:10:44 +01:00
This commit is contained in:
parent
a77df633d6
commit
f1dda6af07
1 changed files with 6 additions and 10 deletions
|
|
@ -715,16 +715,12 @@ impl<'a, O, A, B, I, F, G> Draw<O> for Map<O, A, B, I, F, G> where
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for PerfModel {
|
impl_default!(PerfModel: Self {
|
||||||
fn default () -> Self {
|
|
||||||
Self {
|
|
||||||
enabled: true,
|
enabled: true,
|
||||||
clock: quanta::Clock::new(),
|
clock: quanta::Clock::new(),
|
||||||
used: Default::default(),
|
used: Default::default(),
|
||||||
window: Default::default(),
|
window: Default::default(),
|
||||||
}
|
});
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl PerfModel {
|
impl PerfModel {
|
||||||
pub fn get_t0 (&self) -> Option<u64> {
|
pub fn get_t0 (&self) -> Option<u64> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue