mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
typo
This commit is contained in:
@@ -13,7 +13,5 @@ skynet.start(function()
|
|||||||
maxclient = max_client,
|
maxclient = max_client,
|
||||||
})
|
})
|
||||||
|
|
||||||
print(skynet.time())
|
|
||||||
|
|
||||||
skynet.exit()
|
skynet.exit()
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -254,7 +254,7 @@ gettime() {
|
|||||||
#else
|
#else
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
gettimeofday(&tv, NULL);
|
gettimeofday(&tv, NULL);
|
||||||
t = (uint64_t)ti.tv_sec * 100;
|
t = (uint64_t)tv.tv_sec * 100;
|
||||||
t += tv.tv_usec / 10000;
|
t += tv.tv_usec / 10000;
|
||||||
#endif
|
#endif
|
||||||
return t;
|
return t;
|
||||||
|
|||||||
Reference in New Issue
Block a user