Commit Graph

10 Commits

Author SHA1 Message Date
LakshmiSrikumar
c195a7e06b Update non_preemptive_sjf_scheduling.cpp 2024-10-14 11:06:05 +05:30
LakshmiSrikumar
6622a645a0 Merge branch 'LakshmiSrikumar-patch-1' of https://github.com/LakshmiSrikumar/C-Plus-Plus into LakshmiSrikumar-patch-1 2024-10-13 17:18:05 +05:30
LakshmiSrikumar
6ebca75a66 Update non_preemptive_sjf_scheduling.cpp 2024-10-13 17:17:57 +05:30
DoGoodCoder
d568897529 Update cpu_scheduling_algorithms/non_preemptive_sjf_scheduling.cpp
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
2024-10-13 16:40:07 +05:30
LakshmiSrikumar
16d952f6fe Update non_preemptive_sjf_scheduling.cpp 2024-10-12 16:07:46 +05:30
LakshmiSrikumar
cbbfc88fa9 Update non_preemptive_sjf_scheduling.cpp 2024-10-12 14:38:00 +05:30
DoGoodCoder
ccb3f07208 Update cpu_scheduling_algorithms/non_preemptive_sjf_scheduling.cpp
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
2024-10-12 14:06:31 +05:30
LakshmiSrikumar
9d9b51f2d9 Create non_preemptive_sjf_scheduling.cpp
I have done the necessary changes.
The test function will generate 10 different testcases in which it will print  the before and after the SJF scheduling.

@realstealthninja Kindly review the PR and please accept it.
2024-10-12 11:04:34 +05:30
David Leal
26f6e98d9e chore: add cpu_scheduling_algorithms to CMake (#2477) 2023-06-09 10:08:38 -06:00
Pratyush219
95ed72a452 feat: Added implementation of FCFS CPU scheduling algorithm (#1684)
* FCFS scheduling algorithm in operating system
Added C++ implementation of FCFS scheduling algorithm in a new directory Operating-System/Scheduing-Algorithms

* Renamed files and directories to match guidelines

* Updated comments

* Added comments for member variables of FCFS class

* Deleted .vscode directory

* Replaced array of tuples with vector of tuples
Replaced formatted printf with cout and iomanip flags
Removed unused code blocks

* Replaced array of tuples with vector of tuples

* Removed nested directory

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for c95495b4

* clang-format and clang-tidy fixes for 732f247d

* Updated the documentation and used unsigned int for non-negative integers

* clang-format and clang-tidy fixes for 295f0cc6

* clang-format and clang-tidy fixes for 31f05910

* Added test cases using random number generator

* Replaced time(0) with time(nullptr)

* clang-format and clang-tidy fixes for 40d663d3

* Fixed documentation

* Rearranged code

* clang-format and clang-tidy fixes for b40a2801

* clang-format and clang-tidy fixes for 243dcc15

* Updated documentation

* clang-format and clang-tidy fixes for 899ff7ea

* Fixed some typos

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Replaced int with uint32_t in lines 259 and 263

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-15 11:34:00 -05:00