Lines Matching +full:en +full:- +full:us
3 #include "qemu/host-utils.h"
28 " -n = number of threads\n"
29 " -m = use mutexes instead of atomic increments\n"
30 " -p = enable sync profiler\n"
31 " -d = duration in seconds\n"
32 " -r = range (will be rounded up to pow2)";
41 * From: https://en.wikipedia.org/wiki/Xorshift
42 * This is faster than rand_r(), and gives us a wider range (RAND_MAX is only
65 info->r = xorshift64star(info->r); in thread_func()
66 index = info->r & (range - 1); in thread_func()
110 info->r = (i + 1) ^ time(NULL); in create_threads()