Searched refs:uptime (Results 1 – 2 of 2) sorted by relevance
6 my_awk=/tmp/.uptime.$$.awk7 my_log=/tmp/.uptime.$$.log218 cat /proc/uptime /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state >$my_log225 cat /proc/uptime /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state >>$my_log
236 static void get_uptime(double *uptime, double *idletime) in get_uptime() argument241 fscanf(fUptime, "%lg %lg", uptime, idletime); in get_uptime()246 *uptime = *idletime = 0.; in get_uptime()252 double uptime, idletime; in start_stop_uptime() local257 get_uptime(&uptime, &idletime); in start_stop_uptime()260 if (dUptime->success && uptime && idletime) in start_stop_uptime()263 dUptime->start_uptime = uptime - dUptime->start_uptime; in start_stop_uptime()265 dUptime->last_uptime = uptime - dUptime->last_uptime; in start_stop_uptime()727 double uptime, idletime, load = 0; in __rt_Buffer() local730 get_uptime(&uptime, &idletime); in __rt_Buffer()[all …]