0023818: Extend OSD_MemInfo to report C heap statistics
authoromy <omy@opencascade.com>
Fri, 12 Apr 2013 09:21:13 +0000 (13:21 +0400)
committeromy <omy@opencascade.com>
Fri, 12 Apr 2013 09:21:13 +0000 (13:21 +0400)
commit67a1064eb8d6b8a37655d49d501b1ea367a04262
treed8c0f5d6f6e8e76f3984921a019e866c8163be2e
parent38da19bd280984a73cce0b014f52975fe886638d
0023818: Extend OSD_MemInfo to report C heap statistics
A new counter MemHeapUsage was added to OSD_MemInfo class to examine program heap size
DRAW command meminfo got new option -h (--heap ) to use new counter data
The following testcases were changed to use new option -h of DRAW command meminfo
myCounters[MemHeapUsage] now will always be refilled every time the OSD_MemInfo::Update() function is called.
Fixed testcases to use meminfo -h instead of meminfo -w to detect memory leaks more properly.
21 files changed:
src/Draw/Draw_BasicCommands.cxx
src/OSD/OSD_MemInfo.cxx
src/OSD/OSD_MemInfo.hxx
tests/bugs/begin
tests/bugs/caf/buc60921
tests/bugs/caf/bug114
tests/bugs/caf/bug23489
tests/bugs/fclasses/bug22611
tests/bugs/fclasses/bug7287_1
tests/bugs/fclasses/bug7287_2
tests/bugs/fclasses/bug7287_3
tests/bugs/fclasses/bug7287_4
tests/bugs/fclasses/bug7287_5
tests/bugs/fclasses/bug7287_6
tests/bugs/moddata_1/bug145
tests/bugs/moddata_1/bug20627
tests/bugs/moddata_2/bug277
tests/bugs/moddata_3/bug162
tests/bugs/vis/bug172
tests/bugs/vis/bug5682
tests/bugs/vis/bug79