Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Typedefs | Functions
bench-geo-distance.c File Reference
#include <string.h>
#include <db.h>
#include <groonga.h>
#include "lib/benchmark.h"
Include dependency graph for bench-geo-distance.c:

Go to the source code of this file.

Data Structures

struct  _BenchmarkData

Macros

#define GET(context, name)   (grn_ctx_get(context, name, strlen(name)))
#define REGISTER(label, setup)

Typedefs

typedef struct _BenchmarkData BenchmarkData

Functions

grn_objgrn_expr_get_value (grn_ctx *ctx, grn_obj *expr, int offset)
int main (int argc, gchar **argv)

Macro Definition Documentation

#define GET (   context,
  name 
)    (grn_ctx_get(context, name, strlen(name)))

Definition at line 57 of file bench-geo-distance.c.

#define REGISTER (   label,
  setup 
)
Value:
bench_reporter_register(reporter, label, n, \
bench_setup_ ## setup, \
bench_geo_distance, \
bench_teardown, \
&data)

Typedef Documentation

typedef struct _BenchmarkData BenchmarkData

Function Documentation

grn_obj* grn_expr_get_value ( grn_ctx ctx,
grn_obj expr,
int  offset 
)

Definition at line 3746 of file expr.c.

int main ( int  argc,
gchar **  argv 
)

Definition at line 422 of file bench-geo-distance.c.

Here is the call graph for this function: