```
Instead of using 0.001 and similar constants to "convert" an int64_t to milliseconds, use the type-safe Ticks<> helper. Also, use steady clock instead of system clock, since the durations are used for benchmarking.
```
Backport of [[https://github.com/bitcoin/bitcoin/pull/26118 | core#26118]].