Symbol: random_int
test/stress/stress2/include/stress.h
35
extern int random_int(int, int);
test/stress/stress2/lib/main.c
108
sleep(random_int(1,10));
test/stress/stress2/lib/main.c
149
if (random_int(1,100) > op->load)
test/stress/stress2/lib/options.c
198
op->incarnations = random_int(1, op->incarnations);
test/stress/stress2/lib/random_int.c
45
j += (r = random_int(1,100));
test/stress/stress2/testcases/creat/creat.c
61
pct = random_int(1, 90);
test/stress/stress2/testcases/link/link.c
61
pct = random_int(1, 90);
test/stress/stress2/testcases/lockf2/lockf2.c
85
pos = random_int(0, 1024 * 1024 - 1);
test/stress/stress2/testcases/lockf2/lockf2.c
88
size = random_int(1, 1024 * 1024 - pos);
test/stress/stress2/testcases/lockf2/lockf2.c
93
size = random_int(1, size);
test/stress/stress2/testcases/mkdir/mkdir.c
57
pct = random_int(1, 90);
test/stress/stress2/testcases/mkfifo/mkfifo.c
96
bufsize = 2 << random_int(2, 12);
test/stress/stress2/testcases/rw/rw.c
61
pct = random_int(1, 90);
test/stress/stress2/testcases/socket/socket.c
94
bufsize = 2 << random_int(2, 12);
test/stress/stress2/testcases/swap/swap.c
57
pct = random_int(1, 10);
test/stress/stress2/testcases/swap/swap.c
60
pct = random_int(10, 20);
test/stress/stress2/testcases/swap/swap.c
63
pct = random_int(80, 90);
test/stress/stress2/testcases/swap/swap.c
66
pct = random_int(100, 110);
test/stress/stress2/testcases/symlink/symlink.c
59
pct = random_int(1, 90);
test/stress/stress2/testcases/syscall/syscall.c
88
num = random_int(0, SYS_MAXSYSCALL);
test/stress/stress2/testcases/tcp/tcp.c
154
bufsize = 2 << random_int(1, 12);
test/stress/stress2/testcases/tcp/tcp.c
75
if ((random_int(1,100) > 60) || (op->hog == 1)) {
test/stress/stress2/testcases/tcp/tcp.c
76
usleep(random_int(1000000,1000000) * 60);
test/stress/stress2/testcases/udp/udp.c
48
bufsize = 2 << random_int(1, 12);