Searched refs:NS_PER_MS (Results 1 – 7 of 7) sorted by relevance
52 #define NS_PER_MS 1000000 macro164 rt_nanosleep(1 * NS_PER_MS); in low_prio_rt_thread()169 rt_nanosleep(1 * NS_PER_MS); in low_prio_rt_thread()179 rt_nanosleep(1 * NS_PER_MS); in low_prio_rt_thread()196 rt_nanosleep(1 * NS_PER_MS); in med_prio_thread()236 rt_nanosleep(10 * NS_PER_MS); in high_prio_rt_thread()256 rt_nanosleep(10 * NS_PER_MS); in high_prio_rt_thread()
48 #define PERIOD_A 40*NS_PER_MS49 #define PERIOD_B 80*NS_PER_MS50 #define PERIOD_C 160*NS_PER_MS186 printf(" period: %d ms\n", PERIOD_A / NS_PER_MS); in main()190 printf(" period: %d ms\n", PERIOD_B / NS_PER_MS); in main()194 printf(" period: %d ms\n", PERIOD_C / NS_PER_MS); in main()
186 period = atoi(v) * NS_PER_MS; in parse_args()197 period = DEFAULT_PERIOD * NS_PER_MS; in main()221 printf(" period: %d ms\n", period / NS_PER_MS); in main()
60 #define DEF_PERIOD 5*NS_PER_MS108 period = strtoull(v, NULL, 0) * NS_PER_MS; in parse_args()253 if (load_ms * NS_PER_MS >= period - OVERHEAD) { in main()269 period / NS_PER_MS); in main()290 start = rt_gettime() + 250 * NS_PER_MS; in main()
71 #define NS_PER_MS 1000000 macro
127 #define INTERVAL 100ULL * NS_PER_MS128 #define RUN_INTERVAL 20ULL * NS_PER_MS
35 NS_PER_MS = 1000000 variable