/illumos-gate/usr/src/cmd/stat/mpstat/ |
H A D | mpstat.c | 221 double etime, percent; local 247 etime = (double)ticks / hz; 248 if (etime == 0.0) /* Prevent divide by zero errors */ 249 etime = 1.0; 250 percent = 100.0 / etime / hz; 257 kstat_delta(old_vm, &c2->cs_vm, "as_fault")) / etime, 258 kstat_delta(old_vm, &c2->cs_vm, "maj_fault") / etime, 259 kstat_delta(old_sys, &c2->cs_sys, "xcalls") / etime, 260 kstat_delta(old_sys, &c2->cs_sys, "intr") / etime, 261 kstat_delta(old_sys, &c2->cs_sys, "intrthread") / etime, 399 double etime, percent; local [all...] |
/illumos-gate/usr/src/cmd/stat/vmstat/ |
H A D | vmstat.c | 37 static double etime; variable 143 etime = ss->s_sys.ss_ticks / hz; 259 etime = cpu_ticks_delta(oldsys, newsys); 261 percent_factor = 100.0 / denom(etime); 263 * If any time has passed, convert etime to seconds per CPU 265 etime = etime >= 1.0 ? (etime / nr_active_cpus(new)) / hz : 1.0; 286 / etime); 288 kstat_delta(oldvm, newvm, "as_fault")) / etime); [all...] |
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctprc.c | 70 ulong_t etime, stime; local 86 if ((etime = SECS(expand(ab.ac_etime))) == 0) 87 etime = 1; 90 if(pnpsplit(ab.ac_btime, etime, elaps) == 0) { 95 pb.pt_cpu[0] = (double)stime * (double)elaps[0] / etime;
|
H A D | acctprc1.c | 84 ulong_t etime, stime; local 130 if ((etime = SECS(expand(ab.ac_etime))) == 0) 131 etime = 1; 134 if(pnpsplit(ab.ac_btime, etime, elaps) == 0) { 139 pb.pt_cpu[0] = (double)stime * (double)elaps[0] / etime;
|
H A D | acctcms.c | 305 ulong_t etime; local 345 if((etime = SECS(expand(acct.oab.ac_etime))) == 0) 346 etime = 1; 347 if (pnpsplit(acct.oab.ac_btime, etime, elaps) 354 ratio = (double)elaps[PRIME]/(double)etime; 396 if((etime = SECS(expand(acct.ab.ac_etime))) == 0) 397 etime = 1; 398 if(pnpsplit(acct.ab.ac_btime, etime, elaps) == 0) { 402 ratio = (double)elaps[PRIME]/(double)etime;
|
H A D | acctcom.c | 75 etime; variable 374 etime = (ulong_t)a->ac_btime + (ulong_t)SECS(elapsed); 377 if(te_a && (etime < te_a)) { 381 if(te_b && (etime > te_b)) { 567 cftime(time_buf, DATE_FMT1, (time_t *)&etime);
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_stat.c | 72 cep->ce_sec.stime = cep->ce_sec.etime = tv.tv_sec; 74 cep->ce_msec.stime = cep->ce_msec.etime = tv.tv_nsec / 100000000; 109 cep->ce_sec.etime = tv.tv_sec; 110 cep->ce_sec.ltime = cep->ce_sec.etime - cep->ce_sec.stime; 118 cep->ce_msec.etime = tv.tv_nsec / 100000000; 120 (cep->ce_msec.etime <= cep->ce_msec.stime) ? 0 : 121 (cep->ce_msec.etime - cep->ce_msec.stime);
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | security.c | 62 char etime[MODSTR]; /* date and time that transfer member in struct:secXfer 114 copyText(scptr->etime, sizeof(scptr->etime), NOTAVAIL); 194 scptr->etime 271 copyText(scptr->etime, sizeof(scptr->etime), timeStamp());
|
/illumos-gate/usr/src/cmd/avs/dsstat/ |
H A D | report.c | 151 double rtm, tps, avs, etime; local 162 etime = hr_etime / (double)NANOSEC; 166 if (rd_cnt) rd_cnt /= etime; 170 if (rd_kb) rd_kb /= etime; 174 if (wr_cnt) wr_cnt /= etime; 178 if (wr_kb) wr_kb /= etime;
|
H A D | sdbc_stats.c | 648 double etime; local 660 etime = hr_etime / (double)NANOSEC; 723 if ((flags & SDBC_INTAVG) && (etime > 0)) 724 divisor *= etime;
|
/illumos-gate/usr/src/cmd/sa/ |
H A D | timex.c | 65 char stime[9], etime[9]; local 147 if (pflg + oflg) hmstime(etime); 160 stime, etime, getpwuid(getuid())->pw_name, ttyid, aopt);
|
H A D | sar.c | 842 double etime, hr_etime, tps, avq, avs, pbusy; local 852 etime = hr_etime / (double)NANOSEC; 853 tps = (double)(xio[ii].kios.reads + xio[ii].kios.writes) / etime; 862 BLKS(xio[ii].kios.nread + xio[ii].kios.nwritten) / etime,
|
/illumos-gate/usr/src/cmd/acct/lib/ |
H A D | pnpsplit.c | 73 * split interval of length etime, starting at start into prime/nonprime 78 pnpsplit(start, etime, result) 80 ulong_t etime; 94 tend = start + etime;
|
/illumos-gate/usr/src/cmd/stat/iostat/ |
H A D | iostat.c | 165 static double percent; /* 100 / etime */ 576 double etime, hr_etime; local 639 etime = hr_etime / (double)NANOSEC; 645 rps /= etime; 651 wps /= etime; 669 krps /= etime; 678 kwps /= etime; 769 rps *= etime; 770 wps *= etime; 771 tps *= etime; [all...] |
/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) 514 if (etime != NULL) 515 dissect_time(etime, et); 517 if (stime != NULL || etime != NULL) { 519 etime == NULL ? NULL : et, 1040 char *logfile, char *resource, char *stime, char *etime, void *arg) 1068 net_table->net_ctime_tail, &st, &et, stime, etime); 1092 if (etime ! 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 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/lib/libsysevent/ |
H A D | libsysevent.h | 77 void sysevent_get_time(sysevent_t *ev, hrtime_t *etime);
|
H A D | llib-lsysevent | 69 void sysevent_get_time(sysevent_t *ev, hrtime_t *etime);
|
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_proc.c | 352 time_t etime; local 560 etime = atol(exptime); 562 config_entry->seconds_to_warn = etime; 564 config_entry->seconds_to_warn = etime * 60; 566 config_entry->seconds_to_warn = etime * 60 * 60;
|
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | do_as_req.c | 71 krb5_timestamp kdc_time, authtime, etime = 0; local 408 etime = min(client.expiration, client.pw_expiration); 410 etime = client.expiration ? client.expiration : client.pw_expiration; 412 reply_encpart.key_exp = etime;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | kstat_fr.c | 1437 hrtime_t etime; local 1440 ktp->stop_time = etime = gethrtime(); 1441 etime -= ktp->start_time; 1443 if (etime < ktp->min_time || num_events == 0) 1444 ktp->min_time = etime; 1445 if (etime > ktp->max_time) 1446 ktp->max_time = etime; 1447 ktp->elapsed_time += etime;
|
/illumos-gate/usr/src/cmd/flowstat/ |
H A D | flowstat.c | 902 char *etime = NULL; local 938 etime = 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/uts/common/c2/ |
H A D | audit_io.c | 232 au_emod_t e_mod, timestruc_t *etime) 315 if (etime != NULL) { 316 au_save_time(&hadr, etime, 1); 231 au_close_time(au_kcontext_t *kctx, token_t *dchain, int flag, au_event_t e_type, au_emod_t e_mod, timestruc_t *etime) argument
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cpr.h | 460 time_t etime; /* end time on this event */ member in struct:cpr_tdata
|
/illumos-gate/usr/src/uts/common/io/zyd/ |
H A D | zyd.c | 1118 clock_t etime; local 1131 etime = ddi_get_lbolt() + drv_usectohz(timeout); 1134 cv_timedwait_sig(&lock->cv, &lock->mutex, etime);
|
/illumos-gate/usr/src/cmd/dlstat/ |
H A D | dlstat.c | 698 char *etime = NULL; local 732 etime = 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);
|