Commit Graph

5 Commits

Author SHA1 Message Date
Matthew Kennedy decbaaef4a common getTimeNowUs 2024-04-25 22:01:46 -07:00
Matthew Kennedy be2c04813a common getTimeNowS 2024-04-25 21:57:50 -07:00
Matthew Kennedy b505b8ba0b time in seconds doesn't need a special type 2024-04-25 14:19:01 -07:00
Matthew Kennedy 9dc183a173
we use small time units here in the future (#287) 2023-11-01 22:31:27 -07:00
Andrey G 1ca5988877 time routines refactor (#4563)
* Extract time helpers from engine_controller_misc to efitime.cpp

* Rename currentTimeMillis() to getTimeNowMs()

We have getTimeNowNt(), getTimeNowUs(), currentTimeMillis() and getTimeNowSeconds()
Align a bit.

find . -type f -name '*.c*' -exec sed -i 's/currentTimeMillis/getTimeNowMs/g' {} \;

* Rename getTimeNowSeconds() to getTimeNowS()

To align with Nt, Us, Ms versions.

* Some comments about getTimeNowLowerNt()
2022-09-11 13:06:03 -04:00