Home
last modified time | relevance | path

Searched refs:clock (Results 1 – 25 of 115) sorted by relevance

12345

/illumos-gate/usr/src/cmd/isns/isnsd/
H A Ddsapi.c86 c = clock(); in target_add_obj()
93 c = clock() - c; in target_add_obj()
114 c = clock(); in target_modify_obj()
121 c = clock() - c; in target_modify_obj()
142 c = clock(); in target_delete_obj()
149 c = clock() - c; in target_delete_obj()
170 c = clock(); in target_delete_assoc()
177 c = clock() - c; in target_delete_assoc()
197 c = clock(); in target_update_commit()
204 c = clock() - c; in target_update_commit()
[all …]
/illumos-gate/usr/src/cmd/rpcsvc/
H A Dspray_subr.c59 gettimeofday((struct timeval *)&cumul.clock, 0);
60 if (cumul.clock.usec < start_time.usec) {
61 cumul.clock.usec += 1000000;
62 cumul.clock.sec -= 1;
64 cumul.clock.sec -= start_time.sec;
65 cumul.clock.usec -= start_time.usec;
H A Dspray.c146 / (1000000.0 * cumul.clock.sec + cumul.clock.usec); in main()
148 (1000000.0 * cumul.clock.sec + cumul.clock.usec); in main()
/illumos-gate/usr/src/cmd/saf/
H A Dlog.c107 time_t clock; /* current time in seconds */ in log() local
110 (void) time(&clock); in log()
111 timestamp = ctime(&clock); in log()
172 time_t clock; /* current time in seconds */ in debug() local
175 (void) time(&clock); in debug()
176 timestamp = ctime(&clock); in debug()
/illumos-gate/usr/src/uts/common/os/
H A Dtimer.c277 ASSERT(clock >= 0 && clock < CLOCK_MAX); in clock_add_backend()
278 ASSERT(clock_backend[clock] == NULL); in clock_add_backend()
280 clock_backend[clock] = backend; in clock_add_backend()
284 clock_get_backend(clockid_t clock) in clock_get_backend() argument
286 if (clock < 0 || clock >= CLOCK_MAX) in clock_get_backend()
289 return (clock_backend[clock]); in clock_get_backend()
293 clock_settime(clockid_t clock, timespec_t *tp) in clock_settime() argument
299 if ((backend = CLOCK_BACKEND(clock)) == NULL) in clock_settime()
329 clock_gettime(clockid_t clock, timespec_t *tp) in clock_gettime() argument
335 if ((backend = CLOCK_BACKEND(clock)) == NULL) in clock_gettime()
[all …]
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmlog.c139 time_t clock; /* current time in seconds */ in vlog() local
151 (void) time(&clock); in vlog()
152 timestamp = ctime(&clock); in vlog()
263 time_t clock; /* current time in seconds */ in debug() local
265 (void) time(&clock); in debug()
266 timestamp = ctime(&clock); in debug()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/safety/
H A Dtst.rw.d41 @[rw_read_held((krwlock_t *)&`clock)] = count();
48 @[rw_write_held((krwlock_t *)&`clock)] = count();
55 @[rw_iswriter((krwlock_t *)&`clock)] = count();
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.daytimed/
H A Din.daytimed.c49 time_t clock; in daytime() local
52 clock = time(NULL); in daytime()
53 (void) strlcpy(buf, ctime(&clock), sizeof (buf)); in daytime()
/illumos-gate/usr/src/stand/lib/sa/
H A Dtime.c90 gmtime(const time_t *clock) in gmtime() argument
101 days = *clock / SECS_PER_DAY; in gmtime()
102 rem = *clock % SECS_PER_DAY; in gmtime()
146 localtime(const time_t *clock) in localtime() argument
148 return (gmtime(clock)); in localtime()
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dgettimeofday.c44 time_t clock, time(time_t *); in gettimeofday() local
46 if (time(&clock) == (time_t) -1) in gettimeofday()
49 tvp->tv_sec = clock; in gettimeofday()
/illumos-gate/usr/src/uts/i86pc/io/
H A Dhrtimers.c49 static int hrt_bsd_cancel(int clock);
50 static int hrt_checkclock(register int clock);
303 hrt_bsd_cancel(int clock) in hrt_bsd_cancel() argument
308 switch (clock) { in hrt_bsd_cancel()
347 hrt_checkclock(register int clock) in hrt_checkclock() argument
349 switch (clock) in hrt_checkclock()
/illumos-gate/usr/src/cmd/ccidadm/
H A Dccidadm.c227 uint_t clock = CCID_CLASS_F_AUTO_BAUD | CCID_CLASS_F_AUTO_ICC_CLOCK; in ccidadm_list_slot_usable_str() local
233 (feat & clock) != clock) { in ccidadm_list_slot_usable_str()
419 atr_clock_stop_t clock; in ccidadm_atr_props() local
424 clock = atr_clock_stop(data); in ccidadm_atr_props()
436 (void) printf(" + Clock Stop: %u (%s)\n", clock, in ccidadm_atr_props()
437 atr_clock_stop_to_string(clock)); in ccidadm_atr_props()
442 atr_clock_stop_t clock; in ccidadm_atr_props() local
447 clock = atr_clock_stop(data); in ccidadm_atr_props()
461 (void) printf(" + Clock Stop: %u (%s)\n", clock, in ccidadm_atr_props()
462 atr_clock_stop_to_string(clock)); in ccidadm_atr_props()
/illumos-gate/usr/src/cmd/bnu/
H A Dgnxseq.c41 time_t clock; in gnxseq() local
82 time(&clock); in gnxseq()
83 tp = localtime(&clock); in gnxseq()
H A Dutility.c112 time_t clock; in timeStamp() local
115 (void) time(&clock); in timeStamp()
116 tp = localtime(&clock); in timeStamp()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmmake.c38 tmmake(time_t* clock) in tmmake() argument
40 return tmxmake(tmxclock(clock)); in tmmake()
H A Dtmleap.c38 tmleap(register time_t* clock) in tmleap() argument
40 return tmxsec(tmxleap(tmxclock(clock))); in tmleap()
H A Dtmform.c41 tmform(char* buf, const char* format, time_t* clock) in tmform() argument
43 return tmfmt(buf, 256, format, clock); in tmform()
H A Dtmdate.c38 tmdate(const char* s, char** e, time_t* clock) in tmdate() argument
40 return tmxsec(tmxdate(s, e, tmxclock(clock))); in tmdate()
H A Dtmfmt.c38 tmfmt(char* buf, size_t len, const char* format, time_t* clock) in tmfmt() argument
40 return tmxfmt(buf, len, format, tmxclock(clock)); in tmfmt()
H A Dtmscan.c38 tmscan(const char* s, char** e, const char* format, char** f, time_t* clock, long flags) in tmscan() argument
40 return tmxsec(tmxscan(s, e, format, f, tmxclock(clock), flags)); in tmscan()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dfmttime.c33 fmttime(const char* format, time_t clock) in fmttime() argument
39 tmfmt(buf, z, format, &clock); in fmttime()
/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/funcs/
H A Dtst.badcopyout.d49 copyout(this->a, (uintptr_t)&`clock, 4);
55 exit(arg4 == DTRACEFLT_BADADDR && arg5 == (uint64_t)&`clock ? 0 : 1);
H A Dtst.badcopyoutstr.d49 copyoutstr(this->str, (uintptr_t)&`clock, 10);
55 exit(arg4 == DTRACEFLT_BADADDR && arg5 == (uint64_t)&`clock ? 0 : 1);
/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A Dtest_misc.c42 *smb_gmtime_r(time_t *clock, struct tm *result);
192 smb_gmtime_r(time_t *clock, struct tm *result) in smb_gmtime_r() argument
199 if (clock == 0 || result == 0) in smb_gmtime_r()
203 tsec = *clock; in smb_gmtime_r()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcompat.c67 nsldapi_compat_ctime_r( const time_t *clock, char *buf, int buflen ) in nsldapi_compat_ctime_r() argument
69 NSLDAPI_CTIME1( clock, buf, buflen ); in nsldapi_compat_ctime_r()

12345