boot-tree: libdbus feed thread, dedicated VT, stage sections, bead timeline, demo example
This commit is contained in:
1 parent
097caf81a2
commit
63743d8807
12 files changed
+968
-404
No files matched your search
+1
-2
@@ -1,10 +1,9 @@
|
||||
use boot_tree::model::Micros;
|
||||
use rustix::{
|
||||
system::uname,
|
||||
time::{ClockId, clock_gettime},
|
||||
};
|
||||
|
||||
use crate::model::Micros;
|
||||
|
||||
pub fn monotonic_now() -> Micros {
|
||||
let now = clock_gettime(ClockId::Monotonic);
|
||||
now.tv_sec as Micros * 1_000_000 + now.tv_nsec as Micros / 1_000
|
||||
|
||||
Reference in new issue
Block a user