MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / GetMemoryUsage

Method GetMemoryUsage

comp/linearform.cpp:46–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46 Array<MemoryUsage> LinearForm :: GetMemoryUsage () const
47 {
48 if (GetVectorPtr())
49 {
50 auto mu = GetVectorPtr()->GetMemoryUsage ();
51 for (int i = 0; i < mu.Size(); i++)
52 mu[i].AddName (string(" lf ")+GetName());
53 return mu;
54 }
55 return Array<MemoryUsage>();
56 }
57
58 template <class SCAL>
59 void S_LinearForm<SCAL> :: Assemble (LocalHeap & clh)

Callers

nothing calls this directly

Calls 5

GetNameFunction · 0.85
AddNameMethod · 0.80
GetVectorPtrFunction · 0.70
GetMemoryUsageMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected