summaryrefslogtreecommitdiff
path: root/ws2015
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-12-02 20:12:41 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2015-12-02 20:12:41 +0100
commitbf685ad90b758912f551f5bca0c0aa98c6005511 (patch)
tree9cfc574a22429bed3dde533e9f7c39fd0096cc98 /ws2015
parent56864e3d83b8b1d2c754da600646c4e732efd32f (diff)
downloaduni-bf685ad90b758912f551f5bca0c0aa98c6005511.tar
uni-bf685ad90b758912f551f5bca0c0aa98c6005511.tar.gz
uni-bf685ad90b758912f551f5bca0c0aa98c6005511.tar.bz2
uni-bf685ad90b758912f551f5bca0c0aa98c6005511.tar.xz
uni-bf685ad90b758912f551f5bca0c0aa98c6005511.zip
oss - 07.1a-07.1b
Diffstat (limited to 'ws2015')
-rw-r--r--ws2015/oss/blaetter/07/abgabe.md58
1 files changed, 58 insertions, 0 deletions
diff --git a/ws2015/oss/blaetter/07/abgabe.md b/ws2015/oss/blaetter/07/abgabe.md
new file mode 100644
index 0000000..833756d
--- /dev/null
+++ b/ws2015/oss/blaetter/07/abgabe.md
@@ -0,0 +1,58 @@
1---
2header-includes:
3 - \usepackage{tikz}
4---
5# Nicht-preemptives Scheduling
6
7a)
8
9\begin{tikzpicture}
10 \draw[thick, <->] (0, 6) -- (0, 0) -- (10, 0);
11 \foreach \x in {1, 2, 3, 4, 5}
12 \draw[thick] (-1pt, \x) -- (1pt, \x) node [anchor=east] {$P_{\x}$};
13 \foreach \x in {0, ..., 19}
14 \draw[thick] ({\x / 2}, -1pt) -- ({\x / 2}, 1pt) node [anchor=north] {$\x$};
15
16 \draw[xstep=0.5, ystep=1, gray, very thin] (0, 5) grid (9.5, 0);
17
18 \draw[|-|] (0, 1) -- (1, 1);
19
20 \draw[|-|] (1, 2) -- (3, 2);
21
22 \draw[|-|, dashed] (1, 3) -- (3, 3);
23 \draw[|-|] (3, 3) -- (6.5, 3);
24
25 \draw[|-|, dashed] (2, 4) -- (6.5, 4);
26 \draw[|-|] (6.5, 4) -- (8, 4);
27
28 \draw[|-|, dashed] (2.5, 5) -- (8, 5);
29 \draw[|-|] (8, 5) -- (9.5, 5);
30\end{tikzpicture}
31
32b)
33
34\begin{tikzpicture}
35 \draw[thick, <->] (0, 6) -- (0, 0) -- (10, 0);
36 \foreach \x in {1, 2, 3, 4, 5}
37 \draw[thick] (-1pt, \x) -- (1pt, \x) node [anchor=east] {$P_{\x}$};
38 \foreach \x in {0, ..., 19}
39 \draw[thick] ({\x / 2}, -1pt) -- ({\x / 2}, 1pt) node [anchor=north] {$\x$};
40
41 \draw[xstep=0.5, ystep=1, gray, very thin] (0, 5) grid (9.5, 0);
42
43 \draw[|-|] (0, 1) -- (1, 1);
44
45 \draw[|-|] (1, 2) -- (3, 2);
46
47 \draw[|-|, dashed] (1, 3) -- (5.5, 3);
48 \draw[|-|] (5.5, 3) -- (9.5, 3);
49
50 \draw[|-|, dashed] (2, 4) -- (4, 4);
51 \draw[|-|] (4, 4) -- (5.5, 4);
52
53 \draw[|-|, dashed] (2.5, 5) -- (3, 5);
54 \draw[|-|] (3, 5) -- (4, 5);
55\end{tikzpicture}
56
57c)
58