-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
91 lines (84 loc) · 2.69 KB
/
index.html
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>OS Scheduling</title>
</head>
<body>
<form id="input">
<fieldset>
<!-- 폼 테두리-->
<div class="Process">
<div id="p1">
<h1>Process</h1>
<input
type="text"
name="arriveTime"
placeholder="arriveTime"
/><br />
<input type="text" name="burstTime" placeholder="burstTime" /><br />
<input type="text" name="Priority" placeholder="Priority" /><br />
</div>
<div id="p2">
<h1>Process</h1>
<input
type="text"
name="arriveTime"
placeholder="arriveTime"
/><br />
<input type="text" name="burstTime" placeholder="burstTime" /><br />
<input type="text" name="priority" placeholder="Priority" /><br />
</div>
<div id="p3">
<h1>Process</h1>
<input
type="text"
name="arriveTime"
placeholder="arriveTime"
/><br />
<input type="text" name="burstTime" placeholder="burstTime" /><br />
<input type="text" name="Priority" placeholder="Priority" /><br />
</div>
</div>
<div class="button">
<input type="button" value="FCFS" id="btn_FCFS" />
<input type="button" value="SJF" id="btn_SJF" />
<input type="button" value="Priority" id="btn_Priority" />
<input type="button" value="RR" id="btn_RR" />
<span id="RRCount" value="0">0</span>
<input type="button" value="^" id="btn_up" />
<input type="button" value="v" id="btn_down" />
</div>
</fieldset>
</form>
<form id="form_result">
<fieldset>
<table>
<caption>
<h1 id="textResult">Result</h1>
<p id="burstTime"></p>
<p id="waitTime"></p>
<p id="avgWait"></p>
</caption>
<div class="except">
<th>실행순서</th>
<th>도착시간</th>
<th>실행시간</th>
<th>기다림</th>
</div>
</table>
</fieldset>
</form>
<div class="chart"></div>
<div class="result"></div>
<script src="./schedule.js"></script>
<script src="./fcfs.js"></script>
<script src="./sjf.js"></script>
<script src="./priority.js"></script>
<script src="./rr.js"></script>
<script src="./result.js"></script>
<!--js-->
</body>
</html>