{"id":16759597,"url":"https://github.com/coderatul/cpu-sheduling","last_synced_at":"2025-07-13T06:32:04.971Z","repository":{"id":221966132,"uuid":"755899060","full_name":"coderatul/cpu-sheduling","owner":"coderatul","description":"cpu sheduling algorithm implemented in python","archived":false,"fork":false,"pushed_at":"2024-02-14T06:10:54.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-14T04:08:37.342Z","etag":null,"topics":["cpu-scheduling","fcfs","fcfs-scheduling","first-come-first-serve","round-robin-scheduling","shortest-job-first"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coderatul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-11T12:27:06.000Z","updated_at":"2024-09-29T06:41:21.000Z","dependencies_parsed_at":"2024-02-11T13:43:55.450Z","dependency_job_id":null,"html_url":"https://github.com/coderatul/cpu-sheduling","commit_stats":null,"previous_names":["coderatul/cpu-sheduling"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatul%2Fcpu-sheduling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatul%2Fcpu-sheduling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatul%2Fcpu-sheduling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderatul%2Fcpu-sheduling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderatul","download_url":"https://codeload.github.com/coderatul/cpu-sheduling/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225862590,"owners_count":17535993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpu-scheduling","fcfs","fcfs-scheduling","first-come-first-serve","round-robin-scheduling","shortest-job-first"],"created_at":"2024-10-13T04:08:33.117Z","updated_at":"2025-07-13T06:32:04.964Z","avatar_url":"https://github.com/coderatul.png","language":"Python","readme":"# CPU Scheduling Algorithms\n---\nThis repository provides Python implementations of CPU scheduling algorithms, starting with **First Come First Serve (FCFS)**.\n\n\u003cimg src=\"https://github.com/user-attachments/assets/c3b08ea9-09cc-480f-a0e6-9fd7a8673b11\" width=\"350\" height=\"200\"\u003e\n\n\n\n## First Come First Serve (FCFS)\n\n- **Overview**: A non-preemptive algorithm executing processes in arrival order.\n- **Features**: Handles duplicate arrival times and detects halts effectively.\n\n### Usage\n\n```python\nprcs = [\"P1\", \"P2\", \"P3\", \"P4\", \"P5\", \"P6\"]\nat = [4, 19, 2, 3, 2, 2]\nbt = [1, 2, 7, 1, 2, 2]\ns1 = CpuSheduling(prcs, at, bt)\ns1.fcfs()\n```\n\n### Output\n- Displays execution order, completion time, turnaround time, and waiting time in a tabular format.\n\u003cimg src=\"https://github.com/user-attachments/assets/9a88b96d-15e2-4ae0-875e-c7375befb5e6\" width=\"660\" height=\"237\"\u003e\n\n## Future Development\n\u003e Planned implementations include **SJF**, **SRTF**, and **RR** algorithms.\n\n## Contributions\nWe welcome contributions! Help implement SJF, SRTF, or RR by forking the repo, adding your code, and submitting a pull request. Let’s build this together!\n\n*last Release was on : April 17, 2025*\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderatul%2Fcpu-sheduling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderatul%2Fcpu-sheduling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderatul%2Fcpu-sheduling/lists"}