forked from daos-stack/daos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdaos.drawio
34 lines (34 loc) · 6.93 KB
/
daos.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<mxfile host="65bd71144e">
<diagram id="FS3LFXY75-1D96ARM_oY" name="tse">
<mxGraphModel dx="913" dy="578" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="2" value="<h1>TSE任务参数</h1>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="1">
<mxGeometry x="40" y="40" width="200" height="80" as="geometry"/>
</mxCell>
<mxCell id="4" value="<div style="color: rgb(204, 204, 204); background-color: rgb(31, 31, 31); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><div style="line-height: 19px;"><div style="line-height: 19px;"><span style="color: rgb(86, 156, 214);">struct</span>&nbsp;<span style="color: rgb(78, 201, 176);">daos_task_args</span></div></div></div><div style="color: rgb(204, 204, 204); background-color: rgb(31, 31, 31); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><span style="color: #569cd6;">任务参数 880</span></div><div style="color: rgb(204, 204, 204); background-color: rgb(31, 31, 31); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><span style="color: #569cd6;">TSE_TASK_ARG_LEN</span></div><div style="color: rgb(204, 204, 204); background-color: rgb(31, 31, 31); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><div style="line-height: 19px;"><span style="color: rgb(86, 156, 214);">任务参数长度=840+互斥锁(40B) = 880</span><br></div></div>" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="40" y="200" width="180" height="150" as="geometry"/>
</mxCell>
<mxCell id="5" value="<div style="background-color: rgb(31, 31, 31); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><div style="line-height: 19px;"><font color="#569cd6">任务参数长度</font></div><div style="line-height: 19px;"><font color="#569cd6">880</font></div></div>" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="240" y="200" width="150" height="150" as="geometry"/>
</mxCell>
<mxCell id="6" value="<div style="background-color: rgb(31, 31, 31); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><div style="line-height: 19px;"><font color="#569cd6">136</font></div></div>" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="240" y="350" width="150" height="60" as="geometry"/>
</mxCell>
<mxCell id="7" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;flipH=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry x="960" y="210" width="20" height="240" as="geometry"/>
</mxCell>
<mxCell id="8" value="<div style="background-color: rgb(31, 31, 31); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><div style="line-height: 19px;"><div style="color: rgb(204, 204, 204); line-height: 19px;"><div style="line-height: 19px;"><span style="color: rgb(86, 156, 214);">struct</span>&nbsp;tse_task_private</div></div></div><div style="line-height: 19px;"><font color="#569cd6">任务私有参数 1016</font></div><div style="color: rgb(204, 204, 204); line-height: 19px;"><span style="color: #569cd6;">TSE_PRIV_SIZE</span></div><div style="color: rgb(204, 204, 204); line-height: 19px;"><div style="line-height: 19px;"><span style="color: rgb(86, 156, 214);">私有大小=任务参数长度+136</span><br></div></div><div style="color: rgb(204, 204, 204); line-height: 19px;"><span style="color: #569cd6;">1016</span></div></div>" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="390" y="200" width="190" height="210" as="geometry"/>
</mxCell>
<mxCell id="9" value="<div style="background-color: rgb(31, 31, 31); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><div style="line-height: 19px;"><div style="color: rgb(204, 204, 204); line-height: 19px;"><span style="color: rgb(86, 156, 214);">typedef</span>&nbsp;<span style="color: rgb(86, 156, 214);">struct</span>&nbsp;<span style="color: rgb(78, 201, 176);">tse_task</span><span style="color: #569cd6;"><br></span></div><div style="color: rgb(204, 204, 204); line-height: 19px;"><span style="color: #569cd6;">任务大小 1024</span></div><div style="color: rgb(204, 204, 204); line-height: 19px;"><span style="color: #569cd6;">TSE_TASK_SIZE</span></div><div style="line-height: 19px;"><font color="#569cd6">任务长度=私有+8=1024</font></div></div></div>" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="600" y="200" width="190" height="250" as="geometry"/>
</mxCell>
<mxCell id="11" value="<div style="background-color: rgb(31, 31, 31); font-family: Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 19px;"><div style="line-height: 19px;"><font color="#569cd6">8</font></div></div>" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="390" y="410" width="190" height="40" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>