Lines Matching +full:non +full:- +full:continuous
47 " %s [-c #[,#..] -f] path\n"
49 " -c # Skip most tests and go straight to a high queue depth test\n"
59 " -f Only usable with continuous mode. Pin ourself to the CPUs\n"
99 mqd_t queue = -1;
105 .longName = "continuous",
110 .descrip = "Run continuous tests at a high queue depth in "
120 "re-run the tests using fake mode in order to check "
132 "continuous mode, but don't actually do any mq stuff, "
136 "the no-mqueue work and mqueue work tests",
192 if (queue != -1) in shutdown()
283 * open_queue - open the global queue for testing
284 * @attr - An attr struct specifying the desired queue traits
285 * @result - An attr struct that lists the actual traits the queue has
298 if (queue == -1) in open_queue()
317 printf("\tStarted fake continuous mode thread %d on CPU %d\n", i, in fake_cont_thread()
331 printf("\tStarted continuous mode thread %d on CPU %d\n", i, in cont_thread()
358 nsec = ((middle.tv_sec - start.tv_sec) * 1000000000) + \
359 (middle.tv_nsec - start.tv_nsec); \
363 send_total.tv_nsec -= 1000000000; \
365 nsec = ((end.tv_sec - middle.tv_sec) * 1000000000) + \
366 (end.tv_nsec - middle.tv_nsec); \
370 recv_total.tv_nsec -= 1000000000; \
392 if (--*prio < 0) in dec_prio()
393 *prio = mq_prio_max - 1; in dec_prio()
440 if (mq_prio_max == -1) in perf_test_thread()
475 for (cur_test = test2; cur_test->desc != NULL; cur_test++) { in perf_test_thread()
476 printf("%s:\n", cur_test->desc); in perf_test_thread()
486 for (i = 0; i < result.mq_maxmsg - 1; i++) { in perf_test_thread()
488 cur_test->func(&prio_out); in perf_test_thread()
491 nsec = ((unsigned long long)(end.tv_sec - start.tv_sec) * in perf_test_thread()
492 1000000000) + (end.tv_nsec - start.tv_nsec); in perf_test_thread()
499 cur_test->func(&prio_out); in perf_test_thread()
517 nsec = ((unsigned long long)(end.tv_sec - start.tv_sec) * in perf_test_thread()
518 1000000000) + (end.tv_nsec - start.tv_nsec); in perf_test_thread()
536 if (setpriority(PRIO_PROCESS, 0, -20) != 0) in increase_limits()
538 cur_nice = -20; in increase_limits()
553 if (sysconf(_SC_NPROCESSORS_ONLN) == -1) { in main()
610 * non-absolute path name, unlink will fail. So, in main()
631 fprintf(stderr, "Must pass at least one CPU to continuous " in main()
637 cpus_to_pin[0] = cpus_online - 1; in main()
699 if (sigaction(SIGUSR1, &sa, NULL) == -1) in main()
702 if (sigaction(SIGHUP, &sa, NULL) == -1) in main()
704 if (sigaction(SIGINT, &sa, NULL) == -1) in main()
706 if (sigaction(SIGQUIT, &sa, NULL) == -1) in main()
708 if (sigaction(SIGTERM, &sa, NULL) == -1) in main()