Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axboe/liburing
/ gettimeofday_ms
Function
gettimeofday_ms
examples/poll-bench.c:17–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
static unsigned long runtime_ms = 10000;
16
17
static unsigned long gettimeofday_ms(void)
18
{
19
struct timeval tv;
20
21
gettimeofday(&tv, NULL);
22
return (tv.tv_sec * 1000) + (tv.tv_usec / 1000);
23
}
24
25
int main(void)
26
{
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected