@@ -50,9 +50,9 @@ int main(int argc, char** argv) {
50
50
if (args .help_requested ) {
51
51
printf (
52
52
"\
53
- -n (optional, int, default=4 ): the number of pings to be attempted\n\
53
+ -n (optional, int, default=100 ): the number of pings to be attempted\n\
54
54
-s (optional, int, default=8): the size of the payload embedded in the ping and repeated by the pong\n\
55
- -w (optional, int, default=0 ): the warmup time in ms during which pings will be emitted but not measured\n\
55
+ -w (optional, int, default=1000 ): the warmup time in ms during which pings will be emitted but not measured\n\
56
56
-c (optional, string): the path to a configuration file for the session. If this option isn't passed, the default configuration will be used.\n\
57
57
" );
58
58
return 1 ;
@@ -150,12 +150,12 @@ struct args_t parse_args(int argc, char** argv) {
150
150
size = atoi (arg );
151
151
}
152
152
arg = getopt (argc , argv , 'n' );
153
- unsigned int number_of_pings = 4 ;
153
+ unsigned int number_of_pings = 100 ;
154
154
if (arg ) {
155
155
number_of_pings = atoi (arg );
156
156
}
157
157
arg = getopt (argc , argv , 'w' );
158
- unsigned int warmup_ms = 0 ;
158
+ unsigned int warmup_ms = 1000 ;
159
159
if (arg ) {
160
160
warmup_ms = atoi (arg );
161
161
}
0 commit comments