rename c report to rtos report.
This commit is contained in:
20
makefile
20
makefile
@@ -1,8 +1,8 @@
|
|||||||
|
|
||||||
all: all_booklets all_docduments
|
all: all_booklets all_docduments
|
||||||
|
|
||||||
all_docduments: prepare pdf/assambly_report.pdf pdf/c_report.pdf
|
all_docduments: prepare pdf/assambly_report.pdf pdf/rtos_report.pdf
|
||||||
all_booklets: prepare pdf/assambly_report.booklet.pdf pdf/c_report.booklet.pdf
|
all_booklets: prepare pdf/assambly_report.booklet.pdf pdf/rtos_report.booklet.pdf
|
||||||
prepare:
|
prepare:
|
||||||
mkdir -p pdf
|
mkdir -p pdf
|
||||||
|
|
||||||
@@ -72,12 +72,12 @@ pdf/assambly_report.booklet.pdf: converters/bookletify.latex pdf/assambly_report
|
|||||||
pdflatex -interaction=nonstopmode -output-directory="build/assambly_report.booklet" "build/assambly_report.booklet/bookletify.latex"
|
pdflatex -interaction=nonstopmode -output-directory="build/assambly_report.booklet" "build/assambly_report.booklet/bookletify.latex"
|
||||||
mv build/assambly_report.booklet/bookletify.pdf pdf/assambly_report.booklet.pdf
|
mv build/assambly_report.booklet/bookletify.pdf pdf/assambly_report.booklet.pdf
|
||||||
|
|
||||||
pdf/c_report.pdf: converters/* report-2/*.md
|
pdf/rtos_report.pdf: converters/* report-2/*.md
|
||||||
mkdir -p build/c_report
|
mkdir -p build/rtos_report
|
||||||
bash converters/mdToLatex.sh report-2/c_report.md
|
bash converters/mdToLatex.sh report-2/rtos_report.md
|
||||||
|
|
||||||
pdf/c_report.booklet.pdf: converters/bookletify.latex pdf/c_report.pdf
|
pdf/rtos_report.booklet.pdf: converters/bookletify.latex pdf/rtos_report.pdf
|
||||||
mkdir -p build/c_report.booklet
|
mkdir -p build/rtos_report.booklet
|
||||||
sed -e 's|?pdf?|../../pdf/c_report.pdf|' converters/bookletify.latex >build/c_report.booklet/bookletify.latex
|
sed -e 's|?pdf?|../../pdf/rtos_report.pdf|' converters/bookletify.latex >build/rtos_report.booklet/bookletify.latex
|
||||||
pdflatex -interaction=nonstopmode -output-directory="build/c_report.booklet" "build/c_report.booklet/bookletify.latex"
|
pdflatex -interaction=nonstopmode -output-directory="build/rtos_report.booklet" "build/rtos_report.booklet/bookletify.latex"
|
||||||
mv build/c_report.booklet/bookletify.pdf pdf/c_report.booklet.pdf
|
mv build/rtos_report.booklet/bookletify.pdf pdf/rtos_report.booklet.pdf
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
---
|
|
||||||
sub_title: "Real Time Systems 10"
|
|
||||||
class_code: "ELERTS10"
|
|
||||||
toc: true
|
|
||||||
lang: english
|
|
||||||
auther:
|
|
||||||
- name: "Finley van Reenen (0964590)"
|
|
||||||
email: "mail@lailatheelf.nl"
|
|
||||||
name_short: "E.L.F. van Reenen"
|
|
||||||
---
|
|
||||||
|
|
||||||
# C Report
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||
27
report-2/rtos_report.md
Normal file
27
report-2/rtos_report.md
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
sub_title: "Real Time Systems 10"
|
||||||
|
class_code: "ELERTS10"
|
||||||
|
toc: true
|
||||||
|
lang: english
|
||||||
|
auther:
|
||||||
|
- name: "Finley van Reenen (0964590)"
|
||||||
|
email: "mail@lailatheelf.nl"
|
||||||
|
name_short: "E.L.F. van Reenen"
|
||||||
|
---
|
||||||
|
|
||||||
|
# TROS Report
|
||||||
|
|
||||||
|
## source code
|
||||||
|
|
||||||
|
Because copying code from a PDF is not the most user friendly, I added made the
|
||||||
|
git repository pubic that contains all the code in separate files. It can be found at [https://git.gay/LailaTheElf/RTS10_reports](https://git.gay/LailaTheElf/RTS10_reports). This repository in only public from when I submit my report until I get the result back, this is to prevent plagiarism, by other students.
|
||||||
|
|
||||||
|
At all the assignment there is a link to where it is stored within the repository. For if you printed this document, the path list given within the repository.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
@@ -46,15 +46,15 @@ The task with the shortest deadline should get the highest priority. The deadlin
|
|||||||
> C) Calculate for all tasks whether the deadline will be met, and if the deadline is met, provide the response time $R_i$.
|
> C) Calculate for all tasks whether the deadline will be met, and if the deadline is met, provide the response time $R_i$.
|
||||||
|
|
||||||
$$
|
$$
|
||||||
R_i=C_i+\sum_{j∈hp(i)}{\left\lceil \frac{R_i}{T_j} \right\rceil} C_j
|
R_i=C_i+\sum_{j\in hp(i)}{\left\lceil \frac{R_i}{T_j} \right\rceil} C_j
|
||||||
$$
|
$$
|
||||||
|
|
||||||
$$
|
$$
|
||||||
R_1=C_1+\sum_{j∈hp(1)}{\left\lceil \frac{R_1}{T_j} \right\rceil} C_j=C_1=50ms
|
R_1=C_1+\sum_{j\in hp(1)}{\left\lceil \frac{R_1}{T_j} \right\rceil} C_j=C_1=50ms
|
||||||
$$
|
$$
|
||||||
|
|
||||||
$$
|
$$
|
||||||
R_3=C_3+\sum_{j∈hp(3)}{\left\lceil \frac{R_3}{T_j} \right\rceil} C_j=C_3+\left\lceil \frac{R_3}{T_1} \right\rceil C_1
|
R_3=C_3+\sum_{j\in hp(3)}{\left\lceil \frac{R_3}{T_j} \right\rceil} C_j=C_3+\left\lceil \frac{R_3}{T_1} \right\rceil C_1
|
||||||
$$
|
$$
|
||||||
$$
|
$$
|
||||||
\Rightarrow w_{3,1}=C_3+\left\lceil \frac{C_3}{T_1} \right\rceil C_1=0.02+\left\lceil \frac{0.02}{0.1} \right\rceil 0.05=0.07
|
\Rightarrow w_{3,1}=C_3+\left\lceil \frac{C_3}{T_1} \right\rceil C_1=0.02+\left\lceil \frac{0.02}{0.1} \right\rceil 0.05=0.07
|
||||||
@@ -69,7 +69,7 @@ $w_{3,2}$ is the same as $w_{3,1}$ so $R_3$ is equal to both. This is lower then
|
|||||||
|
|
||||||
|
|
||||||
$$
|
$$
|
||||||
R_2=C_2+\sum_{j∈hp(2)}{\left\lceil \frac{R_2}{T_j} \right\rceil C_j}=C_2+\left\lceil \frac{R_2}{T_1} \right\rceil C_1+\left\lceil \frac{R_2}{T_3} \right\rceil C_3
|
R_2=C_2+\sum_{j\in hp(2)}{\left\lceil \frac{R_2}{T_j} \right\rceil C_j}=C_2+\left\lceil \frac{R_2}{T_1} \right\rceil C_1+\left\lceil \frac{R_2}{T_3} \right\rceil C_3
|
||||||
$$
|
$$
|
||||||
$$
|
$$
|
||||||
\Rightarrow w_{2,1}=C_2+\left\lceil \frac{C_2}{T_1} \right\rceil C_1+\left\lceil \frac{C_2}{T_3} \right\rceil C_3=0.045+\left\lceil \frac{0.045}{0.1} \right\rceil 0.05+\left\lceil \frac{0.045}{0.2} \right\rceil 0.02=0.115
|
\Rightarrow w_{2,1}=C_2+\left\lceil \frac{C_2}{T_1} \right\rceil C_1+\left\lceil \frac{C_2}{T_3} \right\rceil C_3=0.045+\left\lceil \frac{0.045}{0.1} \right\rceil 0.05+\left\lceil \frac{0.045}{0.2} \right\rceil 0.02=0.115
|
||||||
@@ -88,7 +88,7 @@ $$
|
|||||||
$w_{2,2}$ is the same as $w_{2,1}$ so $R_2$ is equal to both. This is lower then $T_2$ ($280ms$) so this is still possible.
|
$w_{2,2}$ is the same as $w_{2,1}$ so $R_2$ is equal to both. This is lower then $T_2$ ($280ms$) so this is still possible.
|
||||||
|
|
||||||
$$
|
$$
|
||||||
R_4=C_4+\sum_{j∈hp(4)}{\left\lceil \frac{R_4}{T_j} \right\rceil C_j}=C_4+\left\lceil \frac{R_4}{T_1} \right\rceil C_1+\left\lceil \frac{R_4}{T_3} \right\rceil C_3+\left\lceil \frac{R_4}{T_2} \right\rceil C_2
|
R_4=C_4+\sum_{j\in hp(4)}{\left\lceil \frac{R_4}{T_j} \right\rceil C_j}=C_4+\left\lceil \frac{R_4}{T_1} \right\rceil C_1+\left\lceil \frac{R_4}{T_3} \right\rceil C_3+\left\lceil \frac{R_4}{T_2} \right\rceil C_2
|
||||||
$$
|
$$
|
||||||
$$
|
$$
|
||||||
\Rightarrow w_{4,1}=
|
\Rightarrow w_{4,1}=
|
||||||
|
|||||||
2
wiki
2
wiki
Submodule wiki updated: ac9f6543bc...3ff030559f
Reference in New Issue
Block a user