shared/trivial: rename time related functions to use "nsec"/"msec" abbreviation instead of "ns"/"ms"

The "ns" abbreviation doesn't look too nice. We mostly use "nsec" at other
places. Rename.
This commit is contained in:
Thomas Haller
2020-01-28 16:21:23 +01:00
parent 53f6858a27
commit 8b63b229dd
9 changed files with 22 additions and 21 deletions

View File

@@ -741,7 +741,7 @@ _addrtime_timestamp_to_nm (guint32 timestamp, gint32 *out_now_nm)
/* do all the calculations in milliseconds scale */
now_nm = nm_utils_get_monotonic_timestamp_msec ();
now_nl = nm_utils_clock_gettime_ms (CLOCK_MONOTONIC);
now_nl = nm_utils_clock_gettime_msec (CLOCK_MONOTONIC);
nm_assert (now_nm >= 1000);
nm_assert (now_nl >= 0);