#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>

int main()
{
struct timeval t_start, t_end;

gettimeofday(&t_start,NULL);

printf("hello world\n");

gettimeofday(&t_end,NULL);

printf("cost time %ldus\n", t_end.tv_usec - t_start.tv_usec);

return 0;

}