Lines Matching full:static
12 static int loops = 15; // each thread+main will do this amount of loop
13 static int sleepms = 1000; // in each loop, will sleep "sleepms" milliseconds
14 static int burn = 0; // after each sleep, will burn cpu in a tight 'burn' loop
17 static pid_t gettid()
26 static void whoami(char *msg) __attribute__((unused));
27 static void whoami(char *msg)
34 static void do_burn ()
42 static int thread_ready = 0;
43 static pthread_cond_t ready = PTHREAD_COND_INITIALIZER;
44 static pthread_mutex_t ready_mutex = PTHREAD_MUTEX_INITIALIZER;
45 static void signal_ready (void)
66 static struct timeval t[4];
67 static int nr_sleeper_or_burner = 0;
68 static volatile int report_finished = 1;
70 static void *sleeper_or_burner(void *v)
97 static void wait_ready(void)
118 static void setaffinity(void)