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-reporter.h File Reference
#include <glib-object.h>
Include dependency graph for bench-reporter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _BenchReporter
struct  _BenchReporterClass

Macros

#define BENCH_TYPE_REPORTER   (bench_reporter_get_type())
#define BENCH_REPORTER(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj), BENCH_TYPE_REPORTER, BenchReporter))
#define BENCH_REPORTER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), BENCH_TYPE_REPORTER, BenchReporterClass))
#define BENCH_IS_REPORTER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj), BENCH_TYPE_REPORTER))
#define BENCH_IS_REPORTER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), BENCH_TYPE_REPORTER))
#define BENCH_REPORTER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), BENCH_TYPE_REPORTER, BenchReporterClass))

Typedefs

typedef struct _BenchReporter BenchReporter
typedef struct _BenchReporterClass BenchReporterClass
typedef void(* BenchSetupFunc )(gpointer user_data)
typedef void(* BenchFunc )(gpointer user_data)
typedef void(* BenchTeardownFunc )(gpointer user_data)

Functions

GType bench_reporter_get_type (void) G_GNUC_CONST
BenchReporterbench_reporter_new (void)
void bench_reporter_register (BenchReporter *reporter, const gchar *label, gint n, BenchSetupFunc bench_setup, BenchFunc bench, BenchTeardownFunc bench_teardown, gpointer data)
void bench_reporter_run (BenchReporter *reporter)

Macro Definition Documentation

#define BENCH_IS_REPORTER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE((obj), BENCH_TYPE_REPORTER))

Definition at line 29 of file bench-reporter.h.

#define BENCH_IS_REPORTER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE((klass), BENCH_TYPE_REPORTER))

Definition at line 30 of file bench-reporter.h.

#define BENCH_REPORTER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST((obj), BENCH_TYPE_REPORTER, BenchReporter))

Definition at line 27 of file bench-reporter.h.

#define BENCH_REPORTER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST((klass), BENCH_TYPE_REPORTER, BenchReporterClass))

Definition at line 28 of file bench-reporter.h.

#define BENCH_REPORTER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS((obj), BENCH_TYPE_REPORTER, BenchReporterClass))

Definition at line 31 of file bench-reporter.h.

#define BENCH_TYPE_REPORTER   (bench_reporter_get_type())

Definition at line 26 of file bench-reporter.h.

Typedef Documentation

typedef void(* BenchFunc)(gpointer user_data)

Definition at line 37 of file bench-reporter.h.

typedef struct _BenchReporter BenchReporter

Definition at line 33 of file bench-reporter.h.

Definition at line 34 of file bench-reporter.h.

typedef void(* BenchSetupFunc)(gpointer user_data)

Definition at line 36 of file bench-reporter.h.

typedef void(* BenchTeardownFunc)(gpointer user_data)

Definition at line 38 of file bench-reporter.h.

Function Documentation

GType bench_reporter_get_type ( void  )
BenchReporter* bench_reporter_new ( void  )

Definition at line 118 of file bench-reporter.c.

Here is the caller graph for this function:

void bench_reporter_register ( BenchReporter reporter,
const gchar *  label,
gint  n,
BenchSetupFunc  bench_setup,
BenchFunc  bench,
BenchTeardownFunc  bench_teardown,
gpointer  data 
)

Definition at line 124 of file bench-reporter.c.

Here is the caller graph for this function:

void bench_reporter_run ( BenchReporter reporter)

Definition at line 221 of file bench-reporter.c.

Here is the caller graph for this function: