#else /* Best we can do */
ret.ts = time_now().ts;
#endif /* !HAVE_TIME_MONOTONIC */
- return ret;
+ return TIMEMONO_CHECK(ret);
}
struct timerel time_divide(struct timerel t, unsigned long div)
ret.ts = time_check_(t.ts, abortstr);
return ret;
}
+
+struct timemono timemono_check(struct timemono t, const char *abortstr)
+{
+ struct timemono ret;
+
+ ret.ts = time_check_(t.ts, abortstr);
+ return ret;
+}