Stxxl  1.4.0
Defines | Typedefs | Functions
containers/btree/test_const_scan.cpp File Reference
#include <iostream>
#include <stxxl/bits/containers/btree/btree.h>
#include <stxxl/timer>
Include dependency graph for test_const_scan.cpp:

Go to the source code of this file.

Defines

#define NODE_BLOCK_SIZE   4096
#define LEAF_BLOCK_SIZE   128 * 1024
#define node_cache_size   (25 * 1024 * 1024)
#define leaf_cache_size   (6 * LEAF_BLOCK_SIZE)

Typedefs

typedef stxxl::btree::btree
< int, my_type, comp_type,
4096, 128 *1024, stxxl::SR
btree_type

Functions

std::ostream & operator<< (std::ostream &o, const my_type &obj)
std::ostream & operator<< (std::ostream &o, const std::pair< int, double > &obj)
void NC (btree_type &BTree)
void C (btree_type &BTree)
int main (int argc, char *argv[])

Define Documentation

#define LEAF_BLOCK_SIZE   128 * 1024

Definition at line 28 of file test_const_scan.cpp.

#define leaf_cache_size   (6 * LEAF_BLOCK_SIZE)

Definition at line 52 of file test_const_scan.cpp.

Referenced by main().

#define NODE_BLOCK_SIZE   4096

Definition at line 27 of file test_const_scan.cpp.

#define node_cache_size   (25 * 1024 * 1024)

Definition at line 51 of file test_const_scan.cpp.

Referenced by main().


Typedef Documentation

typedef stxxl::btree::btree<int, my_type, comp_type, 4096 , 128 * 1024 , stxxl::SR> btree_type

Definition at line 49 of file test_const_scan.cpp.


Function Documentation

void C ( btree_type BTree)
int main ( int  argc,
char *  argv[] 
)

Definition at line 82 of file test_const_scan.cpp.

References C(), leaf_cache_size, NC(), node_cache_size, and STXXL_MSG.

void NC ( btree_type BTree)
std::ostream& operator<< ( std::ostream &  o,
const my_type obj 
)

Definition at line 36 of file test_const_scan.cpp.

std::ostream& operator<< ( std::ostream &  o,
const std::pair< int, double > &  obj 
)

Definition at line 42 of file test_const_scan.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines