GISCup 2015
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Functions | Variables
benchmark.cpp File Reference
#include "giscup.hpp"
#include <time.h>
#include <getopt.h>
#include <algorithm>

Classes

class  tconfig

Macros

#define GISCUP_NO_OPENGL
#define NO_STAT_OUTPUT
#define TIC()   {gTime = clock();}
#define TOC()   ((clock() -gTime) / (double) 1000000)

Functions

void print_usage ()
int main (int argc, char **argv)
void SearchEngineHeader ()
void SearchEngineDelim ()
template<class SearchEngine >
void SearchEngineStats (SearchEngine &se)

Variables

clock_t gTime
NewShapeCollection ds
VariousSearchEngines se
const char * opt_string = "d:c:p:"
struct option long_options []

Macro Definition Documentation

#define GISCUP_NO_OPENGL
#define NO_STAT_OUTPUT
#define TIC ( )    {gTime = clock();}
#define TOC ( )    ((clock() -gTime) / (double) 1000000)

Function Documentation

int main ( int  argc,
char **  argv 
)
void print_usage ( )
void SearchEngineDelim ( )
void SearchEngineHeader ( )
template<class SearchEngine >
void SearchEngineStats ( SearchEngine &  se)

Variable Documentation

clock_t gTime
struct option long_options[]
Initial value:
{
{"data", required_argument, 0, 'd' },
{"constraint", required_argument, 0, 'c' },
{"num", optional_argument, 0, 'p' },
{"store-path", no_argument,0,'s'},
{0, 0, 0, 0 }
}
const char* opt_string = "d:c:p:"