Searched refs:ContextSwitch (Results 1 - 1 of 1) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dperf.c223 static void ContextSwitch(PRThreadScope scope1, PRThreadScope scope2) function
238 fprintf(stderr, "ContextSwitch: cannot create thread\n");
240 DPRINTF(("ContextSwitch: created %s thread = 0x%lx\n",
252 fprintf(stderr, "ContextSwitch: cannot create thread\n");
254 DPRINTF(("ContextSwitch: created %s thread = 0x%lx\n",
269 ContextSwitch(PR_LOCAL_THREAD, PR_LOCAL_THREAD);
274 ContextSwitch(PR_LOCAL_THREAD, PR_GLOBAL_THREAD);
279 ContextSwitch(PR_GLOBAL_THREAD, PR_LOCAL_THREAD);
284 ContextSwitch(PR_GLOBAL_THREAD, PR_GLOBAL_THREAD);

Completed in 144 milliseconds