2 lines
13 KiB
XML
2 lines
13 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:04:50.482Z" host="www.draw.io" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0" etag="aRz-oOUxhod0zvxoeOh1" version="10.9.6" type="google"><diagram id="h5luTa2yOQGUqOlOS5JQ" name="Preemptive Scheduling">7VpRd+IoFP41PtoTAsT4OLV15mH3HHc75+x03miChtMkuASrzq9fEkFD6OpoNVrbJ8MNuYT7fXzci+nAQbb4Ksg0+ZPHNO34XrzowLuO7wOEfPVTWpba4uFgZZkIFmvbxvDAflHTUVtnLKaF1VFynko2tY0Rz3MaSctGhOBzu9uYp/aoUzKhjuEhIqlr/YfFMllZQ+xt7N8omyRmZODpOxkxnbWhSEjM5zUTvO/AgeBcrq6yxYCmZfRMXLLHn/d/g39nz8PbvzzxTAjsfu2unA33eWQ9BUFzeVzXGt0Xks50vPRc5dIEkObxlxIH1XpKefTcgbeJzFLVBOpS3R2y1LQKKfjzOs5QWVbuaOyAtGMuYB1gRU3KMyrFUj0330BoEExq6BmboCmR7MUek2gmTdbu1iOMOFNv43ua9qF2ozmPDQOMh4LPRET1Q/WQb/cDgoYfScSESsePuqhNemOqAN0DXPgJ7gnB7QU7HJ0YXeSg+z0RlMTKNhKMCyaXDtySLqQNsaAF+0Weqg6eak/L160mgG87+E5ZyEzyYiXr5QMkZZNcXad0XLp6oUIypbZftFnyaUmVKYlYPvleNu7Um6pxuFSg8bJLt18ONOa5fNBvpjEsfdHFUaikMYGwt/JTo1b/FWo1oauzyMJtX5CwCxLL6AXhcloYtBfYXHMIOrCgNmEJHFj+UBp4OaicCgi/gQNA58Wh5+DwTY368YAAJurnAiL8/80EOHAIPstjGuvQzxMm6YOKXHl3rqoIG6mxSiAGPOWiehaOxzSIonU2UbsT9/pPnnfCmING0BF2gx6+EnR4qqADl/7rqLup2juNuu/ZUYdheIOduAPQauBdujvhrmXGOc+V8TYmRVLFH9ixtvNi8F7z4iZQ6NDE2HGE202MzXvX0B0JSrNplX9e/94CADQrzKw5//eU7mTbi5nZby64KCVFwaJdy4wumPxRgnSDwlC3H8t7Nx7WzbuFBrFqLGuNERUqE5dUaJu1uh2ZHA4xAIO3Lm0132oN7STvuTSgC4ImdwKzS71ZBlqujw3FrjqnQeHunAbANvdW3z2XGPBsmtIPor64cSwEoVvrtqu97hnEEbT3UuQSnVMuIQpsrAN0mFY6y7htrXQPRLZx5JWjYvdw2GKIfZJc3hoRqTbfvLKUgtwCV/xzciXoNyAO8GFcCZpcaTo6NVe2VK3wWvZV6IVODt07e93qf9atr4iw12+I8IF1q+Oo364IQ7duPcJGvSmSMA6sIsn/rJEO4VsX28KAzQcR+/PN0Rjcb5dxbll+fQeQCDSWddh3ZDzwW1RxuN//8lrFt+Za71K4UeM8HvYOFG7HEWhZuN2S96jbssJQLH8YXS4bj5Wg+9i0NxJetYyGv1GIV2HbqR8Xw5+DN/6GQiCvZf7sV6FfryA0Kxt4pHIa9lC7gO5XTn+MPH3nGcfBhyUobBddtwDehu4FHaidC3qMG+sRHWunP9oXlaq5+ZJ31X3zQTS8/w8=</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="248.5" width="110" height="30" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(210.5,257.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 180 280 L 180 310" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><g transform="translate(95.5,182.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 133 201 L 176.74 274.53" fill="none" stroke="#ff511c" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 179.43 279.04 L 172.84 274.81 L 176.74 274.53 L 178.86 271.23 Z" fill="#ff511c" stroke="#ff511c" stroke-miterlimit="10" pointer-events="none"/><rect x="460" y="310" width="130" height="30" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(500.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><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 564.42 213 L 465.36 276.56" fill="none" stroke="#ff511c" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 460.94 279.4 L 464.94 272.67 L 465.36 276.56 L 468.72 278.56 Z" fill="#ff511c" stroke="#ff511c" stroke-miterlimit="10" pointer-events="none"/><path d="M 590 325 L 647.65 325" fill="none" stroke="#000000" stroke-width="3" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 656.65 325 L 647.65 329.5 L 647.65 320.5 Z" fill="#000000" stroke="#000000" stroke-width="3" stroke-miterlimit="10" pointer-events="none"/><rect x="288.5" y="187.5" width="110" height="30" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(319.5,196.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><path d="M 289 220 L 289 250" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 138 204 L 282.16 218.37" fill="none" stroke="#ff511c" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 287.39 218.89 L 280.07 221.68 L 282.16 218.37 L 280.77 214.71 Z" fill="#ff511c" stroke="#ff511c" stroke-miterlimit="10" pointer-events="none"/><rect x="399" y="249" width="62" height="30" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(405.5,257.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 400 230 L 400 170" fill="none" stroke="#000000" stroke-width="3" stroke-miterlimit="10" pointer-events="none"/><path d="M 400 220 L 399 257" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 460 294 L 460 234" fill="none" stroke="#000000" stroke-width="3" stroke-miterlimit="10" pointer-events="none"/><path d="M 460 280 L 460 308" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 530 200 L 406.29 219.03" fill="none" stroke="#ff511c" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="none"/><path d="M 401.1 219.83 L 407.49 215.31 L 406.29 219.03 L 408.56 222.22 Z" fill="#ff511c" stroke="#ff511c" stroke-miterlimit="10" pointer-events="none"/></g></svg> |