The libevent timer uses the timeval structure , which allows timers to be specified in both seconds and microseconds .
libevent计时器使用timeval结构,允许按秒和毫秒指定计时器。