| 176 | } |
| 177 | |
| 178 | ts_nsec timed_fdb_iterator_init(fdb_kvs_handle *kv, fdb_iterator **it){ |
| 179 | |
| 180 | ts_nsec start, end; |
| 181 | fdb_status status; |
| 182 | |
| 183 | start = get_monotonic_ts(); |
| 184 | status = fdb_iterator_init(kv, it, NULL, 0, NULL, 0, FDB_ITR_NONE); |
| 185 | end = get_monotonic_ts(); |
| 186 | |
| 187 | if(status == FDB_RESULT_SUCCESS){ |
| 188 | return ts_diff(start, end); |
| 189 | } else { |
| 190 | return ERR_NS; |
| 191 | } |
| 192 | |
| 193 | |
| 194 | } |
| 195 | |
| 196 | ts_nsec timed_fdb_iterator_get(fdb_iterator *it, fdb_doc **doc){ |
| 197 |
no test coverage detected