File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ static const size_t MAX_LEN = 64 * 1024 - 1;
5151static const uint32_t SEQ_START = UINT32_MAX - 5 ;
5252static const uint16_t MAGIC_VAL = 0xbeca ;
5353static const int DEFAULT_NET = MCTP_NET_ANY ;
54- static const int DEFAULT_SECONDS_INTERVAL = 10 ;
54+ static const int DEFAULT_SECONDS_INTERVAL = 2 ;
5555
5656static float get_throughput (float total_len , float elapsed_time )
5757{
@@ -62,7 +62,7 @@ static void print_stats(struct recv_ctx *recv_ctx)
6262{
6363 float throughput = get_throughput (recv_ctx -> stats .total_received_len ,
6464 recv_ctx -> stats .elapsed_time );
65- printf ("Throughput: %.2f kB/s | Recevied : %lu msgs | "
65+ printf ("Throughput: %.2f kB/s | Received : %lu msgs | "
6666 "Dropped: %lu msgs | "
6767 "Invalid: %lu msgs\n" ,
6868 throughput , recv_ctx -> stats .msg_count ,
You can’t perform that action at this time.
0 commit comments