LCOV - code coverage report
Current view: top level - util - AllocMemManagersList.cpp (source / functions) Hit Total Coverage
Test: coverage_sk.info Lines: 5 5 100.0 %
Date: 2020-06-30 00:58:45 Functions: 2 2 100.0 %
Branches: 2 4 50.0 %

           Branch data     Line data    Source code
       1                 :            : #include "DLList.hpp"
       2                 :            : #include "SDLList.hpp"
       3                 :            : 
       4                 :            : const int ARRAYMEMORY_ALLOC_SIZE    = 8192;
       5                 :            : const int DLLIST_ALLOC_SIZE         = 1024;
       6                 :            : const int SDLLIST_ALLOC_SIZE        = 128;
       7                 :            : const int DYNAMIC_ARRAY_ALLOC_SIZE  = 4096;
       8                 :            : const int QUEUE_NODE_ALLOC_SIZE     = 512;
       9                 :            : const int TREE_ALLOC_SIZE           = 128;
      10                 :            : 
      11                 :       1635 : MemoryManager ArrayMemory::memoryManager("ArrayMemory", sizeof(ArrayMemory),
      12                 :            :                                          ARRAYMEMORY_ALLOC_SIZE,
      13                 :            :                                          STATIC_MEMORY_MANAGER);
      14                 :       1635 : MemoryManager DLList::memoryManager("DLList", sizeof(DLList),
      15                 :            :                                     DLLIST_ALLOC_SIZE,
      16                 :            :                                     STATIC_MEMORY_MANAGER);
      17                 :       1635 : MemoryManager SDLList::memoryManager("SDLList", sizeof(SDLList),
      18                 :            :                                      SDLLIST_ALLOC_SIZE,
      19                 :            :                                      STATIC_MEMORY_MANAGER);
      20                 :            : 
      21                 :            : #include "TDCellIndex.hpp"
      22                 :            : const int CELL_INDEX_ALLOC_SIZE     = 1024;
      23                 :       1635 : MemoryManager TDCellIndex::memoryManager("TDCellIndex", sizeof(TDCellIndex),
      24                 :            :                                          CELL_INDEX_ALLOC_SIZE,
      25 [ +  - ][ +  - ]:       6540 :                                          STATIC_MEMORY_MANAGER);

Generated by: LCOV version 1.11