| 43 | } |
| 44 | |
| 45 | ts_nsec timed_fdb_compact(fdb_file_handle *fhandle){ |
| 46 | |
| 47 | ts_nsec start, end; |
| 48 | fdb_status status; |
| 49 | |
| 50 | start = get_monotonic_ts(); |
| 51 | status = fdb_compact(fhandle, NULL); |
| 52 | |
| 53 | end = get_monotonic_ts(); |
| 54 | |
| 55 | if(status == FDB_RESULT_SUCCESS){ |
| 56 | return ts_diff(start, end); |
| 57 | } else { |
| 58 | return ERR_NS; |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | ts_nsec timed_fdb_set(fdb_kvs_handle *kv, fdb_doc *doc){ |
| 63 |
nothing calls this directly
no test coverage detected