crosvm/metrics
Greg Schlomoff d87e4783d3 Use Duration instead of i64 for the metrics upload interval constant + use Instant instead of DateTime.
`Instant` is monotonically non-decreasing, which makes it a better candidate for this (e.g. avoid bugs when the time changes)

Change-Id: I524991808e852809df28b882373452769504c3de
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5277561
Auto-Submit: Greg Schlomoff <gregschlom@google.com>
Reviewed-by: Noah Gold <nkgold@google.com>
Commit-Queue: Noah Gold <nkgold@google.com>
Reviewed-by: Kaiyi Li <kaiyili@google.com>
2024-02-07 22:35:14 +00:00
..
protos metrics: Add missing process types 2023-02-22 20:01:38 +00:00
src Use Duration instead of i64 for the metrics upload interval constant + use Instant instead of DateTime. 2024-02-07 22:35:14 +00:00
build.rs metrics: migrate to proto_build_tools. 2022-11-12 01:02:23 +00:00
Cargo.toml Cargo.toml: add version to chrono dependencies 2023-08-11 21:02:25 +00:00