MCPcopy 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>
15static inline
16double curtime(void)
17{
18 struct timeval tv;
19 gettimeofday(&tv, NULL);
20 return (double)tv.tv_sec + (double)tv.tv_usec*.000001;
21}
22
23using namespace std;
24

Callers 1

dotestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected