We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6bc681 commit 3032a7dCopy full SHA for 3032a7d
lite/backends/x86/port.h
@@ -68,19 +68,6 @@ static void *dlopen(const char *filename, int flag) {
68
return reinterpret_cast<void *>(hModule);
69
}
70
71
-#ifdef LITE_WITH_LOG
72
-extern struct timeval;
73
-static int gettimeofday(struct timeval *tp, void *tzp) {
74
- LARGE_INTEGER now, freq;
75
- QueryPerformanceCounter(&now);
76
- QueryPerformanceFrequency(&freq);
77
- tp->tv_sec = now.QuadPart / freq.QuadPart;
78
- tp->tv_usec = (now.QuadPart % freq.QuadPart) * 1000000 / freq.QuadPart;
79
- // uint64_t elapsed_time = sec * 1000000 + usec;
80
-
81
- return (0);
82
-}
83
-#endif // LITE_WITH_LOG
84
#endif // !_WIN32
85
86
static void ExecShellCommand(const std::string &cmd, std::string *message) {
0 commit comments