benchmark.h File Reference

Benchmark :: Module Core. More...

#include <sys/time.h>
#include <time.h>
#include "benchmark_api.h"

Include dependency graph for benchmark.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  benchmark_timer

Defines

#define BM_NAME_LEN   32

Typedefs

typedef struct benchmark_timer benchmark_timer_t
typedef struct timeval bm_timeval_t

Functions

unsigned long long bm_diff_time (bm_timeval_t *t1, bm_timeval_t *t2)
int bm_get_time (bm_timeval_t *t)


Detailed Description

Benchmark :: Module Core.

Definition in file benchmark.h.


Define Documentation

#define BM_NAME_LEN   32

Definition at line 45 of file benchmark.h.

Referenced by _bm_register_timer().


Typedef Documentation

typedef struct timeval bm_timeval_t

Definition at line 52 of file benchmark.h.


Function Documentation

unsigned long long bm_diff_time ( bm_timeval_t t1,
bm_timeval_t t2 
) [inline]

Definition at line 87 of file benchmark.h.

Referenced by _bm_log_timer().

int bm_get_time ( bm_timeval_t t  )  [inline]

Definition at line 72 of file benchmark.h.

References LM_ERR, and NULL.

Referenced by _bm_log_timer(), and _bm_start_timer().


Generated on Thu May 17 12:00:36 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6