Home | History | Annotate | Download | only in gdbserver_tests

Lines Matching defs:burn

14 static int burn = 0; // after each sleep, will burn cpu in a tight 'burn' loop 
39 for (i = 0; i < burn; i++) loopnr++;
63 int burn;
75 fprintf(stderr, "%s ready to sleep and/or burn\n", s->name);
86 if (burn > 0 && s->burn)
90 fprintf(stderr, "%s finished to sleep and/or burn\n", s->name);
117 // threads wanting to burn cpu.
144 burn = atoll(argv[3]);
151 fprintf(stderr, "loops/sleep_ms/burn/threads_spec: %d %d %d %s\n",
152 loops, sleepms, burn, threads_spec);
156 b.burn = *threads_spec++ == 'B';
159 if (b.burn || b.sleep) {
166 l.burn = *threads_spec++ == 'B';
169 if (l.burn || l.sleep) {
176 p.burn = *threads_spec++ == 'B';
179 if (p.burn || p.sleep) {
186 m.burn = *threads_spec++ == 'B';