summaryrefslogtreecommitdiff
path: root/src/search.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-05 18:58:49 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-05 18:58:49 +0100
commit6b492daddd682de986e3f983ecfc1d29ed70b0a0 (patch)
tree7ffffcc52e9b3f695f9cfd857b663ee16fc7dc07 /src/search.h
parent3979a2aaebacca290c9e6f7d2fee95b941aba32a (diff)
measure elapsed time for search
Diffstat (limited to 'src/search.h')
-rw-r--r--src/search.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/search.h b/src/search.h
index 5b5f4b7..3bae1a3 100644
--- a/src/search.h
+++ b/src/search.h
@@ -27,6 +27,7 @@ typedef struct t_ts_search_result
int file_count;
ts_memory_bucket memory;
struct t_ts_search_result* prev_result;
+ uint64_t timestamp;
// thread syncing
ts_mutex mutex;