| 76 | } |
| 77 | |
| 78 | ts_nsec timed_fdb_get(fdb_kvs_handle *kv, fdb_doc *doc){ |
| 79 | |
| 80 | ts_nsec start, end; |
| 81 | fdb_status status; |
| 82 | |
| 83 | start = get_monotonic_ts(); |
| 84 | status = fdb_get(kv, doc); |
| 85 | end = get_monotonic_ts(); |
| 86 | |
| 87 | if(status == FDB_RESULT_SUCCESS){ |
| 88 | return ts_diff(start, end); |
| 89 | } else { |
| 90 | return ERR_NS; |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | ts_nsec timed_fdb_delete(fdb_kvs_handle *kv, fdb_doc *doc){ |
| 95 |
nothing calls this directly
no test coverage detected