Lines Matching defs:debug_out
68 static PRFileDesc *debug_out = NULL;
82 debug_out = PR_STDOUT;
85 debug_out, "Usage: >./switch [-c n] [-t n] [-d] [-v] [-G] [-C n]\n");
87 debug_out, "-c n\tloops at thread level (default: %d)\n", DEFAULT_LOOPS);
89 debug_out, "-t n\tnumber of threads (default: %d)\n", DEFAULT_THREADS);
90 PR_fprintf(debug_out, "-d\tturn on debugging output (default: FALSE)\n");
91 PR_fprintf(debug_out, "-v\tturn on verbose output (default: FALSE)\n");
92 PR_fprintf(debug_out, "-G\tglobal threads only (default: FALSE)\n");
93 PR_fprintf(debug_out, "-C n\tconcurrency setting (default: 1)\n");
105 if (verbosity) PR_fprintf(debug_out, "+");
162 debug_out = PR_STDOUT;
163 PR_fprintf(debug_out, "Test parameters\n");
164 PR_fprintf(debug_out, "\tThreads involved: %d\n", thread_limit);
165 PR_fprintf(debug_out, "\tIteration limit: %d\n", loop_limit);
166 PR_fprintf(debug_out, "\tConcurrency: %d\n", concurrency);
168 debug_out, "\tThread type: %s\n",
226 debug_out, "Average switch times %d usecs for %d threads\n",
239 PL_FPrintError(debug_out, "Failed to interrupt");
252 PL_FPrintError(debug_out, "Failed to join");