1profiling_intro(3) Coin profiling_intro(3)
2
3
4
6 profiling_intro - Scene Graph Profiling
7
8
9 Enabling profiling in Coin
10 To enable profiling in Coin, use the environment variable
11 COIN_PROFILER. When profiling is enabled, Coin will gather profiling
12 data during every scene graph traversal by any action.
13
14 Enabling the default profiling display
15 To get some profiling data shown on the screen, you also need to use
16 the COIN_PROFILER_OVERLAY environment variable.
17
18 This will give you the default profiling graphics, which shows a top-
19 list of node timings categorized by node types, a scrolling graph of
20 action traversal timings, and a scene graph navigator for closer scene
21 graph inspection.
22
23 Read the profiling data
24 The SoProfilerStats node can be used to fetch the profiling data in the
25 scene graph. If it is positioned anywhere in the scene graph, the
26 fields of the node will be updated every time SoGLRenderAction is
27 applied to the scene graph, with profiling data gathered from every
28 traversal through the scene graph since the last SoGLRenderAction, up
29 to the point where SoProfilerStats is located. Depending of how you
30 wish to use the data, either attach sensors to the fields, or connect
31 the the fields on other coin nodes to the fields on SoProfilerStats.
32
33
34
35Version 4.0.0 Wed Jul 20 2022 profiling_intro(3)