2 lines
16 KiB
XML
2 lines
16 KiB
XML
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="750px" height="424px" viewBox="-0.5 -0.5 750 424" content="<mxfile modified="2019-07-14T17:08:37.330Z" host="www.draw.io" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0" etag="CP8ydc_c3E-a7DQv1k8V" version="10.9.6" type="google"><diagram id="p0G0V5xwCCMQDfea08E6" name="Preemptive Time Slicing">7Vpde6I4GP01XnYeQviQy1bHnWdmZ9cd+8x2LylEyQ4SNsaq/fWbSKKQOFqtgLXTm5IXeIFzTpLzxnRgb7r8jYZ58pXEKO3YVrzswH7HtoHj2PyfiKxkxHK9IjKhOJaxbWCEn5G6UEbnOEazyoWMkJThvBqMSJahiFViIaVkUb1sTNLqU/NwgozAKApTM/o3jllSRLuutY1/QniSqCcDS56ZhupiGZglYUwWpRD82IE9SggrjqbLHkoFegoX62Fg9T8Ht8tv9zEdf5u7yZfvN0WywTG3bD6BooydN7Vk9ylM5xIv+a1spQBEWXwreOCtx5REPzrwLmHTlDcBP+RnBzhVrRmj5McGZ8gjRToUGyQd+BawAZhLE5EpYnTF71tsKVQMJiX2VIyiNGT4qfrMUCppskm3ecKQYP42tiVl35VppOZdpQCVYUbmNELypjLk+/MAT8vDQjpBzMjDD0ofvQ2tCT2CXPiL3BrJ9b0DiWpm1zHYvU8oCmMeG1JMKGYrg26GlqxKMUUz/Bw+ri+weDsXr7v+APeu4/Z5JJwzMiuGdXFDmOJJxo9TNBapnhBlmI+2tzLMSC6kkocRzib3otHnb8qfQxgnjYhLbgLxoDHJ2Ei+meRQ5ELLs0hJcgKhX+QpSSvYIS2durKKKrwdS5JrkoSn6IJ4qZcGmQXqfc6BBi1Ok7R4Bi2/8zHwclipiwhb4wE47fLgGzx84k99f0QAhXpbRHR/PpkAgw5K5lmMYgn9IsEMjThy4uyCVxFVpsbcQPRISuj6XjgeIy+KNm6idCb2g0fLqhFzoIHuuCbo3R2gw7pAD34OuunU3ijotnVhoKu69IWuOCMZD97F4SxZgw+qQFc9ceGZ+Vs+CJo+WACqwD9FwPNVoL+UTBatVbk1RJSbBIaoDHZeY7N5ub32oYc6f1t2HKhblEAsjfkX+3FtbutqeWq24wA0pKsbISz7TQgraFNYxshzqrAA1BTq2c0q67hFmigNZzNcjPYhZWZ4r8xeJYn2xpAzUX1QM3VTbS7ZFPWiNUpxdEl1Y11+AdjdCgPQN0sUf4eSanPGYM86CzQIeasuTSvQ23dpOxZOrqYQgd5htGGjaJvrIdeDtvuCCqRZtPcU2861oA6DKuowMMdxABqF3Sy3DbCvyqC35cZgoPll5WqOdWO6hhzPrSaq2Y0pT/FLMTUrxhiireA0xThBoCkGNKsYcxFgSBGa5uufvq7fvduBXx31oflDzy4fWZt7Vz326Np5f8ddYlYs8TndrmyLXgs+WK5sbvusaKxKDb3HGnPzYOAC0NNHkld1bP696x50ULrtLdZUdOPpLuDkKaPhH+XtHQX81a3pu1ADue1q0X4PNboHLg11s0bvkWmeoncy2blaGd/+ZGeW8WeY7C5lfnLbnJ+g41W59pzTJijD6jY9QZlbLvZpZMemQHMboLJDyhoVBcx+J1TRTnWfoTg1DBl3SNk6IrYgNKAvp019+frgHlin6ct3tET11cx/wF7+1xf0sPz6Z36X3T7/95n+e/OCkvl186/468h9a3JqKM8NEVeDsNa7Bqf6V7l2zcnnWuXize1e84Ku7ZZ9+PF/</diagram></mxfile>"><defs/><g><path d="M 60 380 L 60 32.35" fill="none" stroke="#000000" stroke-width="3" stroke-miterlimit="10" pointer-events="none"/><path d="M 60 23.35 L 64.5 32.35 L 55.5 32.35 Z" fill="#000000" stroke="#000000" stroke-width="3" stroke-miterlimit="10" pointer-events="none"/><path d="M 60 380 L 727.65 380" fill="none" stroke="#000000" stroke-width="3" stroke-miterlimit="10" pointer-events="none"/><path d="M 736.65 380 L 727.65 384.5 L 727.65 375.5 Z" fill="#000000" stroke="#000000" stroke-width="3" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(17.5,249.5)rotate(-90,0,0)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="85" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; font-weight: bold; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Thread Priority</div></div></foreignObject><text x="43" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica" font-weight="bold">Thread Priority</text></switch></g><g transform="translate(361.5,405.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="28" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; font-weight: bold; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Time</div></div></foreignObject><text x="14" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica" font-weight="bold">Time</text></switch></g><g transform="translate(1.5,376.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="22" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Low</div></div></foreignObject><text x="11" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Low</text></switch></g><g transform="translate(1.5,2.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="25" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">High</div></div></foreignObject><text x="13" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">High</text></switch></g><rect x="100" y="310" width="80" height="30" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(115.5,318.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="48" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 49px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">Thread 1</div></div></foreignObject><text x="24" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Thread 1</text></switch></g><rect x="180" y="310" width="80" height="30" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(195.5,318.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="48" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 49px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">Thread 2</div></div></foreignObject><text x="24" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Thread 2</text></switch></g><path d="M 101 260 L 101 312" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 180 260 L 179 312" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 106.37 260 L 173.63 260" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 101.12 260 L 108.12 256.5 L 106.37 260 L 108.12 263.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 178.88 260 L 171.88 263.5 L 173.63 260 L 171.88 256.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g transform="translate(109.5,236.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="55" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Time Slice</div></div></foreignObject><text x="28" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Time Slice</text></switch></g><rect x="260" y="310" width="80" height="30" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(275.5,318.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="48" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 49px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">Thread 3</div></div></foreignObject><text x="24" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Thread 3</text></switch></g><rect x="340" y="310" width="30" height="30" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(347.5,318.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="14" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 15px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">T1</div></div></foreignObject><text x="7" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">T1</text></switch></g><rect x="480" y="310" width="30" height="30" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(487.5,318.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="14" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 15px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">T1</div></div></foreignObject><text x="7" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">T1</text></switch></g><rect x="370" y="254" width="110" height="30" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(400.5,262.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="48" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 49px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">Thread 4</div></div></foreignObject><text x="24" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Thread 4</text></switch></g><path d="M 371 273 L 370 325" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 480 269 L 479 321" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><g transform="translate(278.5,195.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="61" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Preemption</div></div></foreignObject><text x="31" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Preemption</text></switch></g><path d="M 316 214 L 365.97 275.07" fill="none" stroke="#ff511c" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 369.29 279.13 L 362.15 275.93 L 365.97 275.07 L 367.57 271.5 Z" fill="#ff511c" stroke="#ff511c" stroke-miterlimit="10" pointer-events="none"/><rect x="510" y="310" width="80" height="30" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(525.5,318.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="48" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 49px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">Thread 2</div></div></foreignObject><text x="24" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Thread 2</text></switch></g><rect x="590" y="310" width="80" height="30" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(605.5,318.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="48" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 49px; white-space: nowrap; overflow-wrap: normal; text-align: center;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;white-space:normal;">Thread 3</div></div></foreignObject><text x="24" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Thread 3</text></switch></g><g transform="translate(541.5,195.5)"><switch><foreignObject style="overflow:visible;" pointer-events="all" width="61" height="12" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: inline-block; font-size: 12px; font-family: "Helvetica"; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; white-space: nowrap; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display:inline-block;text-align:inherit;text-decoration:inherit;">Completion</div></div></foreignObject><text x="31" y="12" fill="#000000" text-anchor="middle" font-size="12px" font-family="Helvetica">Completion</text></switch></g><path d="M 567.01 213 L 485.05 276.11" fill="none" stroke="#ff511c" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 480.89 279.32 L 484.3 272.27 L 485.05 276.11 L 488.57 277.82 Z" fill="#ff511c" stroke="#ff511c" stroke-miterlimit="10" pointer-events="none"/><path d="M 670 325 L 707.65 325" fill="none" stroke="#000000" stroke-width="3" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 716.65 325 L 707.65 329.5 L 707.65 320.5 Z" fill="#000000" stroke="#000000" stroke-width="3" stroke-miterlimit="10" pointer-events="none"/><rect x="370" y="310" width="110" height="30" fill="#ffffff" stroke="#000000" stroke-dasharray="3 3" pointer-events="none"/></g></svg> |