Searched refs:elapsed_second (Results 1 – 1 of 1) sorted by relevance
113 static void getDuration(time_t elapsed_second, char* buf, size_t bufSz) { in getDuration() argument114 if (elapsed_second < 0) { in getDuration()120 day = elapsed_second / 24 / 3600; in getDuration()121 elapsed_second = elapsed_second - day * 24 * 3600; in getDuration()122 hour = elapsed_second / 3600; in getDuration()123 min = (elapsed_second - 3600 * hour) / 60; in getDuration()124 second = elapsed_second - hour * 3600 - min * 60; in getDuration()