Files
C-Plus-Plus/d3/db3/lru__cache_8cpp_a6401e8f2d41d8cc9cd0e52ab381608d4_cgraph.svg
2022-09-02 14:36:25 +00:00

213 lines
11 KiB
XML

<?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 5.0.1 (20220820.1526)
-->
<!-- Title: lru_tests::test_1 Pages: 1 -->
<svg width="421pt" height="347pt"
viewBox="0.00 0.00 421.00 347.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 343)">
<title>lru_tests::test_1</title>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<polygon fill="#999999" stroke="#666666" points="87,-227 0,-227 0,-208 87,-208 87,-227"/>
<text text-anchor="middle" x="43.5" y="-215" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_1</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node1 -->
<g id="edge13" class="edge">
<title>Node1&#45;&gt;Node1</title>
<path fill="none" stroke="#63b8ff" d="M21.31,-227.08C10.51,-235.73 17.91,-245 43.5,-245 59.9,-245 68.82,-241.2 70.29,-236.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.32,-234.44 65.69,-227.08 67.07,-237.59 73.32,-234.44"/>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<polygon fill="white" stroke="#666666" points="239,-280.5 136,-280.5 136,-250.5 239,-250.5 239,-280.5"/>
<text text-anchor="start" x="144" y="-268.5" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="187.5" y="-257.5" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="#63b8ff" d="M72.89,-227.1C89.87,-232.83 111.99,-240.31 132.2,-247.15"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.34,-250.55 141.94,-250.44 133.59,-243.92 131.34,-250.55"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<polygon fill="white" stroke="#666666" points="252,-232.5 123,-232.5 123,-202.5 252,-202.5 252,-232.5"/>
<text text-anchor="start" x="131" y="-220.5" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="187.5" y="-209.5" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node1&#45;&gt;Node3</title>
<path fill="none" stroke="#63b8ff" d="M87.1,-217.5C95.21,-217.5 103.9,-217.5 112.65,-217.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="112.92,-221 122.92,-217.5 112.92,-214 112.92,-221"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<polygon fill="white" stroke="#666666" points="236.5,-184.5 138.5,-184.5 138.5,-154.5 236.5,-154.5 236.5,-184.5"/>
<text text-anchor="start" x="146.5" y="-172.5" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="187.5" y="-161.5" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node1&#45;&gt;Node4</title>
<path fill="none" stroke="#63b8ff" d="M72.89,-207.9C89.87,-202.17 111.99,-194.69 132.2,-187.85"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="133.59,-191.08 141.94,-184.56 131.34,-184.45 133.59,-191.08"/>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<title>Node5</title>
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="388.5,-339 312.5,-339 312.5,-320 388.5,-320 388.5,-339"/>
<text text-anchor="middle" x="350.5" y="-327" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<title>Node4&#45;&gt;Node5</title>
<path fill="none" stroke="#63b8ff" d="M236.59,-182.07C242.31,-185.1 247.65,-188.86 252,-193.5 289.49,-233.52 249.01,-272.95 288,-311.5 292.21,-315.66 297.32,-318.87 302.78,-321.34"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="301.61,-324.64 312.2,-324.84 304.05,-318.08 301.61,-324.64"/>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="389.5,-302 311.5,-302 311.5,-283 389.5,-283 389.5,-302"/>
<text text-anchor="middle" x="350.5" y="-290" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<title>Node4&#45;&gt;Node6</title>
<path fill="none" stroke="#63b8ff" d="M236.72,-182.91C242.28,-185.8 247.55,-189.29 252,-193.5 280.64,-220.55 258.35,-248.56 288,-274.5 292.13,-278.12 296.96,-281.01 302.06,-283.32"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="300.85,-286.6 311.44,-286.88 303.34,-280.06 300.85,-286.6"/>
</g>
<!-- Node7 -->
<g id="node7" class="node">
<title>Node7</title>
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="413,-265 288,-265 288,-246 413,-246 413,-265"/>
<text text-anchor="middle" x="350.5" y="-253" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<title>Node4&#45;&gt;Node7</title>
<path fill="none" stroke="#63b8ff" d="M236.68,-184.64C242.06,-187.21 247.29,-190.16 252,-193.5 272.32,-207.93 267.24,-222.7 288,-236.5 291.07,-238.54 294.36,-240.37 297.77,-242"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="296.44,-245.24 307.02,-245.91 299.17,-238.79 296.44,-245.24"/>
</g>
<!-- Node8 -->
<g id="node8" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="402,-227.5 299,-227.5 299,-197.5 402,-197.5 402,-227.5"/>
<text text-anchor="start" x="307" y="-215.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="350.5" y="-204.5" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node8 -->
<g id="edge7" class="edge">
<title>Node4&#45;&gt;Node8</title>
<path fill="none" stroke="#63b8ff" d="M236.81,-182.4C253.22,-186.79 271.77,-191.74 289.02,-196.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="288.43,-199.81 298.99,-199.01 290.24,-193.05 288.43,-199.81"/>
</g>
<!-- Node9 -->
<g id="node9" class="node">
<title>Node9</title>
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="390,-179 311,-179 311,-160 390,-160 390,-179"/>
<text text-anchor="middle" x="350.5" y="-167" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node9 -->
<g id="edge8" class="edge">
<title>Node4&#45;&gt;Node9</title>
<path fill="none" stroke="#63b8ff" d="M236.81,-169.5C257,-169.5 280.43,-169.5 300.67,-169.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="300.94,-173 310.94,-169.5 300.94,-166 300.94,-173"/>
</g>
<!-- Node10 -->
<g id="node10" class="node">
<title>Node10</title>
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="402,-141.5 299,-141.5 299,-111.5 402,-111.5 402,-141.5"/>
<text text-anchor="start" x="307" y="-129.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="350.5" y="-118.5" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node10 -->
<g id="edge9" class="edge">
<title>Node4&#45;&gt;Node10</title>
<path fill="none" stroke="#63b8ff" d="M236.81,-156.6C253.22,-152.21 271.77,-147.26 289.02,-142.65"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="290.24,-145.95 298.99,-139.99 288.43,-139.19 290.24,-145.95"/>
</g>
<!-- Node11 -->
<g id="node11" class="node">
<title>Node11</title>
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="399,-93 302,-93 302,-74 399,-74 399,-93"/>
<text text-anchor="middle" x="350.5" y="-81" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node11 -->
<g id="edge10" class="edge">
<title>Node4&#45;&gt;Node11</title>
<path fill="none" stroke="#63b8ff" d="M207.3,-154.37C226.59,-139.45 257.94,-116.88 288,-102.5 292.67,-100.27 297.66,-98.22 302.71,-96.36"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="304.08,-99.59 312.41,-93.04 301.81,-92.97 304.08,-99.59"/>
</g>
<!-- Node12 -->
<g id="node12" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="401,-56 300,-56 300,-37 401,-37 401,-56"/>
<text text-anchor="middle" x="350.5" y="-44" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node12 -->
<g id="edge11" class="edge">
<title>Node4&#45;&gt;Node12</title>
<path fill="none" stroke="#63b8ff" d="M198.94,-154.45C215.34,-131.89 249.31,-89.41 288,-65.5 291.38,-63.41 295.01,-61.54 298.75,-59.86"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="300.22,-63.04 308.2,-56.07 297.62,-56.54 300.22,-63.04"/>
</g>
<!-- Node13 -->
<g id="node13" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="387,-19 314,-19 314,0 387,0 387,-19"/>
<text text-anchor="middle" x="350.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node13 -->
<g id="edge12" class="edge">
<title>Node4&#45;&gt;Node13</title>
<path fill="none" stroke="#63b8ff" d="M195.11,-154.26C208.42,-125.36 241.21,-62.47 288,-28.5 292.87,-24.97 298.4,-22.08 304.12,-19.72"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="305.58,-22.92 313.81,-16.24 303.21,-16.33 305.58,-22.92"/>
</g>
</g>
</svg>