Home
last modified time | relevance | path

Searched refs:stime (Results 1 – 25 of 72) sorted by relevance

123

/titanic_50/usr/src/cmd/acct/
H A Dacctprc.c70 ulong_t etime, stime; in main() local
88 stime = expand(ab.ac_stime) + expand(ab.ac_utime); in main()
95 pb.pt_cpu[0] = (double)stime * (double)elaps[0] / etime; in main()
96 pb.pt_cpu[1] = (stime > pb.pt_cpu[0])? stime - pb.pt_cpu[0] : 0; in main()
97 pb.pt_cpu[1] = stime - pb.pt_cpu[0]; in main()
98 if (stime) in main()
99 pb.pt_mem = (mem + stime - 1) / stime; in main()
H A Dacctprc1.c84 ulong_t etime, stime; in main() local
132 stime = expand(ab.ac_stime) + expand(ab.ac_utime); in main()
139 pb.pt_cpu[0] = (double)stime * (double)elaps[0] / etime; in main()
140 pb.pt_cpu[1] = (stime > pb.pt_cpu[0])? stime - pb.pt_cpu[0] : 0; in main()
141 pb.pt_cpu[1] = stime - pb.pt_cpu[0]; in main()
142 if (stime) in main()
143 pb.pt_mem = (mem + stime - 1) / stime; in main()
/titanic_50/usr/src/cmd/sa/
H A Dtimex.c65 char stime[9], etime[9]; in main() local
122 if (pflg + oflg) hmstime(stime); in main()
160 stime, etime, getpwuid(getuid())->pw_name, ttyid, aopt); in main()
264 hmstime(char stime[]) in hmstime() argument
271 strncpy(stime, ltime+11, 8); in hmstime()
272 stime[8] = '\0'; in hmstime()
/titanic_50/usr/src/cmd/bnu/
H A Dsecurity.c60 char stime[MODSTR]; /* date and time that transfer member
113 copyText(scptr->stime, sizeof(scptr->stime), NOTAVAIL);
193 scptr->stime, FS, in scWrite()
255 copyText(scptr->stime, sizeof(scptr->stime), timeStamp()); in scStime()
H A Daccount.c336 static time_t utime,stime; /* guaranteed 0 first time called */ in cpucycle() local
339 rval = ((tbuf.tms_utime-utime) + (tbuf.tms_stime-stime))*1000/HZ; in cpucycle()
341 stime = tbuf.tms_stime; in cpucycle()
/titanic_50/usr/src/lib/libc/port/sys/
H A Dtime.c30 #pragma weak _stime = stime
49 stime(const time_t *tp) in stime() function
/titanic_50/usr/src/uts/common/syscall/
H A Dtime.c51 stime(time_t time) in stime() function
78 return (stime((time_t)time)); in stime32()
/titanic_50/usr/src/uts/common/cpr/
H A Dcpr_stat.c72 cep->ce_sec.stime = cep->ce_sec.etime = tv.tv_sec; in cpr_stat_event_start()
74 cep->ce_msec.stime = cep->ce_msec.etime = tv.tv_nsec / 100000000; in cpr_stat_event_start()
110 cep->ce_sec.ltime = cep->ce_sec.etime - cep->ce_sec.stime; in cpr_stat_event_end()
120 (cep->ce_msec.etime <= cep->ce_msec.stime) ? 0 : in cpr_stat_event_end()
121 (cep->ce_msec.etime - cep->ce_msec.stime); in cpr_stat_event_end()
/titanic_50/usr/src/lib/libdladm/common/
H A Dusage.c504 net_time_t *st, net_time_t *et, char *stime, char *etime) in get_time_range() argument
509 if (stime == NULL && etime == NULL) in get_time_range()
512 if (stime != NULL) in get_time_range()
513 dissect_time(stime, st); in get_time_range()
517 if (stime != NULL || etime != NULL) { in get_time_range()
518 return (chk_time_bound(stime == NULL ? NULL : st, in get_time_range()
533 net_time_t *st, char *stime, uint64_t *lasttime) in get_starting_point() argument
541 if (stime == NULL) { in get_starting_point()
1040 char *logfile, char *resource, char *stime, char *etime, void *arg) in dladm_walk_usage_res() argument
1068 net_table->net_ctime_tail, &st, &et, stime, etime); in dladm_walk_usage_res()
[all …]
/titanic_50/usr/src/cmd/flowstat/
H A Dflowstat.c751 time_t stime; in show_history_date() local
765 stime = history->du_stime; in show_history_date()
767 localtime(&stime)); in show_history_date()
901 char *stime = NULL; in do_show_history() local
935 stime = optarg; in do_show_history()
969 if (resource == NULL && stime == NULL && etime == NULL) { in do_show_history()
994 } else if (resource == NULL && stime == NULL && etime == NULL && in do_show_history()
1002 DLADM_LOGTYPE_FLOW, file, resource, stime, etime, &state); in do_show_history()
1006 DLADM_LOGTYPE_FLOW, file, stime, etime, &state); in do_show_history()
/titanic_50/usr/src/uts/common/avs/ns/sdbc/
H A Dsafestore.c303 unsigned stime; in ss_alloc_write() local
304 stime = nsc_usec(); in ss_alloc_write()
327 (nsc_usec()-stime)); in ss_alloc_write()
/titanic_50/usr/src/lib/libc/common/sys/
H A D__time.s42 SYSCALL2_RVAL1(__stime,stime)
/titanic_50/usr/src/ucblib/libucb/port/sys/
H A Dgettimeofday.c84 return (stime(&t)); in settimeofday()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dsettimeofday.c63 return (stime(&t)); in settimeofday()
/titanic_50/usr/src/test/libc-tests/tests/
H A Dc11_threads.c206 long stime = 10 * NANOSEC / MILLISEC; in cthr_test_sleep() local
214 ts.tv_nsec = stime; in cthr_test_sleep()
219 VERIFY3S(end - start, >, stime); in cthr_test_sleep()
/titanic_50/usr/src/lib/libast/common/tm/
H A Dtvsettime.c59 return stime(s); in tvsettime()
/titanic_50/usr/src/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c84 struct timespec *stime) in pmcs_fwtime_to_systime() argument
108 stime->tv_sec = ss.sys_timestamp.tv_sec; in pmcs_fwtime_to_systime()
109 stime->tv_nsec = ss.sys_timestamp.tv_nsec; in pmcs_fwtime_to_systime()
112 if (stime->tv_nsec < nsecs) { in pmcs_fwtime_to_systime()
113 stime->tv_sec--; in pmcs_fwtime_to_systime()
114 stime->tv_nsec = stime->tv_nsec + NSECS_PER_SEC - nsecs; in pmcs_fwtime_to_systime()
116 stime->tv_nsec -= nsecs; in pmcs_fwtime_to_systime()
118 stime->tv_sec -= secs; in pmcs_fwtime_to_systime()
120 if (stime->tv_nsec + nsecs > NSECS_PER_SEC) { in pmcs_fwtime_to_systime()
121 stime->tv_sec++; in pmcs_fwtime_to_systime()
[all …]
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgc_via_tkt.c298 st_err = krb5_timestamp_to_sfstring(err_reply->stime, in krb5_get_cred_via_tkt()
317 abs(err_reply->stime - in krb5_get_cred_via_tkt()
340 st_err = krb5_timestamp_to_sfstring(err_reply->stime, in krb5_get_cred_via_tkt()
/titanic_50/usr/src/ucbhead/
H A Dunistd.h149 extern int stime(const time_t *);
/titanic_50/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/
H A Dtvlib9 #define _lib_stime 1 /* stime() in default lib(s) */
/titanic_50/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/
H A Dtvlib9 #define _lib_stime 1 /* stime() in default lib(s) */
/titanic_50/usr/src/lib/libast/sparc/src/lib/libast/FEATURE/
H A Dtvlib9 #define _lib_stime 1 /* stime() in default lib(s) */
/titanic_50/usr/src/lib/libast/i386/src/lib/libast/FEATURE/
H A Dtvlib9 #define _lib_stime 1 /* stime() in default lib(s) */
/titanic_50/usr/src/cmd/cfgadm/
H A Dcfgadm.c1390 time_t stime; in print_time() local
1398 stime = p->ap_status_time; in print_time()
1399 if (stime == (time_t)-1) { in print_time()
1404 if ((stime < year) || (stime > now)) { in print_time()
1406 dcgettext(NULL, FORMAT1, LC_TIME), localtime(&stime)); in print_time()
1409 dcgettext(NULL, FORMAT2, LC_TIME), localtime(&stime)); in print_time()
/titanic_50/usr/src/lib/libxcurses/h/posix/
H A Dmkslocal.h1100 m_textstr(4861, "stime,tty=TTY", "I"), "atime,args",\

123