Archived issue #0029346
Visualization, TKOpenGl - collect frame statistics
Description
For performance analysis it is desired having some tools collecting statistics internally in TKOpenGl.
Although many measurements can be done using external tools or at application level, having statistics in terms of OCCT structures might be more useful for analysis.
Although many measurements can be done using external tools or at application level, having statistics in terms of OCCT structures might be more useful for analysis.
Steps to reproduce
source $env(CSF_OCCTSamplesPath)/tcl/spheres.tcl vrenderparams -perfcounters extra
Public activity
29 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Mon Nov 27 23:07:31 2017 +0300
0029346: Visualization, TKOpenGl - collect frame statistics
Graphic3d_RenderingParams::ToShowStats - new option displaying rendering statistics.
OpenGl_FrameStats - new class for accumulating frame statistics.
OpenGl_Context::FrameStats() provides an access to the frame stats
used for currently rendered context.
OpenGl_View::Redraw() and OpenGl_View::RedrawImmediate()
resets counters within OpenGl_Context::FrameStats().
OSD_Chronometer - added methods UserTimeCPU() and SystemTimeCPU(),
more straightforward getters for chronometer values.
OSD_Timer constructor now takes theThisThreadOnly argument passed to OSD_Chronometer.
Aspect_TODT_SHADOW - added new text style to Aspect_TypeOfDisplayText enumeration,
so that OpenGl_Text will draw a tiny shadow at right-bottom corner
(less distinctly than Aspect_TODT_DEKALE).
[revision removed]
Detailed log of new commits:
Author: Author
Date: Mon Nov 27 23:07:31 2017 +0300
0029346: Visualization, TKOpenGl - collect frame statistics
Graphic3d_RenderingParams::ToShowStats - new option displaying rendering statistics.
OpenGl_FrameStats - new class for accumulating frame statistics.
OpenGl_Context::FrameStats() provides an access to the frame stats
used for currently rendered context.
OpenGl_View::Redraw() and OpenGl_View::RedrawImmediate()
resets counters within OpenGl_Context::FrameStats().
OSD_Chronometer - added methods UserTimeCPU() and SystemTimeCPU(),
more straightforward getters for chronometer values.
OSD_Timer constructor now takes theThisThreadOnly argument passed to OSD_Chronometer.
Aspect_TODT_SHADOW - added new text style to Aspect_TypeOfDisplayText enumeration,
so that OpenGl_Text will draw a tiny shadow at right-bottom corner
(less distinctly than Aspect_TODT_DEKALE).
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Nov 24 18:43:01 2017 +0300
0029346: Visualization, TKOpenGl - collect frame statistics
Graphic3d_RenderingParams::ToShowStats - new option displaying rendering statistics.
OpenGl_FrameStats - new class for accumulating frame statistics.
OpenGl_Context::FrameStats() provides an access to the frame stats
used for currently rendered context.
OpenGl_View::Redraw() and OpenGl_View::RedrawImmediate()
resets counters within OpenGl_Context::FrameStats().
OpenGl_Layer::UpdateCulling() - simplified resetting of culling state for cullable structures.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Nov 24 18:43:01 2017 +0300
0029346: Visualization, TKOpenGl - collect frame statistics
Graphic3d_RenderingParams::ToShowStats - new option displaying rendering statistics.
OpenGl_FrameStats - new class for accumulating frame statistics.
OpenGl_Context::FrameStats() provides an access to the frame stats
used for currently rendered context.
OpenGl_View::Redraw() and OpenGl_View::RedrawImmediate()
resets counters within OpenGl_Context::FrameStats().
OpenGl_Layer::UpdateCulling() - simplified resetting of culling state for cullable structures.
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Patch is ready for review (in branch CR29346_2).
http://jenkins-test-10.nnov.opencascade.com/view/CR29346_2-CR29346_2-KGV/
http://jenkins-test-10.nnov.opencascade.com/view/CR29346_2-CR29346_2-KGV/
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Nov 24 18:43:01 2017 +0300
0029346: Visualization, TKOpenGl - collect frame statistics
Graphic3d_RenderingParams::ToShowStats - new option displaying rendering statistics.
OpenGl_FrameStats - new class for accumulating frame statistics.
OpenGl_Context::FrameStats() provides an access to the frame stats
used for currently rendered context.
OpenGl_View::Redraw() and OpenGl_View::RedrawImmediate()
resets counters within OpenGl_Context::FrameStats().
OpenGl_Layer::UpdateCulling() - simplified resetting of culling state for cullable structures.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Nov 24 18:43:01 2017 +0300
0029346: Visualization, TKOpenGl - collect frame statistics
Graphic3d_RenderingParams::ToShowStats - new option displaying rendering statistics.
OpenGl_FrameStats - new class for accumulating frame statistics.
OpenGl_Context::FrameStats() provides an access to the frame stats
used for currently rendered context.
OpenGl_View::Redraw() and OpenGl_View::RedrawImmediate()
resets counters within OpenGl_Context::FrameStats().
OpenGl_Layer::UpdateCulling() - simplified resetting of culling state for cullable structures.
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch CR29346_2 in occt and occt-products reviewed without remarks, ready for testing.
Combination -
OCCT branch : [archived branch] SHA - [revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested on optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Debian70-64:
OCCT
Total CPU difference: 19954.75000000054 / 19837.270000000357 [+0.59%]
Products
Total CPU difference: 8024.5000000000755 / 8039.350000000084 [-0.18%]
Windows-64-VC10:
OCCT
Total CPU difference: 17995.854157298607 / 17832.614710898575 [+0.92%]
Products
Total CPU difference: 8054.362830199943 / 8019.621407499985 [+0.43%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
OCCT branch : [archived branch] SHA - [revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested on optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Debian70-64:
OCCT
Total CPU difference: 19954.75000000054 / 19837.270000000357 [+0.59%]
Products
Total CPU difference: 8024.5000000000755 / 8039.350000000084 [-0.18%]
Windows-64-VC10:
OCCT
Total CPU difference: 17995.854157298607 / 17832.614710898575 [+0.92%]
Products
Total CPU difference: 8054.362830199943 / 8019.621407499985 [+0.43%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
Branch [archived branch] has been deleted by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been deleted by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been deleted by Author.
[revision removed]
[revision removed]
Related records
- #0029365 · parent of · closedVisualization, TKOpenGl - do not include hidden structures to Rendered within frame statistics
- #0030135 · parent of · closedVisualization, TKOpenGl - frame statistics do not include information about instanced structures
- #0031394 · parent of · closedVisualization, TKOpenGl - define OpenGl_Element::EstimatedDataSize() interface
- #0031588 · parent of · closedVisualization, TKOpenGl - display immediate updates in brackets within frame stats
- #0029366 · related to · closedVisualization, OpenGl_Text - artifacts when using Aspect_TODT_SHADOW/Aspect_TODT_DEKALE at different zoom level