Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ uptime
Function
uptime
src/sys/sc/mod.rs:288–296 ·
view source on GitHub ↗
Uptime
()
Source
from the content-addressed store, hash-verified
286
287
// Uptime
288
pub fn uptime() -> f64
289
{
290
let res = unsafe
291
{
292
sc!(UT)
293
};
294
295
f64::from_bits(res as u64)
296
}
297
298
299
// Write
Callers
2
ut
Function · 0.70
poll
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected