예제 #1
0
파일: main.c 프로젝트: kalmuthu/lwt
int
main(void)
{
	test_perf();
	test_crt_join_sched();
	test_perf_channels();
	test_multisend();
}
예제 #2
0
파일: ns.c 프로젝트: ryuxin/cbuf-composite
int
main(void)
{
	thd_set_affinity(pthread_self(), 0);
	ps_init(&ps);
	test_slab_alloc_lkup();
	test_smr_alloc_lkup();
	test_perf();

	return 0;
}
예제 #3
0
파일: main3.c 프로젝트: kalmuthu/threads
int
main(void)
{
	test_perf();
	test_perf_channels(0);
	test_perf_async_steam(ITER/10 < 100 ? ITER/10 : 100);
	test_crt_join_sched();
	test_multisend(0);
	test_multisend(ITER/10 < 100 ? ITER/10 : 100);
	test_grpwait(0, 3);
	test_grpwait(3, 3);

	return 0;
}