MobilityDB 1.3
Loading...
Searching...
No Matches
Macros | Functions
tnpoint_cache.c File Reference

A simple program that generates a given number of tnpoint instants in order to test the ways cache. More...

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <meos.h>
#include <meos_npoint.h>

Macros

#define MAX_INSTANTS   100000
 
#define MAX_LENGTH_INST   64
 
#define MAX_LENGTH_TEXT   20
 
#define NO_INSTANTS_BATCH   1000
 

Functions

int main (void)
 

Detailed Description

A simple program that generates a given number of tnpoint instants in order to test the ways cache.

The program can be build as follows

gcc -Wall -g -I/usr/local/include -o tnpoint_cache tnpoint_cache.c -L/usr/local/lib -lmeos