projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only grade mlfqs-speedup and mlfqs-priority if mlfqs-on and mlfqs-off
[pintos-anon]
/
grading
/
vm
/
page-shuffle.c
diff --git
a/grading/vm/page-shuffle.c
b/grading/vm/page-shuffle.c
index aadcb10512af45bee85236803d75beb15ec87216..ae2559e5010321d1d8ac0ffc959ef7405189e94e 100644
(file)
--- a/
grading/vm/page-shuffle.c
+++ b/
grading/vm/page-shuffle.c
@@
-1,7
+1,7
@@
#include <stdbool.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdio.h>
-#include "arc4.h"
-#include "cksum.h"
+#include "
../lib/
arc4.h"
+#include "
../lib/
cksum.h"
#define SIZE (128 * 1024)
#define SIZE (128 * 1024)
@@
-58,7
+58,7
@@
main (void)
for (i = 0; i < 10; i++)
{
shuffle ();
for (i = 0; i < 10; i++)
{
shuffle ();
- printf ("(page-shuffle) shuffle %
d
: cksum=%lu\n",
+ printf ("(page-shuffle) shuffle %
zu
: cksum=%lu\n",
i, cksum (buf, sizeof buf));
}
i, cksum (buf, sizeof buf));
}