Searched refs:time_struct (Results 1 – 2 of 2) sorted by relevance
1548 itimerspec_t time_struct; in set_timer() local1574 time_struct.it_value.tv_sec = interval; in set_timer()1575 time_struct.it_value.tv_nsec = 0; in set_timer()1576 time_struct.it_interval.tv_sec = interval; in set_timer()1577 time_struct.it_interval.tv_nsec = 0; in set_timer()1580 if ((timer_settime(t_id, 0, &time_struct, NULL)) != 0) { in set_timer()
1349 itimerspec_t time_struct; in stats_timer() local1371 time_struct.it_value.tv_sec = interval; in stats_timer()1372 time_struct.it_value.tv_nsec = 0; in stats_timer()1373 time_struct.it_interval.tv_sec = interval; in stats_timer()1374 time_struct.it_interval.tv_nsec = 0; in stats_timer()1377 if ((timer_settime(t_id, 0, &time_struct, NULL)) != 0) { in stats_timer()