diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-03-05 18:58:49 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-03-05 18:58:49 +0100 |
| commit | 6b492daddd682de986e3f983ecfc1d29ed70b0a0 (patch) | |
| tree | 7ffffcc52e9b3f695f9cfd857b663ee16fc7dc07 /src/platform.h | |
| parent | 3979a2aaebacca290c9e6f7d2fee95b941aba32a (diff) | |
measure elapsed time for search
Diffstat (limited to 'src/platform.h')
| -rw-r--r-- | src/platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform.h b/src/platform.h index edaee4c..1fb032d 100644 --- a/src/platform.h +++ b/src/platform.h @@ -32,5 +32,6 @@ typedef enum t_ts_file_open_error ts_file_content ts_platform_read_file(char *path, const char *mode); void ts_platform_list_files_block(ts_search_result* result, wchar_t* start_dir = nullptr); void ts_platform_list_files(ts_search_result* result); +uint64_t ts_platform_get_time(uint64_t compare = 0); // if compare is not 0, return difference between timestamp and now, in milliseconds. #endif
\ No newline at end of file |
