From df5ce9b29bb02ee86274ca75c78a4182e9c3fb2a Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 18 Jan 2007 08:19:58 +0000 Subject: [PATCH] To improve memory size calculation --- src/VISU_I/VISU_GaussPoints_i.cc | 14 +------------- src/VISU_I/VISU_ScalarMap_i.cc | 14 +------------- 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/src/VISU_I/VISU_GaussPoints_i.cc b/src/VISU_I/VISU_GaussPoints_i.cc index 0410404d..b53ba519 100644 --- a/src/VISU_I/VISU_GaussPoints_i.cc +++ b/src/VISU_I/VISU_GaussPoints_i.cc @@ -231,19 +231,7 @@ CORBA::Float VISU::GaussPoints_i ::GetMemorySize() { - CORBA::Float aMemorySize = TSuperClass::GetMemorySize(); - - // To calculate memory used by VISU Converter - VISU::Result_i::TInput* anInput = GetCResult()->GetInput(); - CORBA::Float aSize = anInput->GetTimeStampOnGaussPtsSize(GetCMeshName(), - GetTEntity(), - GetCFieldName(), - GetTimeStampNumber()); - // Convert to mega bytes - aMemorySize += aSize / (1024.0 * 1024.0); - //cout<<"GaussPoints_i::GetMemorySize - "<