From: apo Date: Thu, 18 Jan 2007 08:19:58 +0000 (+0000) Subject: To improve memory size calculation X-Git-Tag: WP1_2_3_19-02-2007_Bug_fixing~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=df5ce9b29bb02ee86274ca75c78a4182e9c3fb2a;p=modules%2Fvisu.git To improve memory size calculation --- 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 - "<