akaros/tests/timer_deps.c
<<
>>
Prefs
   1#include <ros/time.h>
   2#include <time.h>
   3#include <sys/time.h>
   4#include <stdio.h>
   5
   6int main(int argc, char **argv)
   7{
   8        printf("sizeof timespec: %d\n", sizeof(struct timespec));
   9        printf("sizeof itimerspec: %d\n", sizeof(struct itimerspec));
  10        printf("sizeof timeval: %d\n", sizeof(struct timeval));
  11        printf("sizeof timezone: %d\n", sizeof(struct timezone));
  12        return 0;
  13}
  14