#include "util/free_list.h"#include <iostream>#include "perf/perf.h"
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 (IN vec_type_t &vec, IN free_type_t &freeList) |
| static void | populateVector (IN vec_type_t &vec, IN free_type_t &freeList, IN int count) |
| static void | doTest (IN int count) |
| int | main (IN int argc, IN const char *argv[]) |
| 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.
| static void freeVector | ( | IN vec_type_t & | vec, | |
| IN free_type_t & | freeList | |||
| ) | [static] |
Definition at line 37 of file free-list-test.cpp.
| static void populateVector | ( | IN vec_type_t & | vec, | |
| IN free_type_t & | freeList, | |||
| IN int | count | |||
| ) | [static] |
Definition at line 56 of file free-list-test.cpp.
| static void doTest | ( | IN int | count | ) | [static] |
Definition at line 76 of file free-list-test.cpp.
| int main | ( | IN int | argc, | |
| IN const char * | argv[] | |||
| ) |
Definition at line 130 of file free-list-test.cpp.
1.7.1