Home | History | Annotate | Download | only in gdbserver_tests

Lines Matching refs:burn

15 static int burn = 0; // after each sleep, will burn cpu in a tight 'burn' loop 
41 for (i = 0; i < burn; i++) loopnr++;
65 int burn;
77 fprintf(stderr, "%s ready to sleep and/or burn\n", s->name);
91 if (burn > 0 && s->burn)
95 fprintf(stderr, "%s finished to sleep and/or burn\n", s->name);
122 // threads wanting to burn cpu.
149 burn = atoll(argv[3]);
156 fprintf(stderr, "loops/sleep_ms/burn/threads_spec: %d %d %d %s\n",
157 loops, sleepms, burn, threads_spec);
161 b.burn = *threads_spec++ == 'B';
164 if (b.burn || b.sleep) {
171 l.burn = *threads_spec++ == 'B';
174 if (l.burn || l.sleep) {
181 p.burn = *threads_spec++ == 'B';
184 if (p.burn || p.sleep) {
191 m.burn = *threads_spec++ == 'B';