| | 1 | [[TracNav(DevelDocTOC)]] |
| | 2 | |
| | 3 | {{{ |
| | 4 | #!graphviz |
| | 5 | digraph tree { |
| | 6 | subgraph cluster_compiling { |
| | 7 | label="compiling"; |
| | 8 | php_compile; |
| | 9 | php_store; |
| | 10 | entry_store; |
| | 11 | } |
| | 12 | error [color=red]; |
| | 13 | origin_compile [color=red] |
| | 14 | |
| | 15 | begin -> origin_compile [label="clog", color=red]; |
| | 16 | |
| | 17 | begin -> entry_init_key -> entry_lookup; |
| | 18 | edge [label=hit, color=blue] |
| | 19 | entry_lookup -> restore; |
| | 20 | php_lookup -> entry_store; |
| | 21 | edge [label=miss, color=green] |
| | 22 | entry_lookup -> md5_init; |
| | 23 | md5_init -> php_lookup; |
| | 24 | php_lookup -> php_compile; |
| | 25 | |
| | 26 | edge [label="", color=""] |
| | 27 | php_lookup -> origin_compile [label="miss but compiling", color=red]; |
| | 28 | php_compile -> php_store -> entry_store -> restore; |
| | 29 | |
| | 30 | edge [color=red]; |
| | 31 | md5_init -> error; |
| | 32 | php_compile -> error; |
| | 33 | php_store -> error; |
| | 34 | entry_store -> error; |
| | 35 | } |
| | 36 | }}} |