DiscussionsIssue archiveOCCT:Visualization

Archived issue #0029346

Visualization, TKOpenGl - collect frame statistics

Open CASCADEOCCT:Visualizationclosed29 public notes

Search issues

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.

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.

01Commenter 3
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).
02Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
03Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
04Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
05Commenter 3
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.
06Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
07Author
Patch is ready for review (in branch CR29346_2).

http://jenkins-test-10.nnov.opencascade.com/view/CR29346_2-CR29346_2-KGV/

08Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
09Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
10Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
11Commenter 3
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.
12Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
13Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
14Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
15Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
16Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
17Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
18Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
19Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
20Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
21Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
22Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
23Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
24Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
25Commenter 25
Branch CR29346_2 in occt and occt-products reviewed without remarks, ready for testing.
26Commenter 1
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
27Commenter 3
Branch [archived branch] has been deleted by Author.

[revision removed]
28Commenter 3
Branch [archived branch] has been deleted by Author.

[revision removed]
29Commenter 3
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records