1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0030437: Visualization, TKV3d - add Draw command to print rendering statistics

Add new command "vstatprofiler" to manage rendering parameters and print them.
If there are some input parameters - print corresponding statistic counters values,
else - print all performance counters set previously.
This commit is contained in:
osa
2019-01-10 17:25:48 +03:00
committed by bugmaster
parent 0e3025bc14
commit 79b544e652
10 changed files with 523 additions and 0 deletions

View File

@@ -928,6 +928,12 @@ public:
Standard_EXPORT void DiagnosticInformation (TColStd_IndexedDataMapOfStringString& theDict,
Graphic3d_DiagnosticInfo theFlags) const;
//! Returns string with statistic performance info.
Standard_EXPORT TCollection_AsciiString StatisticInformation() const;
//! Fills in the dictionary with statistic performance info.
Standard_EXPORT void StatisticInformation (TColStd_IndexedDataMapOfStringString& theDict) const;
DEFINE_STANDARD_RTTIEXT(V3d_View,Standard_Transient)
protected: