Searched refs:hours (Results 1 – 5 of 5) sorted by relevance
64 int get_uptime_string(char *newuptime, int *hours) in get_uptime_string() argument75 *hours = (int)(tm / 1000000000LL); in get_uptime_string()76 seconds = *hours % 60; in get_uptime_string()79 *hours /= 60; in get_uptime_string()80 minutes = *hours % 60; in get_uptime_string()83 *hours /= 60; in get_uptime_string()85 len = snprintf(newuptime, UPTIME_SIZE, "%04d:%02d:%02d", *hours, in get_uptime_string()313 int hours; in generate_crashfile() local332 n = get_uptime_string(uptime, &hours); in generate_crashfile()
304 int hours; in hist_raise_uptime() local326 ret = get_uptime_string(boot_time, &hours); in hist_raise_uptime()340 if (hours / uptime_hours >= loop_uptime_event) { in hist_raise_uptime()341 loop_uptime_event = (hours / uptime_hours) + 1; in hist_raise_uptime()
81 int hours; in cal_log_filepath() local99 if (get_uptime_string(timebuf, &hours) == -1) in cal_log_filepath()
178 Time interval in hours to generate a record.
41 int get_uptime_string(char *newuptime, int *hours);
Completed in 13 milliseconds