Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggested Changes for efficiency calculation #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,21 @@ <h3>Preferences :</h3>
<button type="button" class="remove-btn">Delete Process</button>
<div id="context-switch-div">
<br>
<label for="context-switch">Context Switch Time : </label>
<label for="context-switch">Context Switch Time(CS in Gantt Chart): </label>
<input type="number" name="Context Switch" id="context-switch" min="0" step="1" value="0">
</div>
<div id="time-quantum" class="hide">
<br>
<label for="tq">Time Quantum : </label>
<input type="number" name="Time Quantum" id="tq" min="1" step="1" value="1">
</div>
<!-- Efficiency calculation can be added too here..
using
Efficiency=(Total time-total burst time)/Total time
similarly Throughput Calculation can be added too..
as these gives a faster idea(faster way of analysis).
-->

<br>
<button type="button" id="calculate">Calculate</button>
<button type="button" id="reset" onClick="window.location.reload();">Reset</button>
Expand All @@ -90,4 +97,4 @@ <h3>Preferences :</h3>

</body>

</html>
</html>