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

Function timed_fdb_iterator_next

utils/timing.cc:213–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213ts_nsec timed_fdb_iterator_next(fdb_iterator *it){
214
215 ts_nsec start, end;
216 fdb_status status;
217
218 start = get_monotonic_ts();
219 status = fdb_iterator_next(it);
220 end = get_monotonic_ts();
221
222 if(status == FDB_RESULT_SUCCESS){
223 return ts_diff(start, end);
224 } else {
225 return ERR_NS;
226 }
227
228}
229
230ts_nsec timed_fdb_iterator_close(fdb_iterator *it){
231

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