Add `SystemClock` (#8239)

This PR adds a `SystemClock` trait for abstracting away the system
clock.

This allows us to swap out the real system clock with a
`FakeSystemClock` in the tests, thus allowing the fake passage of time.

We're using this in `Telemetry` to better mock the clock for testing
purposes.

Release Notes:

- N/A
0de8672044Marshall Bowers committed on 2/23/2024, 3:28:08 AM· committed by GitHubparentcc8e3c2
16 files changedLine totals unavailable