摘要: 1. C++ std::function std::bind std::shared_ptr std::vector 2. demo cpp include include include include include using namespace std; class Info{ public 阅读全文
posted @ 2018-06-04 16:54 yvhqbat 阅读(2043) 评论(0) 推荐(0) 编辑
摘要: linux的计时函数,用于获取当前时间。 1. gettimeofday() 函数 | 结构体 | 精度 | | time()|time_t|s gettimeofday()|struct timeval|us 计时只使用gettimeofday()函数来获取当前时间: time()函数精度太低,g 阅读全文
posted @ 2018-06-04 01:05 yvhqbat 阅读(2696) 评论(0) 推荐(0) 编辑