MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / getMillisecond

Function getMillisecond

libapp2sys/src/main/cpp/util.h:131–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129};
130
131static int64_t getMillisecond() {
132 struct timeval now;
133 gettimeofday(&now, NULL);
134 return (((int64_t) now.tv_sec) * 1000) + now.tv_usec / 1000;
135}
136
137static std::string sockaddrToString(struct sockaddr_in addr) {
138 char a[32] = {0};

Callers 7

tryStartEngineMethod · 0.85
toStringMethod · 0.85
sendPackageMethod · 0.85
loopMethod · 0.85
loopMethod · 0.85
startMethod · 0.85
stopMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected