Home
last modified time | relevance | path

Searched refs:oldtime (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/sgs/libconv/common/
H A Dtime.c38 conv_time(struct timeval *oldtime, struct timeval *newtime, in conv_time() argument
45 sec = newtime->tv_sec - oldtime->tv_sec; in conv_time()
46 if (newtime->tv_usec >= oldtime->tv_usec) in conv_time()
47 usec = newtime->tv_usec - oldtime->tv_usec; in conv_time()
49 usec = (newtime->tv_usec + MICROSEC) - oldtime->tv_usec; in conv_time()
/titanic_41/usr/src/uts/common/os/
H A Dmsacct.c610 hrtime_t oldtime; in new_mstate() local
653 oldtime = *mstimep - 1; /* force CAS to fail */ in new_mstate()
656 oldtime = *mstimep; in new_mstate()
657 newtime += oldtime; in new_mstate()
660 } while (atomic_cas_64((uint64_t *)mstimep, oldtime, newtime) != in new_mstate()
661 oldtime); in new_mstate()
713 hrtime_t oldtime; in restore_mstate() local
780 oldtime = *mstimep - 1; /* force CAS to fail */ in restore_mstate()
783 oldtime = *mstimep; in restore_mstate()
784 newtime += oldtime; in restore_mstate()
[all …]
H A Dlgrp.c536 lgrp_latency_change(lgrp_handle_t hand, u_longlong_t oldtime, in lgrp_latency_change() argument
549 lgrp->lgrp_latency == oldtime) || in lgrp_latency_change()
/titanic_41/usr/src/cmd/stat/vmstat/
H A Dvmstat.c224 hrtime_t oldtime = new->is_crtime; in show_disk() local
232 oldtime = old->is_stats.wlastupdate; in show_disk()
233 hr_etime = new->is_stats.wlastupdate - oldtime; in show_disk()
/titanic_41/usr/src/lib/libshell/common/edit/
H A Dvi.c236 clock_t oldtime, newtime; in ed_viread() local
266 oldtime = times(&dummy); in ed_viread()
278 vp->typeahead = ((newtime-oldtime) < NTICKS); in ed_viread()