MCPcopy Create free account
hub / github.com/couchbase/forestdb / ts_diff

Function ts_diff

utils/timing.cc:278–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278ts_nsec ts_diff(ts_nsec start, ts_nsec end)
279{
280 ts_nsec diff = 0;
281 if ((end-start)<0) {
282 diff = 1000000000+end-start;
283 } else {
284 diff = end-start;
285 }
286 return diff/1000;
287}

Callers 13

timed_fdb_commitFunction · 0.85
timed_fdb_compactFunction · 0.85
timed_fdb_setFunction · 0.85
timed_fdb_getFunction · 0.85
timed_fdb_deleteFunction · 0.85
timed_fdb_snapshotFunction · 0.85
timed_fdb_kvs_closeFunction · 0.85
timed_fdb_closeFunction · 0.85
timed_fdb_shutdownFunction · 0.85
timed_fdb_iterator_initFunction · 0.85
timed_fdb_iterator_getFunction · 0.85
timed_fdb_iterator_nextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected