MCPcopy 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
14static double gettimedouble(void) {
15 struct timeval tv;
16 gettimeofday(&tv, NULL);
17 return tv.tv_usec * 0.000001 + tv.tv_sec;
18}
19
20void print_number(double x) {
21 double y = x;

Callers 1

run_benchmarkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected