Lines Matching defs:mode
6 * update function depending on the given mode, and show the thread
10 * When the random mode ('r') is set, the update function is chosen
15 * (0-9). In addition, it puts the mode suffix ('a' for avail, 'd' for
16 * delay, etc) for the random mode, as well as the suffix '!' indicating
63 int mode = running_mode, err;
69 mode = rand() % MODE_RANDOM;
70 switch (mode) {
94 fprintf(stderr, "%d%c%s", thread_no, mode_suffix[mode],
97 if (show_value && mode != MODE_HWSYNC)
118 fprintf(stderr, " -m str Running mode (avail, status, hwsync, timestamp, delay, random)\n");
120 fprintf(stderr, " -q Quiet mode\n");
169 fprintf(stderr, "invalid mode type\n");