Still working nicely. Also works the way I want with pvbatch in symmetric mode!
On Mon, Apr 13, 2015 at 12:07 PM, David E DeMarle <[email protected]> wrote: > Any problems with it via benchmark.py? It worked great perhaps six months > ago. > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Mon, Apr 13, 2015 at 12:03 PM, Andy Bauer <[email protected]> > wrote: > >> It looks like it's in benchmark.py: >> >> def get_memuse() : >> session = >> servermanager.ProxyManager().GetSessionProxyManager().GetSession() >> >> retval = [] >> infos = servermanager.vtkPVMemoryUseInformation() >> session.GatherInformation(session.CLIENT, infos, 0) >> procUse = str(infos.GetProcMemoryUse(0)) >> hostUse = str(infos.GetHostMemoryUse(0)) >> retval.append("CLIENT " + procUse + " / " + hostUse) >> >> infos = servermanager.vtkPVMemoryUseInformation() >> session.GatherInformation(session.DATA_SERVER, infos, 0) >> for i in range(0,infos.GetSize()): >> rank = str(infos.GetRank(i)) >> procUse = str(infos.GetProcMemoryUse(i)) >> hostUse = str(infos.GetHostMemoryUse(i)) >> retval.append("DS[" + rank + "] " + procUse + " / " + hostUse) >> return retval >> >> On Mon, Apr 13, 2015 at 11:58 AM, Andy Bauer <[email protected]> >> wrote: >> >>> Hi, >>> >>> It looks like vtkPVMemoryUseInformation is the main class that's used >>> for the Memory Inspector. Has anyone tried using this through ParaView's >>> Python API? It looks like it's getting wrapped but when I try to use it it >>> causes a crash. >>> >>> Thanks, >>> Andy >>> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
