Ver código fonte

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 anos atrás
pai
commit
160c4290d1
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 16 adições e 14 exclusões
  1. 16
    14
      doc/README.md

+ 16
- 14
doc/README.md Ver arquivo

@@ -190,27 +190,29 @@ the graph, controlled by the *nodecount* option.
190 190
 
191 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 211
 * **Dashed Edges**: some locations between the two connected locations were
204 212
   removed.
205 213
 
206 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 216
 * **"(inline)" Edge Marker**: the call has been inlined into the caller.
215 217
 
216 218
 Let's consider the following example graph: