-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPrio np.html
72 lines (65 loc) · 2.55 KB
/
Prio np.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Prio NP Scheduler</title>
<link rel="icon" type="image/png" href="logoa.png">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/5.1.3/css/bootstrap.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"rel="stylesheet">
<link rel="stylesheet" type="text/css" href="Prio np.css">
</head>
<body>
<nav class="navbar">
<label for="menu-toggle" id="hamburger-btn">
</label>
<ul class="links">
<li><a href="index.html">Home</a></li>
<li><a href="tutorial.html#NON-PRIO">Tutorial</a></li>
<li class="nav-link services">
<a href="#">Proccess Calculator
<span class="material-icons dropdown-icon">arrow_drop_down</span>
</a>
<ul class="drop-down">
<li><a href="fcfs.html">First-Come-First-Serve</a></li>
<li><a href="sjf.html">Shortest-Job-First</a></li>
<li><a href="srtf.html">Shortest-Remaining-Time-First</a></li>
<li><a href="Prio p.html">Priority (Preemptive)</a></li>
<li><a href="Prio np.html">Priority (Non-Preemptive)</a></li>
<li><a href="rr.html">Round Robin</a></li>
</ul>
</li>
</ul>
</nav>
<div class="container">
<div class="row">
<div class="col-md-12">
<h2>Priority (Non-Preemptive) Algorithm</h2>
<div class="button-container">
<button onclick="addRow()">Add Process</button>
<button onclick="compute()">Compute</button>
<div id="average" class="text-right average-box"></div>
<div id="ganttChart" class="gantt-chart"></div>
<div id="ganttTimeline" class="gantt-timeline"></div>
<p>Enter Arrival times, Burst times and Priorities for processes:</p>
<table id="inputTable" class="table table-bordered">
<thead>
<tr>
<th>Process</th>
<th>Arrival Time</th>
<th>Burst Time</th>
<th>Priorities</th>
<th>Finish Time</th>
<th>Turnaround Time</th>
<th>Waiting Time</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
<script src="Prio np.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.1.3/js/bootstrap.bundle.min.js"></script>
</body>
</html>