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

Function timed_fdb_iterator_get

utils/timing.cc:196–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196ts_nsec timed_fdb_iterator_get(fdb_iterator *it, fdb_doc **doc){
197
198 ts_nsec start, end;
199 fdb_status status;
200
201 start = get_monotonic_ts();
202 status = fdb_iterator_get(it, doc);
203 end = get_monotonic_ts();
204
205 if(status == FDB_RESULT_SUCCESS){
206 return ts_diff(start, end);
207 } else {
208 return ERR_NS;
209 }
210
211}
212
213ts_nsec timed_fdb_iterator_next(fdb_iterator *it){
214

Callers 3

sequential_setFunction · 0.85
permutated_keysetFunction · 0.85
reader_threadFunction · 0.85

Calls 2

get_monotonic_tsFunction · 0.85
ts_diffFunction · 0.85

Tested by

no test coverage detected