profiler - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 4.0.0
Note : Coin

NAMEprofiler − Scene Graph Profiling
 − Coin includes some scene graph profiling functionality​.

SYNOPSIS

Classesclass SoProfiler
Main static class for initializing the scene graph profiling subsystem​.
class SoProfilerElement
The SoProfilerElement element class is for registering statistics during scene graph traversals​.
class SoProfilerStats
The SoProfilerStats class is a node for exposing profiling results gathered by SoProfilerElement​.
class SoProfilingReportGenerator
Convenience report generator functionality​.
class SbProfilingData
Data structure for gathering scene graph traversal profiling information​.

VariablesEnvironmentVariable COIN_PROFILER
EnvironmentVariable COIN_PROFILER_OVERLAY

Detailed DescriptionCoin includes some scene graph profiling functionality​. This functionality is intended for use during application development for identifying performance bottlenecks in Coin-based applications with regards to how Coin is being used and with regards to problems with how Coin is implemented​. The profiling code can be enabled in existing Coin applications without the need of adding any code by enabling it through the use of some environment variables​. For particular profiling needs, the default behaviour you can trigger through environment variables might not work that well (you might have a specialized render pipeline that causes the output to be garbled) or focus on the information you need (the full application might perhaps add noise to the system that Coin won't separate out)​. In such cases, programmatic access to the profiling subsystem will be necessary to get the better results​. Since Coin 3​.0

Variable Documentation

EnvironmentVariable COIN_PROFILERThis variable should be a set of profiler settings keywords, separated by ':' characters​. The keywords are: • on • off • syncgl The on keyword just enables the profiling element so profiling data is recorded​. The off keyword just disables the profiling subsystem​. There is really no need for specifying this as it is off by default, but can for instance be used to override settings already in the environment at launch-time​. The syncgl keyword will make GL rendering flush the GL pipeline between each node, so that the profiling data will better reflect which nodes actually cause work for Open GL​. Note however that the GL rendering performance drops like a rock when enabling this​. The syncgl keyword implies the on keyword​. Old Usage: When this was first implemented, just setting this environment variable to '1' or any positive integer value turned on the live scene graph profiling feature in Coin​. This usage is still supported, but as the number of options grew, it was obvious that we needed a new scheme rather than one variable for each feature​. The positive integer approach can not be combined with using keywords, and setting the value to '1' is the same thing as setting it to 'on'​.

EnvironmentVariable COIN_PROFILER_OVERLAYThis variable enables some default profiler statistics output techniques​. It should be a set of profiler overlay settings keywords, separated by ':' characters​. • autoredraw=<float> • stdout • stderr • clear • header • lines=<int> • action=<actionclass> • category=<nodes|types|names> The autoredraw=<float> option sets up the GL display to automatically redraw the display after a delay of <float> seconds​. Example: redraw=0​.2 gives you somewhere below 5 redraws a second, depending on how fast each frame is drawn​. The stdout keyword causes the profiling data to be sent to stdout instead of being overlayed on the GL view​. The stderr keyword causes the profiling data to be sent to stderr instead of being overlayed on the GL view​. The clear keyword works with stdout and stderr, and makes Coin attempt to clear the console between each time it dumps profiling data​. It just uses the ANSI console escape sequence for clearing, which may not work on all types of terminals​. The header keyword makes the profiling output be preceded by a header line that explains what each column means​. It only works with stdout and stderr​. The lines=<int> option lets you select the number of lines to output​. The default is 20​. This option only works with stdout and stderr​. The action=<actionclass> option lets you select which action is to be profiled​. The default is of course the SoGLRenderAction​. This only works with stdout and stderr​. The category=<keyword> option lets you specify which view you should have on the profiling data​. A nodes view will give you one entry in the list for each node​. A types view will summarize over each type and present one entry per node type​. A names view will group nodes that belong under the same named node together and presents that summary as one entry​. Old Usage: Setting this environment variable to '1' (or any positive integer) turns on the live scene graph (primarily) profiling overlay feature in Coin, the way it was in the beginning of implementing this functionality​. This still works but just gives you one default view​. It can not be combined with using keywords​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   20,857 byte
man-profiler.3coin4Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 183,155
Visitor ID   :     :  
Visitor IP   :   18.119.117.122   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.