blob: e7118ecef820184ccc2fd5935e498cbf0d767832 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.36.0 (20140111.2315)
-->
<!-- Title: impala::QueryResourceMgr Pages: 1 -->
<svg width="1328pt" height="338pt"
viewBox="0.00 0.00 1328.00 338.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 334)">
<title>impala::QueryResourceMgr</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-334 1324,-334 1324,4 -4,4"/>
<!-- Node1 -->
<g id="node1" class="node"><title>Node1</title>
<polygon fill="#bfbfbf" stroke="black" points="555.5,-1 555.5,-179 734.5,-179 734.5,-1 555.5,-1"/>
<text text-anchor="middle" x="645" y="-167" font-family="Helvetica,sans-Serif" font-size="10.00">impala::QueryResourceMgr</text>
<polyline fill="none" stroke="black" points="555.5,-160 734.5,-160 "/>
<text text-anchor="middle" x="645" y="-148" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
<polyline fill="none" stroke="black" points="555.5,-141 734.5,-141 "/>
<text text-anchor="start" x="563.5" y="-129" font-family="Helvetica,sans-Serif" font-size="10.00">+ QueryResourceMgr()</text>
<text text-anchor="start" x="563.5" y="-118" font-family="Helvetica,sans-Serif" font-size="10.00">+ InitVcoreAcquisition()</text>
<text text-anchor="start" x="563.5" y="-107" font-family="Helvetica,sans-Serif" font-size="10.00">+ IsVcoreOverSubscribed()</text>
<text text-anchor="start" x="563.5" y="-96" font-family="Helvetica,sans-Serif" font-size="10.00">+ NotifyThreadUsageChange()</text>
<text text-anchor="start" x="563.5" y="-85" font-family="Helvetica,sans-Serif" font-size="10.00">+ AddVcoreAvailableCb()</text>
<text text-anchor="start" x="563.5" y="-74" font-family="Helvetica,sans-Serif" font-size="10.00">+ RemoveVcoreAvailableCb()</text>
<text text-anchor="start" x="563.5" y="-63" font-family="Helvetica,sans-Serif" font-size="10.00">+ CreateExpansionRequest()</text>
<text text-anchor="start" x="563.5" y="-52" font-family="Helvetica,sans-Serif" font-size="10.00">+ Shutdown()</text>
<text text-anchor="start" x="563.5" y="-41" font-family="Helvetica,sans-Serif" font-size="10.00">+ ~QueryResourceMgr()</text>
<text text-anchor="start" x="563.5" y="-30" font-family="Helvetica,sans-Serif" font-size="10.00">&#45; AcquireVcoreResources()</text>
<text text-anchor="start" x="563.5" y="-19" font-family="Helvetica,sans-Serif" font-size="10.00">&#45; AboveVcoreSubscriptionThreshold()</text>
<text text-anchor="start" x="563.5" y="-8" font-family="Helvetica,sans-Serif" font-size="10.00">&#45; ShouldExit()</text>
</g>
<!-- Node2 -->
<g id="node2" class="node"><title>Node2</title>
<polygon fill="white" stroke="#bfbfbf" points="-0.5,-261 -0.5,-329 120.5,-329 120.5,-261 -0.5,-261"/>
<text text-anchor="start" x="7.5" y="-317" font-family="Helvetica,sans-Serif" font-size="10.00">shared_ptr&lt; impala</text>
<text text-anchor="middle" x="60" y="-306" font-family="Helvetica,sans-Serif" font-size="10.00">::AtomicInt&lt; int16_t &gt; &gt;</text>
<polyline fill="none" stroke="#bfbfbf" points="-0.5,-299 120.5,-299 "/>
<text text-anchor="middle" x="60" y="-287" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
<polyline fill="none" stroke="#bfbfbf" points="-0.5,-280 120.5,-280 "/>
<text text-anchor="middle" x="60" y="-268" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
</g>
<!-- Node2&#45;&gt;Node1 -->
<g id="edge1" class="edge"><title>Node2&#45;&gt;Node1</title>
<path fill="none" stroke="#404040" d="M62.2926,-260.902C65.531,-239.896 73.1654,-213.789 91,-198 156.746,-139.797 402.096,-110.638 543.257,-98.3884"/>
<polygon fill="none" stroke="#404040" points="543.37,-98.3788 549.009,-93.8839 555.327,-97.3601 549.688,-101.855 543.37,-98.3788"/>
<text text-anchor="middle" x="133.5" y="-223" font-family="Helvetica,sans-Serif" font-size="10.00"> &#45;early_exit_</text>
<text text-anchor="middle" x="133.5" y="-212" font-family="Helvetica,sans-Serif" font-size="10.00">&#45;thread_in_expand_</text>
</g>
<!-- Node3 -->
<g id="node3" class="node"><title>Node3</title>
<polygon fill="white" stroke="#bfbfbf" points="141.5,-266.5 141.5,-323.5 188.5,-323.5 188.5,-266.5 141.5,-266.5"/>
<text text-anchor="middle" x="165" y="-311.5" font-family="Helvetica,sans-Serif" font-size="10.00">iterator</text>
<polyline fill="none" stroke="#bfbfbf" points="141.5,-304.5 188.5,-304.5 "/>
<text text-anchor="middle" x="165" y="-292.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
<polyline fill="none" stroke="#bfbfbf" points="141.5,-285.5 188.5,-285.5 "/>
<text text-anchor="middle" x="165" y="-273.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
</g>
<!-- Node3&#45;&gt;Node1 -->
<g id="edge2" class="edge"><title>Node3&#45;&gt;Node1</title>
<path fill="none" stroke="#404040" d="M170.72,-266.39C176.649,-244.674 188.088,-215.29 209,-198 259.351,-156.372 430.726,-123.38 543.029,-105.564"/>
<polygon fill="none" stroke="#404040" points="543.206,-105.536 548.513,-100.655 555.061,-103.677 549.753,-108.559 543.206,-105.536"/>
<text text-anchor="middle" x="241" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00"> &#45;callbacks_it_</text>
</g>
<!-- Node4 -->
<g id="node4" class="node"><title>Node4</title>
<polygon fill="white" stroke="#bfbfbf" points="207,-261 207,-329 325,-329 325,-261 207,-261"/>
<text text-anchor="start" x="215" y="-317" font-family="Helvetica,sans-Serif" font-size="10.00">unordered_map&lt; int32</text>
<text text-anchor="middle" x="266" y="-306" font-family="Helvetica,sans-Serif" font-size="10.00">_t, VcoreAvailableCb &gt;</text>
<polyline fill="none" stroke="#bfbfbf" points="207,-299 325,-299 "/>
<text text-anchor="middle" x="266" y="-287" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
<polyline fill="none" stroke="#bfbfbf" points="207,-280 325,-280 "/>
<text text-anchor="middle" x="266" y="-268" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
</g>
<!-- Node4&#45;&gt;Node1 -->
<g id="edge3" class="edge"><title>Node4&#45;&gt;Node1</title>
<path fill="none" stroke="#404040" d="M270.82,-260.996C275.48,-240.3 284.536,-214.506 302,-198 367.274,-136.306 467.627,-110.162 542.95,-99.095"/>
<polygon fill="none" stroke="#404040" points="543.401,-99.0325 548.794,-94.2459 555.287,-97.3833 549.893,-102.17 543.401,-99.0325"/>
<text text-anchor="middle" x="328.5" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00"> &#45;callbacks_</text>
</g>
<!-- Node5 -->
<g id="node5" class="node"><title>Node5</title>
<polygon fill="white" stroke="#bfbfbf" points="343,-266.5 343,-323.5 405,-323.5 405,-266.5 343,-266.5"/>
<text text-anchor="middle" x="374" y="-311.5" font-family="Helvetica,sans-Serif" font-size="10.00">TUniqueId</text>
<polyline fill="none" stroke="#bfbfbf" points="343,-304.5 405,-304.5 "/>
<text text-anchor="middle" x="374" y="-292.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
<polyline fill="none" stroke="#bfbfbf" points="343,-285.5 405,-285.5 "/>
<text text-anchor="middle" x="374" y="-273.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
</g>
<!-- Node5&#45;&gt;Node1 -->
<g id="edge4" class="edge"><title>Node5&#45;&gt;Node1</title>
<path fill="none" stroke="#404040" d="M363.751,-266.341C357.999,-245.728 354.401,-217.832 368,-198 407.236,-140.782 481.769,-114.152 543.646,-101.763"/>
<polygon fill="none" stroke="#404040" points="543.647,-101.763 548.802,-96.7212 555.439,-99.5409 550.283,-104.583 543.647,-101.763"/>
<text text-anchor="middle" x="403" y="-223" font-family="Helvetica,sans-Serif" font-size="10.00"> &#45;query_id_</text>
<text text-anchor="middle" x="403" y="-212" font-family="Helvetica,sans-Serif" font-size="10.00">&#45;reservation_id_</text>
</g>
<!-- Node6 -->
<g id="node6" class="node"><title>Node6</title>
<polygon fill="white" stroke="#bfbfbf" points="423.5,-266.5 423.5,-323.5 458.5,-323.5 458.5,-266.5 423.5,-266.5"/>
<text text-anchor="middle" x="441" y="-311.5" font-family="Helvetica,sans-Serif" font-size="10.00">float</text>
<polyline fill="none" stroke="#bfbfbf" points="423.5,-304.5 458.5,-304.5 "/>
<text text-anchor="middle" x="441" y="-292.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
<polyline fill="none" stroke="#bfbfbf" points="423.5,-285.5 458.5,-285.5 "/>
<text text-anchor="middle" x="441" y="-273.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
</g>
<!-- Node6&#45;&gt;Node1 -->
<g id="edge5" class="edge"><title>Node6&#45;&gt;Node1</title>
<path fill="none" stroke="#404040" d="M439.513,-266.411C439.754,-245.834 443.076,-217.953 457,-198 478.432,-167.286 511.696,-144.264 544.321,-127.602"/>
<polygon fill="none" stroke="#404040" points="544.57,-127.48 548.194,-121.246 555.343,-122.194 551.719,-128.428 544.57,-127.48"/>
<text text-anchor="start" x="457" y="-223" font-family="Helvetica,sans-Serif" font-size="10.00"> &#45;max_vcore_oversubscription</text>
<text text-anchor="middle" x="522.5" y="-212" font-family="Helvetica,sans-Serif" font-size="10.00">_ratio_</text>
</g>
<!-- Node7 -->
<g id="node7" class="node"><title>Node7</title>
<polygon fill="white" stroke="#bfbfbf" points="572,-266.5 572,-323.5 618,-323.5 618,-266.5 572,-266.5"/>
<text text-anchor="middle" x="595" y="-311.5" font-family="Helvetica,sans-Serif" font-size="10.00">int64_t</text>
<polyline fill="none" stroke="#bfbfbf" points="572,-304.5 618,-304.5 "/>
<text text-anchor="middle" x="595" y="-292.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
<polyline fill="none" stroke="#bfbfbf" points="572,-285.5 618,-285.5 "/>
<text text-anchor="middle" x="595" y="-273.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
</g>
<!-- Node7&#45;&gt;Node1 -->
<g id="edge6" class="edge"><title>Node7&#45;&gt;Node1</title>
<path fill="none" stroke="#404040" d="M592.269,-266.34C591.085,-246.969 590.946,-220.61 596,-198 596.548,-195.547 597.157,-193.082 597.82,-190.612"/>
<polygon fill="none" stroke="#404040" points="597.84,-190.543 595.729,-183.648 601.282,-179.048 603.393,-185.943 597.84,-190.543"/>
<text text-anchor="middle" x="635" y="-223" font-family="Helvetica,sans-Serif" font-size="10.00"> &#45;vcores_</text>
<text text-anchor="middle" x="635" y="-212" font-family="Helvetica,sans-Serif" font-size="10.00">&#45;threads_running_</text>
</g>
<!-- Node8 -->
<g id="node8" class="node"><title>Node8</title>
<polygon fill="white" stroke="#bfbfbf" points="673,-266.5 673,-323.5 719,-323.5 719,-266.5 673,-266.5"/>
<text text-anchor="middle" x="696" y="-311.5" font-family="Helvetica,sans-Serif" font-size="10.00">int32_t</text>
<polyline fill="none" stroke="#bfbfbf" points="673,-304.5 719,-304.5 "/>
<text text-anchor="middle" x="696" y="-292.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
<polyline fill="none" stroke="#bfbfbf" points="673,-285.5 719,-285.5 "/>
<text text-anchor="middle" x="696" y="-273.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
</g>
<!-- Node8&#45;&gt;Node1 -->
<g id="edge7" class="edge"><title>Node8&#45;&gt;Node1</title>
<path fill="none" stroke="#404040" d="M689.934,-266.205C685.669,-247 679.723,-220.892 674,-198 673.422,-195.689 672.833,-193.352 672.234,-190.996"/>
<polygon fill="none" stroke="#404040" points="672.163,-190.719 666.793,-185.905 669.172,-179.098 674.541,-183.912 672.163,-190.719"/>
<text text-anchor="middle" x="723.5" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00"> &#45;callback_count_</text>
</g>
<!-- Node9 -->
<g id="node9" class="node"><title>Node9</title>
<polygon fill="white" stroke="#bfbfbf" points="774,-266.5 774,-323.5 818,-323.5 818,-266.5 774,-266.5"/>
<text text-anchor="middle" x="796" y="-311.5" font-family="Helvetica,sans-Serif" font-size="10.00">mutex</text>
<polyline fill="none" stroke="#bfbfbf" points="774,-304.5 818,-304.5 "/>
<text text-anchor="middle" x="796" y="-292.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
<polyline fill="none" stroke="#bfbfbf" points="774,-285.5 818,-285.5 "/>
<text text-anchor="middle" x="796" y="-273.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
</g>
<!-- Node9&#45;&gt;Node1 -->
<g id="edge8" class="edge"><title>Node9&#45;&gt;Node1</title>
<path fill="none" stroke="#404040" d="M791.471,-266.224C787.236,-246.072 779.481,-218.811 766,-198 759.357,-187.744 751.469,-177.88 742.954,-168.571"/>
<polygon fill="none" stroke="#404040" points="742.895,-168.509 735.86,-166.924 734.617,-159.821 741.652,-161.406 742.895,-168.509"/>
<text text-anchor="middle" x="821.5" y="-234" font-family="Helvetica,sans-Serif" font-size="10.00"> &#45;exit_lock_</text>
<text text-anchor="start" x="785" y="-223" font-family="Helvetica,sans-Serif" font-size="10.00">&#45;threads_running</text>
<text text-anchor="middle" x="821.5" y="-212" font-family="Helvetica,sans-Serif" font-size="10.00">_lock_</text>
<text text-anchor="middle" x="821.5" y="-201" font-family="Helvetica,sans-Serif" font-size="10.00">&#45;callbacks_lock_</text>
</g>
<!-- Node10 -->
<g id="node10" class="node"><title>Node10</title>
<polygon fill="white" stroke="#bfbfbf" points="844.5,-266.5 844.5,-323.5 939.5,-323.5 939.5,-266.5 844.5,-266.5"/>
<text text-anchor="middle" x="892" y="-311.5" font-family="Helvetica,sans-Serif" font-size="10.00">condition_variable</text>
<polyline fill="none" stroke="#bfbfbf" points="844.5,-304.5 939.5,-304.5 "/>
<text text-anchor="middle" x="892" y="-292.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
<polyline fill="none" stroke="#bfbfbf" points="844.5,-285.5 939.5,-285.5 "/>
<text text-anchor="middle" x="892" y="-273.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
</g>
<!-- Node10&#45;&gt;Node1 -->
<g id="edge9" class="edge"><title>Node10&#45;&gt;Node1</title>
<path fill="none" stroke="#404040" d="M889.255,-266.356C885.9,-245.481 878.461,-217.238 862,-198 831.668,-162.553 786.81,-137.723 745.739,-120.97"/>
<polygon fill="none" stroke="#404040" points="745.717,-120.961 738.668,-122.484 734.552,-116.564 741.6,-115.041 745.717,-120.961"/>
<text text-anchor="middle" x="935" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00"> &#45;threads_changed_cv_</text>
</g>
<!-- Node11 -->
<g id="node11" class="node"><title>Node11</title>
<g id="a_node11"><a xlink:href="classbool.html" target="_top" xlink:title="{bool\n||}">
<polygon fill="white" stroke="black" points="991.5,-266.5 991.5,-323.5 1026.5,-323.5 1026.5,-266.5 991.5,-266.5"/>
<text text-anchor="middle" x="1009" y="-311.5" font-family="Helvetica,sans-Serif" font-size="10.00">bool</text>
<polyline fill="none" stroke="black" points="991.5,-304.5 1026.5,-304.5 "/>
<text text-anchor="middle" x="1009" y="-292.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
<polyline fill="none" stroke="black" points="991.5,-285.5 1026.5,-285.5 "/>
<text text-anchor="middle" x="1009" y="-273.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node1 -->
<g id="edge10" class="edge"><title>Node11&#45;&gt;Node1</title>
<path fill="none" stroke="#404040" d="M1010.68,-266.272C1010.44,-245.071 1006.59,-216.439 990,-198 928.583,-129.746 824.564,-104.565 746.766,-95.5138"/>
<polygon fill="none" stroke="#404040" points="746.447,-95.4795 740.053,-98.8145 734.516,-94.1955 740.909,-90.8604 746.447,-95.4795"/>
<text text-anchor="middle" x="1023" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00"> &#45;exit_</text>
</g>
<!-- Node12 -->
<g id="node12" class="node"><title>Node12</title>
<polygon fill="white" stroke="#bfbfbf" points="1044.5,-266.5 1044.5,-323.5 1139.5,-323.5 1139.5,-266.5 1044.5,-266.5"/>
<text text-anchor="middle" x="1092" y="-311.5" font-family="Helvetica,sans-Serif" font-size="10.00">TNetworkAddress</text>
<polyline fill="none" stroke="#bfbfbf" points="1044.5,-304.5 1139.5,-304.5 "/>
<text text-anchor="middle" x="1092" y="-292.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
<polyline fill="none" stroke="#bfbfbf" points="1044.5,-285.5 1139.5,-285.5 "/>
<text text-anchor="middle" x="1092" y="-273.5" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
</g>
<!-- Node12&#45;&gt;Node1 -->
<g id="edge11" class="edge"><title>Node12&#45;&gt;Node1</title>
<path fill="none" stroke="#404040" d="M1084.09,-266.457C1076.47,-244.779 1062.84,-215.415 1041,-198 956.58,-130.68 833.251,-105.569 746.714,-96.2839"/>
<polygon fill="none" stroke="#404040" points="746.695,-96.282 740.323,-99.6587 734.756,-95.076 741.127,-91.6992 746.695,-96.282"/>
<text text-anchor="middle" x="1130" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00"> &#45;local_resource_location_</text>
</g>
<!-- Node13 -->
<g id="node13" class="node"><title>Node13</title>
<polygon fill="white" stroke="#bfbfbf" points="1170,-261 1170,-329 1272,-329 1272,-261 1170,-261"/>
<text text-anchor="start" x="1178" y="-317" font-family="Helvetica,sans-Serif" font-size="10.00">scoped_ptr&lt; impala</text>
<text text-anchor="middle" x="1221" y="-306" font-family="Helvetica,sans-Serif" font-size="10.00">::Thread &gt;</text>
<polyline fill="none" stroke="#bfbfbf" points="1170,-299 1272,-299 "/>
<text text-anchor="middle" x="1221" y="-287" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
<polyline fill="none" stroke="#bfbfbf" points="1170,-280 1272,-280 "/>
<text text-anchor="middle" x="1221" y="-268" font-family="Helvetica,sans-Serif" font-size="10.00"> </text>
</g>
<!-- Node13&#45;&gt;Node1 -->
<g id="edge12" class="edge"><title>Node13&#45;&gt;Node1</title>
<path fill="none" stroke="#404040" d="M1219.06,-260.942C1216.05,-239.952 1208.68,-213.849 1191,-198 1126.76,-140.427 886.38,-111.106 746.914,-98.6391"/>
<polygon fill="none" stroke="#404040" points="746.524,-98.605 740.197,-102.065 734.57,-97.5561 740.896,-94.0959 746.524,-98.605"/>
<text text-anchor="middle" x="1267.5" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00"> &#45;acquire_vcore_thread_</text>
</g>
</g>
</svg>