/illumos-gate/usr/src/uts/common/syscall/ |
H A D | time.c | 51 stime(time_t time) function 78 return (stime((time_t)time));
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | time.c | 30 #pragma weak _stime = stime 49 stime(const time_t *tp) function
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctprc.c | 70 ulong_t etime, stime; local 88 stime = expand(ab.ac_stime) + expand(ab.ac_utime); 95 pb.pt_cpu[0] = (double)stime * (double)elaps[0] / etime; 96 pb.pt_cpu[1] = (stime > pb.pt_cpu[0])? stime - pb.pt_cpu[0] : 0; 97 pb.pt_cpu[1] = stime - pb.pt_cpu[0]; 98 if (stime) 99 pb.pt_mem = (mem + stime - 1) / stime;
|
H A D | acctprc1.c | 84 ulong_t etime, stime; local 132 stime = expand(ab.ac_stime) + expand(ab.ac_utime); 139 pb.pt_cpu[0] = (double)stime * (double)elaps[0] / etime; 140 pb.pt_cpu[1] = (stime > pb.pt_cpu[0])? stime - pb.pt_cpu[0] : 0; 141 pb.pt_cpu[1] = stime - pb.pt_cpu[0]; 142 if (stime) 143 pb.pt_mem = (mem + stime - 1) / stime;
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | account.c | 329 * return cputime(utime+stime) since last time called 336 static time_t utime,stime; /* guaranteed 0 first time called */ local 339 rval = ((tbuf.tms_utime-utime) + (tbuf.tms_stime-stime))*1000/HZ; 341 stime = tbuf.tms_stime;
|
H A D | security.c | 60 char stime[MODSTR]; /* date and time that transfer member in struct:secXfer 113 copyText(scptr->stime, sizeof(scptr->stime), NOTAVAIL); 193 scptr->stime, FS, 255 copyText(scptr->stime, sizeof(scptr->stime), timeStamp());
|
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | safestore.c | 303 unsigned stime; local 304 stime = nsc_usec(); 327 (nsc_usec()-stime));
|
H A D | sd_bcache.c | 2480 unsigned stime = nsc_usec(); local 2485 cd, 0, BLK_TO_FBA_NUM(cblk), (nsc_usec()-stime), 0);
|
/illumos-gate/usr/src/cmd/sa/ |
H A D | timex.c | 65 char stime[9], etime[9]; local 122 if (pflg + oflg) hmstime(stime); 160 stime, etime, getpwuid(getuid())->pw_name, ttyid, aopt); 260 * hmstime() sets current time in hh:mm:ss string format in stime; 264 hmstime(char stime[]) argument 271 strncpy(stime, ltime+11, 8); 272 stime[8] = '\0';
|
H A D | sadp.c | 266 char *ctime(), *stime; local 602 stime = ctime (&curt); 603 printf("\n\n%s\n", stime);
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | c11_threads.c | 206 long stime = 10 * NANOSEC / MILLISEC; local 214 ts.tv_nsec = stime; 219 VERIFY3S(end - start, >, stime);
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | ramdata.h | 99 timestruc_t syslast; /* most recent value of stime */ 189 timestruc_t stime; /* time spent in system call */ member in struct:syscount
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_mem.c | 364 clock_t stime = ddi_get_lbolt(); local 416 stime = ddi_get_lbolt() - stime; 417 PR_MEM("%s: scrub ticks = %ld (%ld secs)\n", f, stime, stime / hz);
|
/illumos-gate/usr/src/cmd/flowstat/ |
H A D | flowstat.c | 751 time_t stime; local 765 stime = history->du_stime; 767 localtime(&stime)); 901 char *stime = NULL; local 935 stime = optarg; 969 if (resource == NULL && stime == NULL && etime == NULL) { 994 } else if (resource == NULL && stime == NULL && etime == NULL && 1002 DLADM_LOGTYPE_FLOW, file, resource, stime, etime, &state); 1006 DLADM_LOGTYPE_FLOW, file, stime, etime, &state);
|
/illumos-gate/usr/src/cmd/power/ |
H A D | powerd.c | 978 time_t itime, stime, next_time, max_time; local 987 stime = (shutdown_time == 0) ? max_time : shutdown_time; 988 next_time = MIN(itime, stime);
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | usage.c | 500 * If stime is lower then head or etime is greated than tail, adjust. 504 net_time_t *st, net_time_t *et, char *stime, char *etime) 509 if (stime == NULL && etime == NULL) 512 if (stime != NULL) 513 dissect_time(stime, st); 517 if (stime != NULL || etime != NULL) { 518 return (chk_time_bound(stime == NULL ? NULL : st, 533 net_time_t *st, char *stime, uint64_t *lasttime) 541 if (stime == NULL) { 1040 char *logfile, char *resource, char *stime, cha 503 get_time_range(net_time_entry_t *head, net_time_entry_t *tail, net_time_t *st, net_time_t *et, char *stime, char *etime) argument 532 get_starting_point(net_time_entry_t *head, net_time_entry_t **start, net_time_t *st, char *stime, uint64_t *lasttime) argument 1039 dladm_walk_usage_res(int (*fn)(dladm_usage_t *, void *), int logtype, char *logfile, char *resource, char *stime, char *etime, void *arg) argument 1185 dladm_walk_usage_time(int (*fn)(dladm_usage_t *, void *), int logtype, char *logfile, char *stime, char *etime, void *arg) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/pmcs/ |
H A D | pmcs.c | 84 struct timespec *stime) 108 stime->tv_sec = ss.sys_timestamp.tv_sec; 109 stime->tv_nsec = ss.sys_timestamp.tv_nsec; 112 if (stime->tv_nsec < nsecs) { 113 stime->tv_sec--; 114 stime->tv_nsec = stime->tv_nsec + NSECS_PER_SEC - nsecs; 116 stime->tv_nsec -= nsecs; 118 stime->tv_sec -= secs; 120 if (stime 83 pmcs_fwtime_to_systime(struct pmcs_hw ss, uint32_t fw_hi, uint32_t fw_lo, struct timespec *stime) argument [all...] |
/illumos-gate/usr/src/cmd/cfgadm/ |
H A D | cfgadm.c | 1390 time_t stime; local 1398 stime = p->ap_status_time; 1399 if (stime == (time_t)-1) { 1404 if ((stime < year) || (stime > now)) { 1406 dcgettext(NULL, FORMAT1, LC_TIME), localtime(&stime)); 1409 dcgettext(NULL, FORMAT2, LC_TIME), localtime(&stime));
|
/illumos-gate/usr/src/cmd/svc/svcs/ |
H A D | explain.c | 132 struct timeval stime; member in struct:__anon1865 467 SCF_TYPE_TIME, &instp->stime, 0, 0) != 0) 1963 time_t stime; local 2003 stime = svcp->stime.tv_sec; 2004 tmp = localtime(&stime);
|
H A D | svcs.c | 2431 time_t stime; local 2519 stime = tv.tv_sec; 2520 tmp = localtime(&stime); 2929 char *cp, stime[9]; local 2951 (void) strftime(stime, sizeof (stime), 2954 (void) strftime(stime, sizeof (stime), 2957 (void) strftime(stime, sizeof (stime), [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cpr.h | 459 time_t stime; /* start time on this event */ member in struct:cpr_tdata
|
/illumos-gate/usr/src/cmd/dlstat/ |
H A D | dlstat.c | 536 time_t stime; local 554 stime = history->du_stime; 556 localtime(&stime)); 697 char *stime = NULL; local 729 stime = optarg; 772 if (resource == NULL && stime == NULL && etime == NULL) { 789 } else if (resource == NULL && stime == NULL && etime == NULL && 797 DLADM_LOGTYPE_LINK, file, resource, stime, etime, &state); 801 DLADM_LOGTYPE_LINK, file, stime, etime, &state);
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | k5-int.h | 472 krb5_timestamp stime; /* time on server, for replay detection */ member in struct:_krb5_predicted_sam_response
|
H A D | krb5.h | 1201 krb5_timestamp stime; /* server sec portion */ member in struct:_krb5_error
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | drmach.c | 4571 clock_t stime = ddi_get_lbolt(); local 4575 stime = ddi_get_lbolt() - stime; 4577 "board %s from domain\n", stime, stime / hz, bp->cm.name);
|