Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Serial-Studio/Serial-Studio
/ curtime
Function
curtime
lib/KissFFT/test/testcpp.cc:15–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
14
#include <sys/time.h>
15
static inline
16
double curtime(void)
17
{
18
struct timeval tv;
19
gettimeofday(&tv, NULL);
20
return (double)tv.tv_sec + (double)tv.tv_usec*.000001;
21
}
22
23
using namespace std;
24
Callers
1
dotest
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected