![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
monotonic_time
文章平均质量分 75
yongqingjiao
这个作者很懒,什么都没留下…
展开
-
POSIX Clock
出处:http://www.wowotech.net/basic_tech/tech_discuss/timer_subsystem/posix-clock.html 一、前言 clock是timer的基础,任何一个timer都需要运作在一个指定的clock上来。内核中维护了若干的clock,本文第二章描述了clock的基本概念和一些静态定义的posix clock。根据计时的特点,clo转载 2017-12-12 07:21:14 · 482 阅读 · 0 评论 -
检测是否支持monotonic
int evutil_configure_monotonic_time_(struct evutil_monotonic_timer *base, int flags) { /* CLOCK_MONOTONIC exists on FreeBSD, Linux, and Solaris. You need to * check for it at runtime, b原创 2017-12-12 07:22:16 · 864 阅读 · 0 评论