clock_t - C time.h

C examples for time.h:clock_t

Type

type

From


<ctime>
<time.h>

Description

Clock type

Demo Code


#include <stdio.h>
#include <time.h>

int main()//from  w w w.j  av a2s .c o  m
{
    clock_t t = clock();
    
    printf(" %u \n", CLOCKS_PER_SEC);
    printf(" %u \n", t);
    return 0;
}

Related Tutorials