/third_party/rust/crates/humantime/src/ |
D | wrapper.rs | 4 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()
|
D | date.rs | 4 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/ |
D | extern_impl.rs | 2 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/ |
D | Timer.h | 29 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/ |
D | Timer.h | 29 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/ |
D | mod.rs | 54 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()
|
D | datetime.rs | 246 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/ |
D | timer_test.cpp | 34 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/ |
D | timer_test.cpp | 34 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/ |
D | timer_test.cpp | 34 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/ |
D | timer.h | 147 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
|
D | timer.cpp | 90 << SystemTime(); in Report()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | timer.h | 147 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
|
D | timer.cpp | 90 << SystemTime(); in Report()
|
/third_party/spirv-tools/source/util/ |
D | timer.h | 147 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
|
D | timer.cpp | 90 << SystemTime(); in Report()
|
/third_party/rust/crates/tracing/tracing-opentelemetry/benches/ |
D | trace.rs | 7 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/ |
D | Cargo.toml | 4 A parser and formatter for std::time::{Duration, SystemTime}
|
D | BUILD.gn | 26 cargo_pkg_description = "A parser and formatter for std::time::{Duration, SystemTime}"
|
/third_party/rust/crates/tracing/tracing-opentelemetry/src/ |
D | layer.rs | 11 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/ |
D | sloggish_subscriber.rs | 29 time::SystemTime, 256 timestamp = humantime::format_rfc3339_seconds(SystemTime::now()), in event()
|
/third_party/rust/crates/serde/test_suite/tests/ |
D | test_de_error.rs | 13 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/ |
D | lib.rs | 228 pub use std::time::{SystemTime, UNIX_EPOCH};
|
/third_party/rust/crates/tracing/tracing-subscriber/src/fmt/format/ |
D | mod.rs | 31 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/ |
D | Timer.cpp | 136 Result.SystemTime = Seconds(sys).count(); in getCurrentTime()
|