Sfoglia il codice sorgente

Update README to reflect what green nodes/edges mean. (#531)

* Update the README.md

* Update the README.md

* Update the README.md

* Update the README.md

* Update the README.md
Garrett Wang 5 anni fa
parent
commit
160c4290d1
No account linked to committer's email address
1 ha cambiato i file con 16 aggiunte e 14 eliminazioni
  1. 16
    14
      doc/README.md

+ 16
- 14
doc/README.md Vedi File

190
 
190
 
191
 ### Interpreting the Callgraph
191
 ### Interpreting the Callgraph
192
 
192
 
193
-* **Flat Value**: the value of a location itself. This is indicated by the font 
194
-  size.
195
-    *   Nodes with larger font sizes have larger flat values.
196
-    *   Nodes with smaller font sizes have smaller flat values.
193
+* **Node Color**:
194
+  * large positive cum values are red.
195
+  * large negative cum values are green.
196
+  * cum values close to zero are grey.
197
 
197
 
198
-* **Cum Value**: the value of a location plus all of its descendants. This is
199
-  indicated by the node's color.
200
-    *   Redder nodes have greater cum values.
201
-    *   Greyer nodes have smaller cum values.
198
+* **Node Font Size**:
199
+  * larger font size means larger absolute flat values.
200
+  * smaller font size means smaller absolute flat values. 
201
+
202
+* **Edge Weight**:
203
+  * thicker edges indicate more resources were used along that path.
204
+  * thinner edges indicate fewer resources were used along that path.
205
+
206
+* **Edge Color**:
207
+  * large positive values are red.
208
+  * large negative values are green.
209
+  * values close to zero are grey.
202
 
210
 
203
 * **Dashed Edges**: some locations between the two connected locations were
211
 * **Dashed Edges**: some locations between the two connected locations were
204
   removed.
212
   removed.
205
 
213
 
206
 * **Solid Edges**: one location directly calls the other.
214
 * **Solid Edges**: one location directly calls the other.
207
 
215
 
208
-* **Thicker & Redder Edges**: more resources (i.e. larger value) were used
209
-  along that path.
210
-
211
-* **Thinner & Greyer Edges**: fewer resources (i.e. smaller value) were used
212
-  along that path.
213
-
214
 * **"(inline)" Edge Marker**: the call has been inlined into the caller.
216
 * **"(inline)" Edge Marker**: the call has been inlined into the caller.
215
 
217
 
216
 Let's consider the following example graph:
218
 Let's consider the following example graph: