{"action":"created","comment":{"url":"https://api.github.com/repos/aau-hcl-p5/main/pulls/comments/240600328","pull_request_review_id":183661117,"id":240600328,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDYwMDMyOA==","diff_hunk":"@@ -34,13 +34,18 @@ \\subsubsection{Cyclic Executives}\n Since cyclic executives is a very simple scheduling method it is easy to implement and analyze, likewise it is also one of the most commonly used schedueling methods in real-time systems\\cite{RealTimeEmbeddedSystems}. \n \n \\subsubsection{Task-based scheduling}\n-Another commonly used scheduling method in real-time systems is the fixed-priority schedueling method, which is based on that each task has a given priority.\n-When using this scheduling method, each task is given a fixed priority before run-time which can not be changed.\n-The priority of a task is not an indication of the importance of the task it is a simply a priority to make the system scheduable\\cite{RealTimeEmbeddedSystems}. \n+In addition to the simple cyclic executive scheduling model, it is possible put parts of the program into tasks, and use a scheduler to determine which task should be run.\n+The most commonly used task-based scheduler is the fixed-priority scheduling method, which is based on each task having a fixed priority \\cite{RealTimeEmbeddedSystems}.\n+When using this scheduling method, each task is assigned a priority before run-time which cannot be changed.\n+The priority of a task is not an indication of the importance of the task it is a simply a priority to make the system schedulable\\cite{RealTimeEmbeddedSystems}. \n This scheduling method can work both with and without pre-emption of tasks, meaning that a running task can be set on hold when a higher priority task is ready to run.\n When using this method for scheduling, a task with a low priority is allowed to run if no other task with a higher priority is ready to run. \n Given that a low priority task is running and a higher priority task is marked as ready, the low priority task will be pre-empted in order to allow the higher priority to run.\n \n+Other task-based scheduling models include the earliest deadline first (EDF) model.\n+This model determines which task to run next based on the absolute deadlines of queued tasks, meaning that the next process to run is the one with the nearest deadline \\cite{RealTimeEmbeddedSystems}.","path":"report/3.Theory/2.RTS.tex","position":16,"original_position":16,"commit_id":"aadb7e6f79289695aef035983e49795d1de9895d","original_commit_id":"aadb7e6f79289695aef035983e49795d1de9895d","user":{"login":"nillas12","id":6108612,"node_id":"MDQ6VXNlcjYxMDg2MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/6108612?v=4","gravatar_id":"","url":"https://api.github.com/users/nillas12","html_url":"https://github.com/nillas12","followers_url":"https://api.github.com/users/nillas12/followers","following_url":"https://api.github.com/users/nillas12/following{/other_user}","gists_url":"https://api.github.com/users/nillas12/gists{/gist_id}","starred_url":"https://api.github.com/users/nillas12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nillas12/subscriptions","organizations_url":"https://api.github.com/users/nillas12/orgs","repos_url":"https://api.github.com/users/nillas12/repos","events_url":"https://api.github.com/users/nillas12/events{/privacy}","received_events_url":"https://api.github.com/users/nillas12/received_events","type":"User","site_admin":false},"body":"```suggestion\r\nThis model determines which task to run next based on the absolute deadlines of queued tasks, meaning that the next process to run is the one with the closest deadline \\cite{RealTimeEmbeddedSystems}.\r\n```\r\nEr det ikke closest når det er tid.","created_at":"2018-12-11T13:02:20Z","updated_at":"2018-12-11T13:03:31Z","html_url":"https://github.com/aau-hcl-p5/main/pull/130#discussion_r240600328","pull_request_url":"https://api.github.com/repos/aau-hcl-p5/main/pulls/130","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/aau-hcl-p5/main/pulls/comments/240600328"},"html":{"href":"https://github.com/aau-hcl-p5/main/pull/130#discussion_r240600328"},"pull_request":{"href":"https://api.github.com/repos/aau-hcl-p5/main/pulls/130"}}},"pull_request":{"url":"https://api.github.com/repos/aau-hcl-p5/main/pulls/130","id":237632549,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3NjMyNTQ5","html_url":"https://github.com/aau-hcl-p5/main/pull/130","diff_url":"https://github.com/aau-hcl-p5/main/pull/130.diff","patch_url":"https://github.com/aau-hcl-p5/main/pull/130.patch","issue_url":"https://api.github.com/repos/aau-hcl-p5/main/issues/130","number":130,"state":"open","locked":false,"title":"P5-226: Added a part about EDF scheduling","user":{"login":"Moesgaarda","id":21969475,"node_id":"MDQ6VXNlcjIxOTY5NDc1","avatar_url":"https://avatars3.githubusercontent.com/u/21969475?v=4","gravatar_id":"","url":"https://api.github.com/users/Moesgaarda","html_url":"https://github.com/Moesgaarda","followers_url":"https://api.github.com/users/Moesgaarda/followers","following_url":"https://api.github.com/users/Moesgaarda/following{/other_user}","gists_url":"https://api.github.com/users/Moesgaarda/gists{/gist_id}","starred_url":"https://api.github.com/users/Moesgaarda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moesgaarda/subscriptions","organizations_url":"https://api.github.com/users/Moesgaarda/orgs","repos_url":"https://api.github.com/users/Moesgaarda/repos","events_url":"https://api.github.com/users/Moesgaarda/events{/privacy}","received_events_url":"https://api.github.com/users/Moesgaarda/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-11T10:52:08Z","updated_at":"2018-12-11T13:03:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d60314aae521d9c295fd77f7bcd27ee6cb30315d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aau-hcl-p5/main/pulls/130/commits","review_comments_url":"https://api.github.com/repos/aau-hcl-p5/main/pulls/130/comments","review_comment_url":"https://api.github.com/repos/aau-hcl-p5/main/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aau-hcl-p5/main/issues/130/comments","statuses_url":"https://api.github.com/repos/aau-hcl-p5/main/statuses/aadb7e6f79289695aef035983e49795d1de9895d","head":{"label":"aau-hcl-p5:P5-226-beskriv-fps-og-edf","ref":"P5-226-beskriv-fps-og-edf","sha":"aadb7e6f79289695aef035983e49795d1de9895d","user":{"login":"aau-hcl-p5","id":43030341,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMDMwMzQx","avatar_url":"https://avatars0.githubusercontent.com/u/43030341?v=4","gravatar_id":"","url":"https://api.github.com/users/aau-hcl-p5","html_url":"https://github.com/aau-hcl-p5","followers_url":"https://api.github.com/users/aau-hcl-p5/followers","following_url":"https://api.github.com/users/aau-hcl-p5/following{/other_user}","gists_url":"https://api.github.com/users/aau-hcl-p5/gists{/gist_id}","starred_url":"https://api.github.com/users/aau-hcl-p5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aau-hcl-p5/subscriptions","organizations_url":"https://api.github.com/users/aau-hcl-p5/orgs","repos_url":"https://api.github.com/users/aau-hcl-p5/repos","events_url":"https://api.github.com/users/aau-hcl-p5/events{/privacy}","received_events_url":"https://api.github.com/users/aau-hcl-p5/received_events","type":"Organization","site_admin":false},"repo":{"id":147644695,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc2NDQ2OTU=","name":"main","full_name":"aau-hcl-p5/main","private":false,"owner":{"login":"aau-hcl-p5","id":43030341,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMDMwMzQx","avatar_url":"https://avatars0.githubusercontent.com/u/43030341?v=4","gravatar_id":"","url":"https://api.github.com/users/aau-hcl-p5","html_url":"https://github.com/aau-hcl-p5","followers_url":"https://api.github.com/users/aau-hcl-p5/followers","following_url":"https://api.github.com/users/aau-hcl-p5/following{/other_user}","gists_url":"https://api.github.com/users/aau-hcl-p5/gists{/gist_id}","starred_url":"https://api.github.com/users/aau-hcl-p5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aau-hcl-p5/subscriptions","organizations_url":"https://api.github.com/users/aau-hcl-p5/orgs","repos_url":"https://api.github.com/users/aau-hcl-p5/repos","events_url":"https://api.github.com/users/aau-hcl-p5/events{/privacy}","received_events_url":"https://api.github.com/users/aau-hcl-p5/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aau-hcl-p5/main","description":null,"fork":false,"url":"https://api.github.com/repos/aau-hcl-p5/main","forks_url":"https://api.github.com/repos/aau-hcl-p5/main/forks","keys_url":"https://api.github.com/repos/aau-hcl-p5/main/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aau-hcl-p5/main/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aau-hcl-p5/main/teams","hooks_url":"https://api.github.com/repos/aau-hcl-p5/main/hooks","issue_events_url":"https://api.github.com/repos/aau-hcl-p5/main/issues/events{/number}","events_url":"https://api.github.com/repos/aau-hcl-p5/main/events","assignees_url":"https://api.github.com/repos/aau-hcl-p5/main/assignees{/user}","branches_url":"https://api.github.com/repos/aau-hcl-p5/main/branches{/branch}","tags_url":"https://api.github.com/repos/aau-hcl-p5/main/tags","blobs_url":"https://api.github.com/repos/aau-hcl-p5/main/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aau-hcl-p5/main/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aau-hcl-p5/main/git/refs{/sha}","trees_url":"https://api.github.com/repos/aau-hcl-p5/main/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aau-hcl-p5/main/statuses/{sha}","languages_url":"https://api.github.com/repos/aau-hcl-p5/main/languages","stargazers_url":"https://api.github.com/repos/aau-hcl-p5/main/stargazers","contributors_url":"https://api.github.com/repos/aau-hcl-p5/main/contributors","subscribers_url":"https://api.github.com/repos/aau-hcl-p5/main/subscribers","subscription_url":"https://api.github.com/repos/aau-hcl-p5/main/subscription","commits_url":"https://api.github.com/repos/aau-hcl-p5/main/commits{/sha}","git_commits_url":"https://api.github.com/repos/aau-hcl-p5/main/git/commits{/sha}","comments_url":"https://api.github.com/repos/aau-hcl-p5/main/comments{/number}","issue_comment_url":"https://api.github.com/repos/aau-hcl-p5/main/issues/comments{/number}","contents_url":"https://api.github.com/repos/aau-hcl-p5/main/contents/{+path}","compare_url":"https://api.github.com/repos/aau-hcl-p5/main/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aau-hcl-p5/main/merges","archive_url":"https://api.github.com/repos/aau-hcl-p5/main/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aau-hcl-p5/main/downloads","issues_url":"https://api.github.com/repos/aau-hcl-p5/main/issues{/number}","pulls_url":"https://api.github.com/repos/aau-hcl-p5/main/pulls{/number}","milestones_url":"https://api.github.com/repos/aau-hcl-p5/main/milestones{/number}","notifications_url":"https://api.github.com/repos/aau-hcl-p5/main/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aau-hcl-p5/main/labels{/name}","releases_url":"https://api.github.com/repos/aau-hcl-p5/main/releases{/id}","deployments_url":"https://api.github.com/repos/aau-hcl-p5/main/deployments","created_at":"2018-09-06T08:48:06Z","updated_at":"2018-12-11T12:59:34Z","pushed_at":"2018-12-11T13:01:18Z","git_url":"git://github.com/aau-hcl-p5/main.git","ssh_url":"git@github.com:aau-hcl-p5/main.git","clone_url":"https://github.com/aau-hcl-p5/main.git","svn_url":"https://github.com/aau-hcl-p5/main","homepage":null,"size":45904,"stargazers_count":2,"watchers_count":2,"language":"TeX","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":0,"open_issues":6,"watchers":2,"default_branch":"develop"}},"base":{"label":"aau-hcl-p5:develop","ref":"develop","sha":"c5e599b1734e00a0d794d0c3f0325766b3b771c1","user":{"login":"aau-hcl-p5","id":43030341,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMDMwMzQx","avatar_url":"https://avatars0.githubusercontent.com/u/43030341?v=4","gravatar_id":"","url":"https://api.github.com/users/aau-hcl-p5","html_url":"https://github.com/aau-hcl-p5","followers_url":"https://api.github.com/users/aau-hcl-p5/followers","following_url":"https://api.github.com/users/aau-hcl-p5/following{/other_user}","gists_url":"https://api.github.com/users/aau-hcl-p5/gists{/gist_id}","starred_url":"https://api.github.com/users/aau-hcl-p5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aau-hcl-p5/subscriptions","organizations_url":"https://api.github.com/users/aau-hcl-p5/orgs","repos_url":"https://api.github.com/users/aau-hcl-p5/repos","events_url":"https://api.github.com/users/aau-hcl-p5/events{/privacy}","received_events_url":"https://api.github.com/users/aau-hcl-p5/received_events","type":"Organization","site_admin":false},"repo":{"id":147644695,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc2NDQ2OTU=","name":"main","full_name":"aau-hcl-p5/main","private":false,"owner":{"login":"aau-hcl-p5","id":43030341,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMDMwMzQx","avatar_url":"https://avatars0.githubusercontent.com/u/43030341?v=4","gravatar_id":"","url":"https://api.github.com/users/aau-hcl-p5","html_url":"https://github.com/aau-hcl-p5","followers_url":"https://api.github.com/users/aau-hcl-p5/followers","following_url":"https://api.github.com/users/aau-hcl-p5/following{/other_user}","gists_url":"https://api.github.com/users/aau-hcl-p5/gists{/gist_id}","starred_url":"https://api.github.com/users/aau-hcl-p5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aau-hcl-p5/subscriptions","organizations_url":"https://api.github.com/users/aau-hcl-p5/orgs","repos_url":"https://api.github.com/users/aau-hcl-p5/repos","events_url":"https://api.github.com/users/aau-hcl-p5/events{/privacy}","received_events_url":"https://api.github.com/users/aau-hcl-p5/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aau-hcl-p5/main","description":null,"fork":false,"url":"https://api.github.com/repos/aau-hcl-p5/main","forks_url":"https://api.github.com/repos/aau-hcl-p5/main/forks","keys_url":"https://api.github.com/repos/aau-hcl-p5/main/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aau-hcl-p5/main/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aau-hcl-p5/main/teams","hooks_url":"https://api.github.com/repos/aau-hcl-p5/main/hooks","issue_events_url":"https://api.github.com/repos/aau-hcl-p5/main/issues/events{/number}","events_url":"https://api.github.com/repos/aau-hcl-p5/main/events","assignees_url":"https://api.github.com/repos/aau-hcl-p5/main/assignees{/user}","branches_url":"https://api.github.com/repos/aau-hcl-p5/main/branches{/branch}","tags_url":"https://api.github.com/repos/aau-hcl-p5/main/tags","blobs_url":"https://api.github.com/repos/aau-hcl-p5/main/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aau-hcl-p5/main/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aau-hcl-p5/main/git/refs{/sha}","trees_url":"https://api.github.com/repos/aau-hcl-p5/main/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aau-hcl-p5/main/statuses/{sha}","languages_url":"https://api.github.com/repos/aau-hcl-p5/main/languages","stargazers_url":"https://api.github.com/repos/aau-hcl-p5/main/stargazers","contributors_url":"https://api.github.com/repos/aau-hcl-p5/main/contributors","subscribers_url":"https://api.github.com/repos/aau-hcl-p5/main/subscribers","subscription_url":"https://api.github.com/repos/aau-hcl-p5/main/subscription","commits_url":"https://api.github.com/repos/aau-hcl-p5/main/commits{/sha}","git_commits_url":"https://api.github.com/repos/aau-hcl-p5/main/git/commits{/sha}","comments_url":"https://api.github.com/repos/aau-hcl-p5/main/comments{/number}","issue_comment_url":"https://api.github.com/repos/aau-hcl-p5/main/issues/comments{/number}","contents_url":"https://api.github.com/repos/aau-hcl-p5/main/contents/{+path}","compare_url":"https://api.github.com/repos/aau-hcl-p5/main/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aau-hcl-p5/main/merges","archive_url":"https://api.github.com/repos/aau-hcl-p5/main/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aau-hcl-p5/main/downloads","issues_url":"https://api.github.com/repos/aau-hcl-p5/main/issues{/number}","pulls_url":"https://api.github.com/repos/aau-hcl-p5/main/pulls{/number}","milestones_url":"https://api.github.com/repos/aau-hcl-p5/main/milestones{/number}","notifications_url":"https://api.github.com/repos/aau-hcl-p5/main/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aau-hcl-p5/main/labels{/name}","releases_url":"https://api.github.com/repos/aau-hcl-p5/main/releases{/id}","deployments_url":"https://api.github.com/repos/aau-hcl-p5/main/deployments","created_at":"2018-09-06T08:48:06Z","updated_at":"2018-12-11T12:59:34Z","pushed_at":"2018-12-11T13:01:18Z","git_url":"git://github.com/aau-hcl-p5/main.git","ssh_url":"git@github.com:aau-hcl-p5/main.git","clone_url":"https://github.com/aau-hcl-p5/main.git","svn_url":"https://github.com/aau-hcl-p5/main","homepage":null,"size":45904,"stargazers_count":2,"watchers_count":2,"language":"TeX","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":0,"open_issues":6,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/aau-hcl-p5/main/pulls/130"},"html":{"href":"https://github.com/aau-hcl-p5/main/pull/130"},"issue":{"href":"https://api.github.com/repos/aau-hcl-p5/main/issues/130"},"comments":{"href":"https://api.github.com/repos/aau-hcl-p5/main/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/aau-hcl-p5/main/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/aau-hcl-p5/main/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aau-hcl-p5/main/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/aau-hcl-p5/main/statuses/aadb7e6f79289695aef035983e49795d1de9895d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"nillas12"}}