Macros | |
| #define | BENCH1(_count) |
Typedefs | |
| typedef std::vector< MapBlock * > | MBContainer |
Functions | |
| static void | allocateSome (MBContainer &vec, u32 n) |
| static void | freeSome (MBContainer &vec, u32 n) |
| static void | freeAll (MBContainer &vec) |
| static void | workOnMetadata (const MBContainer &vec) |
| static u32 | workOnNodes (const MBContainer &vec) |
| static u32 | workOnBoth (const MBContainer &vec) |
| TEST_CASE ("benchmark_mapblock") | |
| #define BENCH1 | ( | _count | ) |
| typedef std::vector<MapBlock*> MBContainer |
|
static |
References MapBlock::MapBlock(), allocateSome(), and S16_MAX.
Referenced by allocateSome().
|
inlinestatic |
References freeAll(), and freeSome().
Referenced by freeAll().
|
static |
References freeSome().
Referenced by freeAll(), and freeSome().
| TEST_CASE | ( | "benchmark_mapblock" | ) |
|
static |
References CONTAINS, MapNode::getContent(), MAP_BLOCKSIZE, and workOnBoth().
Referenced by workOnBoth().
|
static |
References MAP_BLOCKSIZE, and workOnMetadata().
Referenced by workOnMetadata().
|
static |
References CONTENT_AIR, MapNode::getContent(), MAP_BLOCKSIZE, and workOnNodes().
Referenced by workOnNodes().