Searched refs:intv_ts (Results 1 – 1 of 1) sorted by relevance
132 struct timespec intv_ts = { .tv_sec = 2, .tv_nsec = 0 }; in main() local160 intv_ts.tv_sec = v; in main()161 intv_ts.tv_nsec = (v - (float)intv_ts.tv_sec) * 1000000000; in main()178 (double)intv_ts.tv_sec + (double)intv_ts.tv_nsec / 1000000000.0); in main()229 nanosleep(&intv_ts, NULL); in main()