Macros | |
#define | BENCH_INSIDE_RADIUS(_count) |
#define | BENCH_IN_AREA(_count) |
Functions | |
template<size_t N> | |
void | benchGetObjectsInsideRadius (Catch::Benchmark::Chronometer &meter) |
template<size_t N> | |
void | benchGetObjectsInArea (Catch::Benchmark::Chronometer &meter) |
TEST_CASE ("ActiveObjectMgr") | |
#define BENCH_IN_AREA | ( | _count | ) |
Referenced by TEST_CASE().
#define BENCH_INSIDE_RADIUS | ( | _count | ) |
Referenced by TEST_CASE().
void benchGetObjectsInArea | ( | Catch::Benchmark::Chronometer & | meter | ) |
References ActiveObjectMgr< T >::clear(), fill(), server::ActiveObjectMgr::getObjectsInArea(), and myrand_range().
void benchGetObjectsInsideRadius | ( | Catch::Benchmark::Chronometer & | meter | ) |
References ActiveObjectMgr< T >::clear(), fill(), and server::ActiveObjectMgr::getObjectsInsideRadius().
TEST_CASE | ( | "ActiveObjectMgr" | ) |
References BENCH_IN_AREA, and BENCH_INSIDE_RADIUS.