X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=blobdiff_plain;f=src%2Ftests%2Fthreads%2Fmlfqs-fair.c;h=3b1bea5a177301abb2d6b28b9887a3baf2a1a1ae;hp=f958f816460df7999873523e955ccd6a2d928354;hb=8d5f8c112280d6e9eee7da93326ff64b72145963;hpb=8a40154ad529f4c3d15068b3b3103197fb896add diff --git a/src/tests/threads/mlfqs-fair.c b/src/tests/threads/mlfqs-fair.c index f958f81..3b1bea5 100644 --- a/src/tests/threads/mlfqs-fair.c +++ b/src/tests/threads/mlfqs-fair.c @@ -2,7 +2,8 @@ The "fair" tests run either 2 or 20 threads all niced to 0. The threads should all receive approximately the same number - of ticks. + of ticks. Each test runs for 30 seconds, so the ticks should + also sum to approximately 30 * 100 == 3000 ticks. The mlfqs-nice-2 test runs 2 threads, one with nice 0, the other with nice 5, which should receive 1,904 and 1,096 ticks,