]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add memory_consumption(long unsigned int).
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 28 Aug 2013 14:48:49 +0000 (14:48 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 28 Aug 2013 14:48:49 +0000 (14:48 +0000)
git-svn-id: https://svn.dealii.org/trunk@30517 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/memory_consumption.h

index f5add851caf54a7b2e452f542dce3fb2537aa59a..a42f4ca40167dbbd833f7080028bc16880512f67 100644 (file)
@@ -483,6 +483,14 @@ namespace MemoryConsumption
 
 
 
+  inline
+  std::size_t memory_consumption (const unsigned long int)
+  {
+    return sizeof(unsigned long int);
+  }
+
+
+
   inline
   std::size_t memory_consumption (const unsigned long long int)
   {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.