Defines | Typedefs | Functions

test_map_random.cpp File Reference

File for testing functionality of stxxl::map. More...

#include <stxxl/map>
#include "map_test_handlers.h"
Include dependency graph for test_map_random.cpp:

Defines

#define DATA_NODE_BLOCK_SIZE   (4096)
#define DATA_LEAF_BLOCK_SIZE   (4096)
#define PERCENT_CLEAR   1
#define PERCENT_ERASE_BULK   9
#define PERCENT_ERASE_KEY   90
#define PERCENT_ERASE_ITERATOR   100
#define PERCENT_INSERT_PAIR   100
#define PERCENT_INSERT_BULK   100
#define PERCENT_SIZING   100
#define PERCENT_LOWER   100
#define PERCENT_UPPER   200
#define PERCENT_FIND   100
#define PERCENT_ITERATOR   100
#define MAX_KEY   10000
#define NODE_BLOCK_SIZE   xxl_map_type::node_block_type::raw_size
#define LEAF_BLOCK_SIZE   xxl_map_type::leaf_block_type::raw_size
#define NODE_MELEMENTS   xxl_map_type::node_block_type::size
#define LEAF_MELEMENTS   xxl_map_type::leaf_block_type::size

Typedefs

typedef int key_type
typedef int data_type
typedef std::map< key_type,
data_type, cmp2 > 
std_map_type
typedef stxxl::map< key_type,
data_type, cmp2,(4096),(4096) > 
xxl_map_type

Functions

int main (int argc, char *argv[])

Detailed Description

File for testing functionality of stxxl::map.