Home
last modified time | relevance | path

Searched refs:SystemTime (Results 1 – 25 of 32) sorted by relevance

12

/third_party/rust/crates/humantime/src/
Dwrapper.rs4 use std::time::{Duration as StdDuration, SystemTime};
47 pub struct Timestamp(SystemTime);
79 impl AsRef<SystemTime> for Timestamp {
80 fn as_ref(&self) -> &SystemTime { &self.0 } in as_ref() argument
84 type Target = SystemTime;
85 fn deref(&self) -> &SystemTime { &self.0 } in deref() argument
88 impl Into<SystemTime> for Timestamp {
89 fn into(self) -> SystemTime { self.0 } in into() argument
92 impl From<SystemTime> for Timestamp {
93 fn from(dur: SystemTime) -> Timestamp { Timestamp(dur) } in from()
Ddate.rs4 use std::time::{SystemTime, Duration, UNIX_EPOCH};
69 pub struct Rfc3339Timestamp(SystemTime, Precision);
85 pub fn parse_rfc3339(s: &str) -> Result<SystemTime, Error> { in parse_rfc3339() argument
109 pub fn parse_rfc3339_weak(s: &str) -> Result<SystemTime, Error> { in parse_rfc3339_weak() argument
203 pub fn format_rfc3339(system_time: SystemTime) -> Rfc3339Timestamp { in format_rfc3339()
212 pub fn format_rfc3339_seconds(system_time: SystemTime) -> Rfc3339Timestamp { in format_rfc3339_seconds()
221 pub fn format_rfc3339_millis(system_time: SystemTime) -> Rfc3339Timestamp { in format_rfc3339_millis()
230 pub fn format_rfc3339_micros(system_time: SystemTime) -> Rfc3339Timestamp { in format_rfc3339_micros()
239 pub fn format_rfc3339_nanos(system_time: SystemTime) -> Rfc3339Timestamp { in format_rfc3339_nanos()
245 pub fn get_ref(&self) -> &SystemTime { in get_ref() argument
[all …]
/third_party/rust/crates/env_logger/src/fmt/humantime/
Dextern_impl.rs2 use std::time::SystemTime;
36 time: SystemTime::now(), in timestamp()
45 time: SystemTime::now(), in timestamp_seconds()
54 time: SystemTime::now(), in timestamp_millis()
63 time: SystemTime::now(), in timestamp_micros()
72 time: SystemTime::now(), in timestamp_nanos()
86 time: SystemTime,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DTimer.h29 double SystemTime; ///< System time elapsed. variable
32 TimeRecord() : WallTime(0), UserTime(0), SystemTime(0), MemUsed(0) {} in TimeRecord()
40 double getProcessTime() const { return UserTime + SystemTime; } in getProcessTime()
42 double getSystemTime() const { return SystemTime; } in getSystemTime()
54 SystemTime += RHS.SystemTime;
60 SystemTime -= RHS.SystemTime;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTimer.h29 double SystemTime; ///< System time elapsed. variable
32 TimeRecord() : WallTime(0), UserTime(0), SystemTime(0), MemUsed(0) {} in TimeRecord()
40 double getProcessTime() const { return UserTime + SystemTime; } in getProcessTime()
42 double getSystemTime() const { return SystemTime; } in getSystemTime()
54 SystemTime += RHS.SystemTime;
60 SystemTime -= RHS.SystemTime;
/third_party/rust/crates/tracing/tracing-subscriber/src/fmt/time/
Dmod.rs54 pub fn time() -> SystemTime { in time()
55 SystemTime::default() in time()
99 pub struct SystemTime; struct
123 impl FormatTime for SystemTime { implementation
128 datetime::DateTime::from(std::time::SystemTime::now()) in format_time()
Ddatetime.rs246 impl From<std::time::SystemTime> for DateTime {
247 fn from(timestamp: std::time::SystemTime) -> DateTime { in from()
/third_party/skia/third_party/externals/spirv-tools/test/
Dtimer_test.cpp34 double SystemTime() override { return 0.002723; } in SystemTime() function in spvtools::utils::__anon191453380111::MockTimer
57 EXPECT_EQ(0.002723, timer.SystemTime()); in TEST()
95 double SystemTime() override { return count_stop_ * 0.002723; } in SystemTime() function in spvtools::utils::__anon191453380111::MockCumulativeTimer
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dtimer_test.cpp34 double SystemTime() override { return 0.002723; } in SystemTime() function in spvtools::utils::__anon1c7653240111::MockTimer
57 EXPECT_EQ(0.002723, timer.SystemTime()); in TEST()
95 double SystemTime() override { return count_stop_ * 0.002723; } in SystemTime() function in spvtools::utils::__anon1c7653240111::MockCumulativeTimer
/third_party/spirv-tools/test/
Dtimer_test.cpp34 double SystemTime() override { return 0.002723; } in SystemTime() function in spvtools::utils::__anon64fae1430111::MockTimer
57 EXPECT_EQ(0.002723, timer.SystemTime()); in TEST()
95 double SystemTime() override { return count_stop_ * 0.002723; } in SystemTime() function in spvtools::utils::__anon64fae1430111::MockCumulativeTimer
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dtimer.h147 virtual double SystemTime() { in SystemTime() function
325 if (sys_time_ >= 0 && Timer::SystemTime() >= 0) in Stop()
326 sys_time_ += Timer::SystemTime(); in Stop()
353 double SystemTime() override { return sys_time_; } in SystemTime() function
Dtimer.cpp90 << SystemTime(); in Report()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dtimer.h147 virtual double SystemTime() { in SystemTime() function
325 if (sys_time_ >= 0 && Timer::SystemTime() >= 0) in Stop()
326 sys_time_ += Timer::SystemTime(); in Stop()
353 double SystemTime() override { return sys_time_; } in SystemTime() function
Dtimer.cpp90 << SystemTime(); in Report()
/third_party/spirv-tools/source/util/
Dtimer.h147 virtual double SystemTime() { in SystemTime() function
325 if (sys_time_ >= 0 && Timer::SystemTime() >= 0) in Stop()
326 sys_time_ += Timer::SystemTime(); in Stop()
353 double SystemTime() override { return sys_time_; } in SystemTime() function
Dtimer.cpp90 << SystemTime(); in Report()
/third_party/rust/crates/tracing/tracing-opentelemetry/benches/
Dtrace.rs7 use std::time::SystemTime;
97 SpanBuilder::from_name(attrs.metadata().name()).with_start_time(SystemTime::now()), in on_new_span()
106 builder.with_end_time(SystemTime::now()); in on_close()
/third_party/rust/crates/humantime/
DCargo.toml4 A parser and formatter for std::time::{Duration, SystemTime}
DBUILD.gn26 cargo_pkg_description = "A parser and formatter for std::time::{Duration, SystemTime}"
/third_party/rust/crates/tracing/tracing-opentelemetry/src/
Dlayer.rs11 use std::time::{Instant, SystemTime};
679 .with_start_time(SystemTime::now()) in on_new_span()
838 SystemTime::now(), in on_event()
923 .with_end_time(SystemTime::now()) in on_close()
981 time::SystemTime,
1040 _: SystemTime, in add_event_with_timestamp() argument
1053 fn end_with_timestamp(&mut self, _timestamp: SystemTime) {} in end_with_timestamp() argument
/third_party/rust/crates/tracing/examples/examples/sloggish/
Dsloggish_subscriber.rs29 time::SystemTime,
256 timestamp = humantime::format_rfc3339_seconds(SystemTime::now()), in event()
/third_party/rust/crates/serde/test_suite/tests/
Dtest_de_error.rs13 use std::time::{Duration, SystemTime};
1486 assert_de_tokens_error::<SystemTime>( in test_systemtime_overflow_seq()
1499 assert_de_tokens_error::<SystemTime>( in test_systemtime_overflow_struct()
1518 assert_de_tokens_error::<SystemTime>( in test_systemtime_overflow()
/third_party/rust/crates/serde/serde/src/
Dlib.rs228 pub use std::time::{SystemTime, UNIX_EPOCH};
/third_party/rust/crates/tracing/tracing-subscriber/src/fmt/format/
Dmod.rs31 use super::time::{FormatTime, SystemTime};
399 pub struct Format<F = Full, T = SystemTime> {
575 impl Default for Format<Full, SystemTime> {
579 timer: SystemTime, in default()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DTimer.cpp136 Result.SystemTime = Seconds(sys).count(); in getCurrentTime()

12