MCPcopy Create free account
hub / github.com/apache/thrift / __gettime

Function __gettime

lib/lua/src/usocket.c:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38// SOL
39#else
40 double __gettime() {
41 struct timeval v;
42 gettimeofday(&v, (struct timezone*) NULL);
43 return v.tv_sec + v.tv_usec/1.0e6;
44 }
45#endif
46
47#define WAIT_MODE_R 1

Callers 2

socket_waitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected