MantisBT - Open CASCADE
View Issue Details
0029346Open CASCADE[OCCT] OCCT:Visualizationpublic2017-11-27 16:302020-06-02 17:01
kgv 
bugmaster 
normalfeature 
closedfixed 
 
[OCCT] 7.3.0[OCCT] 7.3.0 
Not required
0029346: Visualization, TKOpenGl - collect frame statistics
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.
source $env(CSF_OCCTSamplesPath)/tcl/spheres.tcl
vrenderparams -perfcounters extra
No tags attached.
parent of 0029365closed bugmaster Open CASCADE Visualization, TKOpenGl - do not include hidden structures to Rendered within frame statistics 
parent of 0030135closed apn Open CASCADE Visualization, TKOpenGl - frame statistics do not include information about instanced structures 
parent of 0031394closed bugmaster Open CASCADE Visualization, TKOpenGl - define OpenGl_Element::EstimatedDataSize() interface 
parent of 0031588closed bugmaster Open CASCADE Visualization, TKOpenGl - display immediate updates in brackets within frame stats 
related to 0029366closed bugmaster Open CASCADE Visualization, OpenGl_Text - artifacts when using Aspect_TODT_SHADOW/Aspect_TODT_DEKALE at different zoom level 
png occt_stats3.png (175,100) 2017-11-29 12:18
https://tracker.dev.opencascade.org/
Issue History
2017-11-27 16:30kgvNew Issue
2017-11-27 16:30kgvAssigned To => kgv
2017-11-27 20:26kgvFile Added: occt_stats.png
2017-11-28 01:48gitNote Added: 0072509
2017-11-28 01:52gitNote Added: 0072510
2017-11-28 14:14gitNote Added: 0072533
2017-11-28 14:17kgvFile Added: occt_stats2.png
2017-11-28 14:19kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18239#r18239
2017-11-28 14:22gitNote Added: 0072534
2017-11-28 14:44gitNote Added: 0072536
2017-11-28 14:45gitNote Added: 0072537
2017-11-28 14:52kgvNote Added: 0072538
2017-11-28 14:52kgvAssigned Tokgv => san
2017-11-28 14:52kgvStatusnew => resolved
2017-11-28 15:49gitNote Added: 0072541
2017-11-28 16:39gitNote Added: 0072545
2017-11-28 18:28kgvNote Edited: 0072538bug_revision_view_page.php?bugnote_id=72538#r18247
2017-11-28 21:17gitNote Added: 0072548
2017-11-28 21:18gitNote Added: 0072549
2017-11-28 21:43gitNote Added: 0072550
2017-11-28 21:53gitNote Added: 0072554
2017-11-28 23:57gitNote Added: 0072555
2017-11-28 23:58gitNote Added: 0072556
2017-11-29 01:37gitNote Added: 0072558
2017-11-29 08:41gitNote Added: 0072559
2017-11-29 08:47gitNote Added: 0072560
2017-11-29 11:17gitNote Added: 0072564
2017-11-29 11:33gitNote Added: 0072565
2017-11-29 11:40gitNote Added: 0072566
2017-11-29 11:59gitNote Added: 0072567
2017-11-29 12:01gitNote Added: 0072568
2017-11-29 12:08gitNote Added: 0072570
2017-11-29 12:18kgvFile Added: occt_stats3.png
2017-11-29 12:19kgvFile Deleted: occt_stats2.png
2017-11-29 12:20kgvFile Deleted: occt_stats.png
2017-11-29 14:58kgvNote Edited: 0072538bug_revision_view_page.php?bugnote_id=72538#r18248
2017-12-01 15:16sanNote Added: 0072654
2017-12-01 15:16sanAssigned Tosan => bugmaster
2017-12-01 15:16sanStatusresolved => reviewed
2017-12-01 15:26bugmasterNote Added: 0072657
2017-12-01 15:26bugmasterStatusreviewed => tested
2017-12-01 15:27bugmasterTest case number => Not required
2017-12-02 16:59bugmasterChangeset attached => occt master 15669413
2017-12-02 16:59bugmasterStatustested => verified
2017-12-02 16:59bugmasterResolutionopen => fixed
2017-12-04 11:35bugmasterProjectInternal => Open CASCADE
2017-12-04 15:13kgvRelationship addedparent of 0029365
2017-12-04 15:26kgvRelationship addedrelated to 0029366
2017-12-07 21:08gitNote Added: 0072826
2017-12-07 21:08gitNote Added: 0072827
2017-12-07 21:08gitNote Added: 0072828
2018-02-20 12:58aivTarget Version7.4.0 => 7.3.0
2018-06-29 21:15aivFixed in Version => 7.3.0
2018-06-29 21:19aivStatusverified => closed
2018-09-12 14:55kgvRelationship addedparent of 0030135
2020-02-25 15:01kgvRelationship addedparent of 0031394
2020-04-17 12:23kgvRelationship addedparent of 0031505
2020-06-02 17:01kgvRelationship addedparent of 0031588

Notes
(0072509)
git   
2017-11-28 01:48   
Branch CR29346 has been created by kgv.

SHA-1: 0b15d5897b333623244ad8b4f7fac83e9e1a6dfd


Detailed log of new commits:

Author: kgv
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).
(0072510)
git   
2017-11-28 01:52   
Branch CR29346 has been updated forcibly by kgv.

SHA-1: d93c5594af25bbc815f074d98edc70b5ef2e3480
(0072533)
git   
2017-11-28 14:14   
Branch CR29346 has been updated forcibly by kgv.

SHA-1: 1fa65cbc991f201f94bb01d7baa29f5b30cf65e4
(0072534)
git   
2017-11-28 14:22   
Branch CR29346 has been updated forcibly by kgv.

SHA-1: 6243b090c4bfb15b2c34f6890233b5b4b9e67ddb
(0072536)
git   
2017-11-28 14:44   
Branch CR29346_1 has been created by kgv.

SHA-1: e067144826cf24ba5bd19f808db5ce6603fa6d72


Detailed log of new commits:

Author: kgv
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.
(0072537)
git   
2017-11-28 14:45   
Branch CR29346 has been updated forcibly by kgv.

SHA-1: 8700231947bf6541e84ea7aa7825e352d88ad4e9
(0072538)
kgv   
2017-11-28 14:52   
(edited on: 2017-11-29 14:58)
Patch is ready for review (in branch CR29346_2).

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

(0072541)
git   
2017-11-28 15:49   
Branch CR29346_1 has been updated forcibly by kgv.

SHA-1: 167d4d17c7daad31f97cab67aad781319012b566
(0072545)
git   
2017-11-28 16:39   
Branch CR29346_1 has been updated forcibly by kgv.

SHA-1: b828eddbde02a614b3a3e74a876d6bffdb48e500
(0072548)
git   
2017-11-28 21:17   
Branch CR29346 has been updated forcibly by kgv.

SHA-1: 571cd114c764da75fe1be2b61ed34a8af520dbe9
(0072549)
git   
2017-11-28 21:18   
Branch CR29346_2 has been created by kgv.

SHA-1: 848cae7a803fdcfa87223c4ab21fe165c740924c


Detailed log of new commits:

Author: kgv
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.
(0072550)
git   
2017-11-28 21:43   
Branch CR29346 has been updated forcibly by kgv.

SHA-1: 121efc07343cd8b3c12fff2d2f10b5f194959485
(0072554)
git   
2017-11-28 21:53   
Branch CR29346_2 has been updated forcibly by kgv.

SHA-1: 1fcad76764d802b9e00876046973ab8fea26ddd1
(0072555)
git   
2017-11-28 23:57   
Branch CR29346 has been updated forcibly by kgv.

SHA-1: 3f42219c7e617e4545882773007a73567cdfec82
(0072556)
git   
2017-11-28 23:58   
Branch CR29346_2 has been updated forcibly by kgv.

SHA-1: a2f822f8debe753d77c1e0d101f85a2610586b66
(0072558)
git   
2017-11-29 01:37   
Branch CR29346_2 has been updated forcibly by kgv.

SHA-1: 751b7f9ef2dbf180990201203f5a54f0aaf44bb1
(0072559)
git   
2017-11-29 08:41   
Branch CR29346_2 has been updated forcibly by kgv.

SHA-1: c767770151db6b60a44a0089afe2565bb7756429
(0072560)
git   
2017-11-29 08:47   
Branch CR29346_2 has been updated forcibly by kgv.

SHA-1: a9d34c3602a691d38c989e0f7a8e7fe4806411ee
(0072564)
git   
2017-11-29 11:17   
Branch CR29346_2 has been updated forcibly by kgv.

SHA-1: b2ec6cadd935f3ce7fa6a07d2e54f2acf30dd977
(0072565)
git   
2017-11-29 11:33   
Branch CR29346_2 has been updated forcibly by kgv.

SHA-1: 0aa394375aab4ee9714cc4af58ad3b61c0bb5317
(0072566)
git   
2017-11-29 11:40   
Branch CR29346_2 has been updated forcibly by kgv.

SHA-1: 0cdbaf9139eb3c0ac13f0d54035cde9fc03cddbc
(0072567)
git   
2017-11-29 11:59   
Branch CR29346_2 has been updated forcibly by kgv.

SHA-1: 84f29cad43dceb7349dbbe8870ca3e3ddba69b87
(0072568)
git   
2017-11-29 12:01   
Branch CR29346_2 has been updated forcibly by kgv.

SHA-1: d380d37e5630176a6285983f4225cd1b00d72a04
(0072570)
git   
2017-11-29 12:08   
Branch CR29346 has been updated forcibly by kgv.

SHA-1: 279e52ac538ea3b3661d2433506e5c2b3ef0ee58
(0072654)
san   
2017-12-01 15:16   
Branch CR29346_2 in occt and occt-products reviewed without remarks, ready for testing.
(0072657)
bugmaster   
2017-12-01 15:26   
Combination -
OCCT branch : CR29346_2 SHA - a9d34c3602a691d38c989e0f7a8e7fe4806411ee
Products branch : CR29346_2 SHA - c711e3ae5e778220a36c88e4f9dd10b8fe50a7ed
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
(0072826)
git   
2017-12-07 21:08   
Branch CR29346 has been deleted by kgv.

SHA-1: 279e52ac538ea3b3661d2433506e5c2b3ef0ee58
(0072827)
git   
2017-12-07 21:08   
Branch CR29346_1 has been deleted by kgv.

SHA-1: b828eddbde02a614b3a3e74a876d6bffdb48e500
(0072828)
git   
2017-12-07 21:08   
Branch CR29346_2 has been deleted by kgv.

SHA-1: d380d37e5630176a6285983f4225cd1b00d72a04