/illumos-gate/usr/src/cmd/dtrace/test/tst/common/printf/ |
H A D | tst.printcont.d | 39 uint64_t ts; 43 ts = 53114233149441; 44 printf("%u\n", ts); 45 printf("%u\n", ts); 46 printf("%u\n", ts); 47 printf("%u\n", ts); 48 printf("%u\n", ts); 49 printf("%u\n", ts); 50 printf("%u\n", ts); 51 printf("%u\n", ts); [all...] |
/illumos-gate/usr/src/cmd/dtrace/demo/agg/ |
H A D | writetime.d | 29 self->ts = timestamp; 33 /self->ts/ 35 @time[execname] = avg(timestamp - self->ts); 36 self->ts = 0;
|
H A D | writetimeq.d | 29 self->ts = timestamp; 33 /self->ts/ 35 @time[execname] = quantize(timestamp - self->ts); 36 self->ts = 0;
|
/illumos-gate/usr/src/cmd/dtrace/demo/sched/ |
H A D | where.d | 29 self->ts = timestamp; 33 /self->ts/ 35 @[cpu] = quantize(timestamp - self->ts); 36 self->ts = 0;
|
H A D | howlong.d | 31 self->ts = timestamp; 35 /self->ts/ 39 lquantize((timestamp - self->ts) / 1000000, 0, 500, 25); 40 self->ts = 0;
|
H A D | qtime.d | 28 ts[args[0]->pr_lwpid, args[1]->pr_pid, args[2]->cpu_id] = 33 /ts[args[0]->pr_lwpid, args[1]->pr_pid, args[2]->cpu_id]/ 36 ts[args[0]->pr_lwpid, args[1]->pr_pid, args[2]->cpu_id]); 37 ts[args[0]->pr_lwpid, args[1]->pr_pid, args[2]->cpu_id] = 0;
|
H A D | whererun.d | 37 self->ts = timestamp; 41 /self->ts/ 43 @[cpu] = sum(timestamp - self->ts); 44 self->ts = 0;
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | mktime.c | 50 mktime(struct tm* ts) 55 tm.tm_sec = ts->tm_sec; 56 tm.tm_min = ts->tm_min; 57 tm.tm_hour = ts->tm_hour; 58 tm.tm_mday = ts->tm_mday; 59 tm.tm_mon = ts->tm_mon; 60 tm.tm_year = ts->tm_year; 61 tm.tm_wday = ts->tm_wday; 62 tm.tm_yday = ts->tm_yday; 63 tm.tm_isdst = ts [all...] |
H A D | strptime.c | 48 strptime(const char* s, const char* format, struct tm* ts) 56 tm.tm_sec = ts->tm_sec; 57 tm.tm_min = ts->tm_min; 58 tm.tm_hour = ts->tm_hour; 59 tm.tm_mday = ts->tm_mday; 60 tm.tm_mon = ts->tm_mon; 61 tm.tm_year = ts->tm_year; 62 tm.tm_wday = ts->tm_wday; 63 tm.tm_yday = ts->tm_yday; 64 tm.tm_isdst = ts [all...] |
H A D | getdate.c | 61 static struct tm ts; 71 ts.tm_sec = tm->tm_sec; 72 ts.tm_min = tm->tm_min; 73 ts.tm_hour = tm->tm_hour; 74 ts.tm_mday = tm->tm_mday; 75 ts.tm_mon = tm->tm_mon; 76 ts.tm_year = tm->tm_year; 77 ts.tm_wday = tm->tm_wday; 78 ts.tm_yday = tm->tm_yday; 79 ts [all...] |
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | timespec.h | 41 #define TIMEVAL_TO_TIMESPEC(tv, ts) \ 43 (ts)->tv_sec = (tv)->tv_sec; \ 44 (ts)->tv_nsec = (tv)->tv_usec * 1000; \ 46 #define TIMESPEC_TO_TIMEVAL(tv, ts) \ 48 (tv)->tv_sec = (ts)->tv_sec; \ 49 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | timespec_get.c | 24 timespec_get(struct timespec *ts, int base) argument 29 if (clock_gettime(CLOCK_REALTIME, ts) != 0)
|
H A D | poll.c | 44 timespec_t ts; local 50 ts.tv_sec = timeout / MILLISEC; 51 ts.tv_nsec = (timeout % MILLISEC) * MICROSEC; 52 tsp = &ts;
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | utimesys.c | 52 timespec_t ts[2]; local 61 ts[0].tv_sec = ltimes.actime; 62 ts[0].tv_nsec = 0; 63 ts[1].tv_sec = ltimes.modtime; 64 ts[1].tv_nsec = 0; 65 tsp = ts; 74 timespec_t ts[2]; local 83 ts[0].tv_sec = ltimes[0].tv_sec; 84 ts[0].tv_nsec = ltimes[0].tv_usec * 1000; 85 ts[ 97 timespec_t ts[2]; local [all...] |
/illumos-gate/usr/src/cmd/dtrace/demo/intro/ |
H A D | rwtime.d | 31 ts[probefunc] = timestamp; 36 /pid == $1 && ts[probefunc] != 0/ 38 printf("%d nsecs", timestamp - ts[probefunc]);
|
/illumos-gate/usr/src/cmd/dtrace/demo/sdt/ |
H A D | intr.d | 29 self->ts = vtimestamp; 33 /self->ts/ 37 this->devi->devi_instance] = quantize(vtimestamp - self->ts);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/docsExamples/ |
H A D | rwtime.d | 42 ts[probefunc] = timestamp; 47 /(ts[probefunc] != 0) && (pid == 100551)/ 49 printf("%d nsecs\n", timestamp - ts[probefunc]);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | gc_frm_kdc.c | 57 #define NXT_TGT_IS_CACHED(ts) \ 58 ((ts)->nxt_tgt == (ts)->cur_cc_tgt) 60 #define MARK_CUR_CC_TGT_CLEAN(ts) \ 62 (ts)->cc_tgts.dirty[(ts)->cc_tgts.cur] = 0; \ 106 #define TR_DBG(ts, prog) tr_dbg(ts, prog) 107 #define TR_DBG_RET(ts, prog, ret) tr_dbg_ret(ts, pro 190 init_cc_tgts(struct tr_state *ts) argument 207 shift_cc_tgts(struct tr_state *ts) argument 233 clean_cc_tgts(struct tr_state *ts) argument 252 tr_dbg(struct tr_state *ts, const char *prog) argument 277 tr_dbg_ret(struct tr_state *ts, const char *prog, krb5_error_code ret) argument 284 tr_dbg_rtree(struct tr_state *ts, const char *prog, krb5_principal princ) argument 338 init_rtree(struct tr_state *ts, krb5_principal client, krb5_principal server) argument 370 retr_local_tgt(struct tr_state *ts, krb5_principal client) argument 399 try_ccache(struct tr_state *ts, krb5_creds *tgtq) argument 457 find_nxt_kdc(struct tr_state *ts) argument 532 try_kdc(struct tr_state *ts, krb5_creds *tgtq) argument 597 kdc_mcred(struct tr_state *ts, krb5_principal client, krb5_creds *mcreds) argument 630 next_closest_tgt(struct tr_state *ts, krb5_principal client) argument 775 struct tr_state state, *ts; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | hardclk.c | 57 tod_set(timestruc_t ts) argument 61 tod_set_prev(ts); /* for tod_validate() */ 62 TODOP_SET(tod_ops, ts); 74 timestruc_t ts; local 78 ts = TODOP_GET(tod_ops); 79 ts.tv_sec = tod_validate(ts.tv_sec); 80 return (ts); 126 timestruc_t ts; local 129 ts [all...] |
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | timespec_get.c | 44 struct timespec ts, pre, post; local 46 VERIFY0(timespec_get(&ts, TIME_UTC + 1)); 47 VERIFY0(timespec_get(&ts, TIME_UTC - 1)); 48 VERIFY0(timespec_get(&ts, UINT16_MAX)); 51 VERIFY3S(timespec_get(&ts, TIME_UTC), ==, TIME_UTC); 55 VERIFY3S(timespec_cmp(&pre, &ts), ==, 1); 56 VERIFY3S(timespec_cmp(&ts, &post), ==, 1);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/proc/ |
H A D | tst.sigwait.c | 40 struct itimerspec ts; local 58 ts.it_value.tv_sec = 1; 59 ts.it_value.tv_nsec = 0; 60 ts.it_interval.tv_sec = 0; 61 ts.it_interval.tv_nsec = NANOSEC / 2; 63 if (timer_settime(tid, TIMER_RELTIME, &ts, NULL) == -1) {
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/speculation/ |
H A D | err.D_AGG_SPEC.SpeculateWithLquant.d | 45 self->ts = timestamp; 49 /self->ts/ 54 @Lqauntus[execname] = lquantize(timestamp - self->ts, 0, 100, 1);
|
H A D | err.D_AGG_SPEC.SpeculateWithQuant.d | 45 self->ts = timestamp; 49 /self->ts/ 54 @Qauntus[execname] = quantize(timestamp - self->ts);
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | brdr_st.c | 49 border_set(ls, rs, ts, bs, tl, tr, bl, br) 50 const cchar_t *ls, *rs, *ts, *bs, *tl, *tr, *bl, *br; 57 ls, rs, ts, bs, tl, tr, bl, br 61 code = wborder_set(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | time_impl.h | 66 #define TIMESPEC32_TO_TIMESPEC(ts, ts32) { \ 67 (ts)->tv_sec = (time_t)(ts32)->tv_sec; \ 68 (ts)->tv_nsec = (ts32)->tv_nsec; \ 71 #define TIMESPEC_TO_TIMESPEC32(ts32, ts) { \ 72 (ts32)->tv_sec = (time32_t)(ts)->tv_sec; \ 73 (ts32)->tv_nsec = (ts)->tv_nsec; \ 76 #define TIMESPEC_OVERFLOW(ts) \ 77 ((ts)->tv_sec < TIME32_MIN || (ts)->tv_sec > TIME32_MAX)
|