Definition in file msg_time.c.
Go to the source code of this file.
Defines | |
#define | NUM_MSGS 500 |
#define | NUM_CLIENTS 4 |
#define | SERVERNAME_LOCAL "MsgTime" |
#define | SERVERNAME_INET "//localhost:30001" |
#define | MSG_LEN SMI_MSG_MAX |
#define | time_traffic(method) |
Enumerations | |
enum | MSGCHK_OP { MSGCHK_SET, MSGCHK_CALC, MSGCHK_CHK } |
Functions | |
bool | msg_check (void *mbuf, MSGCHK_OP op) |
time_traffic (fifo) time_traffic(skt) time_traffic(msg) time_traffic(mq) time_traffic(shm) time_traffic(pshm) static void handler(int signum) | |
int | main (int argc, char *argv[]) |
Variables | |
int | num_msgs = NUM_MSGS |
int | len_msg = 100 |
bool | want_check = true |
bool | pcsync = true |
bool | quiet = false |
bool | run_server = true |
bool | run_clients = true |
const char * | hostarg = NULL |
|
Definition at line 41 of file msg_time.c. |
|
Definition at line 37 of file msg_time.c. Referenced by main(). |
|
Definition at line 36 of file msg_time.c. |
|
Definition at line 39 of file msg_time.c. Referenced by main(). |
|
Definition at line 38 of file msg_time.c. Referenced by main(). |
|
Definition at line 95 of file msg_time.c. |
|
Definition at line 51 of file msg_time.c. |
|
Definition at line 201 of file msg_time.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, exit(), hostarg, len_msg, NUM_CLIENTS, num_msgs, pcsync, quiet, run_clients, run_server, sigaction::sa_handler, SERVERNAME_INET, SERVERNAME_LOCAL, sigaction(), smi_client_nowait, system(), and want_check. |
|
Definition at line 53 of file msg_time.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, errno, getpid(), htonl(), len_msg, MSGCHK_CALC, MSGCHK_CHK, MSGCHK_SET, ntohl(), smi_msg::smi_data, and want_check. |
|
Definition at line 186 of file msg_time.c. References write(). |
|
Definition at line 49 of file msg_time.c. Referenced by main(). |
|
Definition at line 43 of file msg_time.c. Referenced by main(), and msg_check(). |
|
Definition at line 42 of file msg_time.c. Referenced by main(). |
|
Definition at line 45 of file msg_time.c. Referenced by main(). |
|
Definition at line 46 of file msg_time.c. Referenced by main(). |
|
Definition at line 48 of file msg_time.c. Referenced by main(). |
|
Definition at line 48 of file msg_time.c. Referenced by main(). |
|
Definition at line 44 of file msg_time.c. Referenced by main(), and msg_check(). |