2022年6月19日

摘要: Iperf 是一个网络性能测试工具。Iperf可以测试最大TCP和UDP带宽性能,具有多种参数和UDP特性,可以根据需要调整,可以报告带宽、延迟抖动和数据包丢失 阅读全文
posted @ 2022-06-19 22:57 lydstory 阅读(83) 评论(0) 推荐(0)
摘要: cout << (2 << 1) << endl; cout << 2<<1<<endl; 输出21 阅读全文
posted @ 2022-06-19 18:25 lydstory 阅读(9) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; #define B_SHIFT 4 int getBinBlockSize(int size) { int q = 0; for ( q= 0; size>0; size >>= 1) { q++; } return 阅读全文
posted @ 2022-06-19 18:23 lydstory 阅读(15) 评论(0) 推荐(0)
摘要: ringq.c源码解析 一:ring_t类型描述: 下面的描述在uemf.h和ringq.c中都有: ringq_t类型定义在uemf.h中: View Code 二.ringq_t相关的宏: 在ringq.c文件中包含的对ringq_t操作的宏有如下这些: 1)RINGQ_LEN(rq) 功能:返 阅读全文
posted @ 2022-06-19 17:37 lydstory 阅读(206) 评论(0) 推荐(0)

导航