File unittests_area.c
FileList > cubrid > src > executables > unittests_area.c
Go to the source code of this file
#include "dbtype_def.h"
#include "db_set.h"
#include "porting.h"
#include "lock_free.h"
#include "object_domain.h"
#include "set_object.h"
#include <stdio.h>
#include <pthread.h>
#include <sys/time.h>
#include <assert.h>
#include "class_object.h"
#include "object_template.h"
Classes
Public Types
Public Static Attributes
Public Functions
Public Static Functions
Macros
| Type |
Name |
| define |
MAX_THREADS 64
|
| define |
MSG_LEN 60
|
| define |
NCACHES 32
|
| define |
NCACHES 32
|
| define |
NOPS 1000000 /\* 1M \*/
|
| define |
NOPS 1000000 /\* 1M \*/
|
| define |
NOPS 1000000 /\* 1M \*/
|
| define |
SERVER_MODE
|
| define |
strlen (s1) (([**int**](broker__monitor_8c.md#function-timeout)) strlen([**s1**](broker__monitor_8c.md#function-timeout)))
|
Public Types Documentation
typedef AREA_CREATE_INFO
typedef struct area_create_info AREA_CREATE_INFO;
Public Static Attributes Documentation
variable start_time
struct timeval start_time;
Public Functions Documentation
function main
int main (
int argc,
char ** argv
)
function test_area_proc
void * test_area_proc (
void * param
)
function test_area_proc_1
void * test_area_proc_1 (
void * param
)
function test_area_proc_2
void * test_area_proc_2 (
void * param
)
Public Static Functions Documentation
function begin
static void begin (
char * test_name
)
function fail
static int fail (
const char * message
)
function success
function test_area
static int test_area (
AREA_CREATE_INFO * info,
int nthreads,
void *(*)( void *) proc
)
Macro Definition Documentation
define MAX_THREADS
define MSG_LEN
define NCACHES
define NCACHES
define NOPS
#define NOPS `1000000 /* 1M */`
define NOPS
#define NOPS `1000000 /* 1M */`
define NOPS
#define NOPS `1000000 /* 1M */`
define SERVER_MODE
define strlen
#define strlen (
s1
) `(( int ) strlen( s1 ))`
The documentation for this class was generated from the following file cubrid/src/executables/unittests_area.c