You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* Return the UNIX time in microseconds */
long long ustime(void) {
struct timeval tv;
long long ust;
gettimeofday(&tv, NULL);
ust = ((long long)tv.tv_sec)*1000000;
ust += tv.tv_usec;
return ust;
}
The text was updated successfully, but these errors were encountered:
Hi,@huangz1990
在server目录下,
info.html
文件中写到latest_fork_usec
为最近一次fork()操作耗费的毫秒数。据我所知,单位应该是微秒数。
latest_fork_usec
对应代码里面的变量server.stat_fork_time
,具体参见如下代码段:server.stat_fork_time = ustime()-start;
The text was updated successfully, but these errors were encountered: