Esempio n. 1
0
static void
do_log_uptime(FileBuff  log)
{
    char  buff[65];
    int   len;

    snprintf(buff,sizeof(buff),"%lld\n",get_uptime_jiffies());
    len = strlen(buff);
    file_buff_write(log, buff, len);
}
Esempio n. 2
0
/* called to get time (in ms) used by bootchart */
long long  bootchart_gettime( void )
{
    return 10LL*get_uptime_jiffies();
}
/* called to get time (in ms) used by bootchart */
static long long bootchart_gettime() {
    return 10LL*get_uptime_jiffies();
}
static void do_log_uptime(FILE* log) {
    fprintf(log, "%lld\n", get_uptime_jiffies());
}