-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
51 lines (40 loc) · 1.34 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
CS3753 (Operating Systems)
Fall 2018
University of Colorado Boulder
Programming Assignment 4
Public Code
By Andy Sayler - 2012
http://www.andysayler.com
Adopted From
Assignment by Dr. Alva Couch
http://www.cs.tufts.edu/~couch/
With help from:
Junho Ahn - 2012
---Folders---
handout - Assignment description and documentation
---Files---
Makefile - GNU makefile to build all relevant code
pager-basic.c - Basic paging strategy implementation that runs one process at a time.
pager-lru.c - LRU paging strategy implementation (you code this).
pager-predict.c - Predictive paging strategy implementation (you code this).
api-test.c - A pageit() implmentation that tests that simulator state changes
simulator.c - Core simualtor code (look but don't touch)
simulator.h - Exported functions and structs for use with simulator
programs.c - Defines test "programs" for simulator to run
pgm*.pseudo - Pseudo code of test programs from which programs.c was generated.
---Executables---
test-* - Runs simulator using "programs" defined in programs.c
and paging strategy defined in pager-*.c.
Includes various run-time options. Run with '-help' for details.
test-api - Runs a test of the simulator state changes
---Examples---
Build:
make
Clean:
make clean
View test options:
./test-* -help
Run pager-basic test:
./test-basic
Run API test:
./test-api