Searched refs:SystemTime (Results 1 – 7 of 7) sorted by relevance
39 use std::time::{Duration, SystemTime};75 fn get_duration(vm_start_timestamp: Option<SystemTime>) -> Duration { in get_duration()166 vm_start_timestamp: Option<SystemTime>, in write_vm_booted_stats() argument
41 use std::time::SystemTime;140 Ok(metadata.modified()?.duration_since(SystemTime::UNIX_EPOCH)?.as_secs()) in last_updated()
43 use std::time::{Duration, SystemTime};260 pub start_timestamp: Option<SystemTime>,421 vm_metric.start_timestamp = Some(SystemTime::now()); in start()
32 use std::time::SystemTime;52 let start_time = SystemTime::now(); in verify_payload()
220 use std::time::{SystemTime, UNIX_EPOCH}; in uuid()225 let now = SystemTime::now().duration_since(UNIX_EPOCH)?; in uuid()
758 internal class SystemTime { class764 private fun getSystemTime(sharedPreferences: SharedPreferences): SystemTime { in getSystemTime()765 val systemTime = SystemTime() in getSystemTime()
34 let now = std::time::SystemTime::now() in db_now()