0023237: OSD_PerfMeter reports wrong (zero) times
authoromy <omy@opencascade.com>
Fri, 30 Nov 2012 12:17:28 +0000 (16:17 +0400)
committeromy <omy@opencascade.com>
Fri, 30 Nov 2012 12:17:28 +0000 (16:17 +0400)
commitc2ae831c12056122f8d4ee2f7aab8aace0afe822
tree483708197d4d4db27b2372bc578917b690079cc9
parented9161a43121aa792cb60986f98af2023d4a3acd
0023237: OSD_PerfMeter reports wrong (zero) times

Commit details:
1) in OSD_PerfMeter, use static functions of OSD_Chronometer class for time measurements instead of specific code to avoid incorrect results on CentOS (due to wrong valus of CLK_TCK);
2) changed definition of OSD_PerfMeter from .c to .cxx to avoid problems with C-functions;
3) fixed OSD_PerfMeter.h for building on Unix systems;
4) removed platform-specific #defines;
5) added test case for OSD_PerfMeter as bugs fclasses bug23237;
6) Removed DebugTools package (duplicates OSD_PerfMeter)
7) Avoid compiler (GCC) error casting BRepPrimAPI_Make* instances to TopoDS_Shape
15 files changed:
src/DebugTools/DebugTools.h [deleted file]
src/DebugTools/FILES [deleted file]
src/DebugTools/Perf.cxx [deleted file]
src/OSD/FILES
src/OSD/OSD_PerfMeter.cxx [moved from src/OSD/OSD_PerfMeter.c with 91% similarity]
src/OSD/OSD_PerfMeter.h
src/QABugs/QABugs_19.cxx
src/QANCollection/QANCollection1.cxx
src/QANCollection/QANCollectionTest.cxx
src/QANCollection/QANCollection_PerfArrays.hxx
src/QANCollection/QANCollection_PerfLists.hxx
src/QANCollection/QANCollection_PerfMaps.hxx
src/QANCollection/QANCollection_PerfSparseArray.hxx
src/TKQADraw/PACKAGES
tests/bugs/fclasses/bug23237 [new file with mode: 0644]