Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CovenantSQL/CovenantSQL
/ gettimedouble
Function
gettimedouble
crypto/secp256k1/libsecp256k1/src/bench.h:14–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
#include
"sys/time.h"
13
14
static double gettimedouble(void) {
15
struct timeval tv;
16
gettimeofday(&tv, NULL);
17
return tv.tv_usec * 0.000001 + tv.tv_sec;
18
}
19
20
void print_number(double x) {
21
double y = x;
Callers
1
run_benchmark
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected