Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

gdp / test / t_common_support.h @ master

History | View | Annotate | Download (442 Bytes)

1
/* vim: set ai sw=4 sts=4 ts=4 : */
2

    
3
#include <gdp/gdp.h>
4

    
5
#include <ep/ep_app.h>
6
#include <ep/ep_dbg.h>
7
#include <ep/ep_string.h>
8
#include <ep/ep_time.h>
9

    
10
#include <stdio.h>
11
#include <unistd.h>
12

    
13
extern void        print_event(gdp_event_t *gev);
14

    
15
extern void EP_TYPE_PRINTFLIKE(2, 3)
16
                test_message(EP_STAT estat, char *fmt, ...);
17

    
18
#define MICROSECONDS        * INT64_C(1000)
19
#define MILLISECONDS        * INT64_C(1000000)
20
#define SECONDS                        * INT64_C(1000000000)