Browse Source
shorten one statement in the waitoncompletion nsd to make it slimmer and therefore easier to read
master
shorten one statement in the waitoncompletion nsd to make it slimmer and therefore easier to read
master
Constantin Fürst
11 months ago
3 changed files with 16 additions and 57 deletions
-
41thesis/images/structo-benchmark-compact.nsd.bak
-
32thesis/images/structo-cachedata-waitoncompletion.nsd
-
BINthesis/images/structo-cachedata-waitoncompletion.png
@ -1,41 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<root xmlns:nsd="https://structorizer.fisch.lu" version="3.32-15" preRepeat="until " postFor="to" preReturn="return" postForIn="in" preWhile="while " output="OUTPUT" input="INPUT" preFor="for" preExit="exit" preLeave="leave" ignoreCase="true" preThrow="throw" preForIn="foreach" stepFor="by" author="user" created="2024-01-18" changedby="user" changed="2024-01-21" origin="Structorizer 3.32-15" text=""Benchmark(node, node_dst, node_src, size, mode)"" comment="" color="ffffff" type="program" style="nice"> |
|
||||
<children> |
|
||||
<instruction text=""numa_run_on_node(node)"" comment="" color="ffffff" rotated="0" disabled="0"></instruction> |
|
||||
<instruction text=""src <- numa_alloc_onnode(size, node_src)","dst <- numa_alloc_onnode(size, node_dst)"" comment="" color="ffffff" rotated="0" disabled="0"></instruction> |
|
||||
<instruction text=""memset(src, 0x0, size)","memset(dst, 0x0, size)"" comment="" color="ffffff" rotated="0" disabled="0"></instruction> |
|
||||
<instruction text=""begin time total"" comment="" color="ffff80" rotated="0" disabled="0"></instruction> |
|
||||
<for text=""for amount of repetitions"" comment="" counterVar="dummy_counter" startValue="amount of repetitions" stepConst="1" style="FREETEXT" color="ffffff" disabled="0"> |
|
||||
<qFor> |
|
||||
<instruction text=""synchronize with other threads"" comment="" color="ffffff" rotated="0" disabled="0"></instruction> |
|
||||
<case text=""mode","single submit","batch submit","%"" comment="""" color="ffffff" disabled="0"> |
|
||||
<qCase> |
|
||||
<instruction text=""begin time submit"" comment="" color="ffff80" rotated="0" disabled="0"></instruction> |
|
||||
<instruction text=""handler <- dml::submit(dml::memcopy, src, dst, size)"" comment="" color="ffffff" rotated="0" disabled="0"></instruction> |
|
||||
<instruction text=""end time submit, begin time complete"" comment="" color="ffff80" rotated="0" disabled="0"></instruction> |
|
||||
<instruction text=""result <- handler.get()"" comment="" color="ffffff" rotated="0" disabled="0"></instruction> |
|
||||
<instruction text=""end time complete"" comment="" color="ffff80" rotated="0" disabled="0"></instruction> |
|
||||
<instruction text=""assert result.status == dml::ok"" comment="" color="ffffff" rotated="0" disabled="0"></instruction> |
|
||||
</qCase> |
|
||||
<qCase> |
|
||||
<instruction text=""begin time submit"" comment="" color="ffff80" rotated="0" disabled="0"></instruction> |
|
||||
<instruction text=""sequence <- dml::sequence(batchsize)"" comment="" color="ffffff" rotated="0" disabled="0"></instruction> |
|
||||
<for text=""for batchsize"" comment="" counterVar="dummy_counter" startValue="batchsize" stepConst="1" style="FREETEXT" color="ffffff" disabled="0"> |
|
||||
<qFor> |
|
||||
<instruction text=""sequence.add(dml::memcopy, src, dst, size)"" comment="" color="ffffff" rotated="0" disabled="0"></instruction> |
|
||||
</qFor> |
|
||||
</for> |
|
||||
<instruction text=""handler <- dml::submit(dml::batch, sequence)"" comment="" color="ffffff" rotated="0" disabled="0"></instruction> |
|
||||
<instruction text=""end time submit, begin time complete"" comment="" color="ffff80" rotated="0" disabled="0"></instruction> |
|
||||
<instruction text=""result <- handler.get()"" comment="" color="ffffff" rotated="0" disabled="0"></instruction> |
|
||||
<instruction text=""end time complete"" comment="" color="ffff80" rotated="0" disabled="0"></instruction> |
|
||||
<instruction text=""assert result.status == dml::ok"" comment="" color="ffffff" rotated="0" disabled="0"></instruction> |
|
||||
</qCase> |
|
||||
<qCase color="ffffff"> |
|
||||
</qCase> |
|
||||
</case> |
|
||||
</qFor> |
|
||||
</for> |
|
||||
<instruction text=""end time total"" comment="" color="ffff80" rotated="0" disabled="0"></instruction> |
|
||||
</children> |
|
||||
</root> |
|
Before Width: 739 | Height: 511 | Size: 46 KiB After Width: 667 | Height: 511 | Size: 45 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue