Searched refs:intv_ts (Results 1 – 1 of 1) sorted by relevance
126 struct timespec intv_ts = { .tv_sec = 2, .tv_nsec = 0 }; in main() local154 intv_ts.tv_sec = v; in main()155 intv_ts.tv_nsec = (v - (float)intv_ts.tv_sec) * 1000000000; in main()175 (double)intv_ts.tv_sec + (double)intv_ts.tv_nsec / 1000000000.0, in main()226 nanosleep(&intv_ts, NULL); in main()