HomeSort by: relevance | last modified time | path
    Searched defs:clock_monotonic (Results 1 - 2 of 2) sorted by relevancy

  /src/usr.bin/rump_dhcpclient/
common.c 62 int clock_monotonic; variable in typeref:typename:int
78 * Which is why we use CLOCK_MONOTONIC, but it is not available on all
86 #if defined(_POSIX_MONOTONIC_CLOCK) && defined(CLOCK_MONOTONIC)
91 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) {
92 posix_clock = CLOCK_MONOTONIC;
93 clock_monotonic = posix_clock_set = 1;
97 if (clock_monotonic) {
116 clock_monotonic = posix_clock_set = 1;
119 if (clock_monotonic) {
common.c 62 int clock_monotonic; variable in typeref:typename:int
78 * Which is why we use CLOCK_MONOTONIC, but it is not available on all
86 #if defined(_POSIX_MONOTONIC_CLOCK) && defined(CLOCK_MONOTONIC)
91 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) {
92 posix_clock = CLOCK_MONOTONIC;
93 clock_monotonic = posix_clock_set = 1;
97 if (clock_monotonic) {
116 clock_monotonic = posix_clock_set = 1;
119 if (clock_monotonic) {

Completed in 23 milliseconds