Home
last modified time | relevance | path

Searched refs:boottimesecs (Results 1 – 3 of 3) sorted by relevance

/dports/misc/upclient/upclient-5.0b8/src/
H A Dstats-bsd.c153 static time_t boottimesecs; in initBoottime() local
171 boottimesecs = boottime.tv_sec; in initBoottime()
173 uplog(LOG_DEBUG, "initBoottime() initialized %d", boottimesecs); in initBoottime()
176 return boottimesecs; in initBoottime()
295 time_t boottimesecs; in getUptime() local
297 boottimesecs = initBoottime(); in getUptime()
299 if (boottimesecs) { in getUptime()
304 *uptimeminutes = (now - boottimesecs) / 60; in getUptime()
H A Dstats-sol.c362 static time_t boottimesecs; in initBoottime() local
392 boottimesecs = ut.ut_tv.tv_sec; in initBoottime()
395 boottimesecs); in initBoottime()
398 return boottimesecs; in initBoottime()
404 static time_t boottimesecs; in getUptime() local
406 boottimesecs = initBoottime(); in getUptime()
408 if (boottimesecs) { in getUptime()
413 *uptimeminutes = (now - boottimesecs) / 60; in getUptime()
H A Dstats-solaris7.c380 static time_t boottimesecs; in initBoottime() local
410 boottimesecs = ut.ut_tv.tv_sec; in initBoottime()
413 boottimesecs); in initBoottime()
416 return boottimesecs; in initBoottime()
422 static time_t boottimesecs; in getUptime() local
424 boottimesecs = initBoottime(); in getUptime()
426 if (boottimesecs) { in getUptime()
431 *uptimeminutes = (now - boottimesecs) / 60; in getUptime()