MCPcopy Create free account
hub / github.com/cppla/ServerStatus / timeval

Class timeval

server/src/system.c:531–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529{
530#if defined(CONF_FAMILY_UNIX)
531 struct timeval val;
532 gettimeofday(&val, NULL);
533 return (int64)val.tv_sec*(int64)1000000+(int64)val.tv_usec;
534#elif defined(CONF_FAMILY_WINDOWS)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected