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