Motr  M0
Common user-space routines
Collaboration diagram for Common user-space routines:

Macros

#define M0_VERBOSEFLAGARG
 
#define M0_IFLISTARG(pflag)
 

Functions

char * m0_net_test_u_str_copy (const char *str)
 
void m0_net_test_u_str_free (char *str)
 
void m0_net_test_u_print_error (const char *s, int code)
 
void m0_net_test_u_print_s (const char *fmt, const char *str)
 
void m0_net_test_u_print_time (char *name, m0_time_t time)
 
void m0_net_test_u_lnet_info (void)
 
void m0_net_test_u_print_bsize (double bsize)
 
int m0_net_test_u_printf (const char *fmt,...)
 
int m0_net_test_u_printf_v (const char *fmt,...)
 

Variables

bool m0_net_test_u_printf_verbose
 

Detailed Description

See also
Motr Network Benchmark

Macro Definition Documentation

◆ M0_IFLISTARG

#define M0_IFLISTARG (   pflag)
Value:
M0_FLAGARG('l', "List available LNET interfaces", \
pflag)
#define M0_FLAGARG(ch, desc, ptr)
Definition: getopts.h:232

Definition at line 45 of file common_u.h.

◆ M0_VERBOSEFLAGARG

#define M0_VERBOSEFLAGARG
Value:
M0_FLAGARG('v', "Verbose output", \
#define M0_FLAGARG(ch, desc, ptr)
Definition: getopts.h:232
bool m0_net_test_u_printf_verbose
Definition: common_u.c:43

Definition at line 43 of file common_u.h.

Function Documentation

◆ m0_net_test_u_lnet_info()

void m0_net_test_u_lnet_info ( void  )

Definition at line 122 of file common_u.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_net_test_u_print_bsize()

void m0_net_test_u_print_bsize ( double  bsize)

Definition at line 80 of file common_u.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_net_test_u_print_error()

void m0_net_test_u_print_error ( const char *  s,
int  code 
)

perror

Definition at line 59 of file common_u.c.

Here is the caller graph for this function:

◆ m0_net_test_u_print_s()

void m0_net_test_u_print_s ( const char *  fmt,
const char *  str 
)

Definition at line 65 of file common_u.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_net_test_u_print_time()

void m0_net_test_u_print_time ( char *  name,
m0_time_t  time 
)

Definition at line 70 of file common_u.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_net_test_u_printf()

int m0_net_test_u_printf ( const char *  fmt,
  ... 
)

Definition at line 163 of file common_u.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_net_test_u_printf_v()

int m0_net_test_u_printf_v ( const char *  fmt,
  ... 
)

Definition at line 174 of file common_u.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_net_test_u_str_copy()

char* m0_net_test_u_str_copy ( const char *  str)

Definition at line 45 of file common_u.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_net_test_u_str_free()

void m0_net_test_u_str_free ( char *  str)

Definition at line 54 of file common_u.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ m0_net_test_u_printf_verbose

bool m0_net_test_u_printf_verbose

Definition at line 43 of file common_u.c.