Searched defs:cur_time (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/cmd/hal/hald/
H A Dutil_pm.c160 time_t cur_time = time(NULL); local
168 if ((cur_time == battery_info->last_time) || (chargeLevel == battery_info->last_level)) {
174 chargeRate = ((chargeLevel - battery_info->last_level) * 60 * 60) / (cur_time - battery_info->last_time);
183 battery_info->last_time = cur_time;
191 battery_info->last_time = cur_time;
/osnet-11/usr/src/lib/pam_modules/unix_session/
H A Dunix_session.c98 time_t cur_time; local
150 (void) time(&cur_time);
154 newll.ll_time = (time32_t)cur_time;
156 newll.ll_time = cur_time;
173 (void) ctime_r((const time_t *)&cur_time, buf,
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dtg3.c926 unsigned long link_time, cur_time; member in struct:tg3_fiber_aneginfo
962 ap->cur_time = 0;
969 ap->cur_time++;
1013 ap->cur_time = 0;
1027 ap->link_time = ap->cur_time;
1039 delta = ap->cur_time - ap->link_time;
1119 ap->link_time = ap->cur_time;
1138 delta = ap->cur_time - ap->link_time;
1154 ap->link_time = ap->cur_time;
1168 delta = ap->cur_time
[all...]

Completed in 429 milliseconds