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 | ) |
Referenced by TEST_CASE().
typedef std::vector<MapBlock*> MBContainer |
|
static |
References S16_MAX.
|
inlinestatic |
|
static |
TEST_CASE | ( | "benchmark_mapblock" | ) |
References BENCH1.
|
static |
References CONTAINS, MapNode::getContent(), and MAP_BLOCKSIZE.
|
static |
References MAP_BLOCKSIZE.
|
static |
References CONTENT_AIR, MapNode::getContent(), MAP_BLOCKSIZE, and p().