Typedefs | Functions

free-list-test.cpp File Reference

#include "util/free_list.h"
#include <iostream>
#include "perf/perf.h"
Include dependency graph for free-list-test.cpp:

Go to the source code of this file.

Typedefs

typedef free_list_t< type_t > free_type_t
typedef std::vector< smart_ptr
< type_t > > 
vec_type_t

Functions

static void freeVector (vec_type_t &vec, free_type_t &freeList)
static void populateVector (vec_type_t &vec, free_type_t &freeList, int count)
static void doTest (int count)
int main (int argc, const char *argv[])

Typedef Documentation

typedef free_list_t<type_t> free_type_t

Definition at line 24 of file free-list-test.cpp.

typedef std::vector<smart_ptr<type_t> > vec_type_t

Definition at line 26 of file free-list-test.cpp.


Function Documentation

static void freeVector ( vec_type_t vec,
free_type_t freeList 
) [static]

Definition at line 37 of file free-list-test.cpp.

static void populateVector ( vec_type_t vec,
free_type_t freeList,
int  count 
) [static]

Definition at line 56 of file free-list-test.cpp.

static void doTest ( int  count  )  [static]

Definition at line 76 of file free-list-test.cpp.

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

Definition at line 130 of file free-list-test.cpp.