From 6f87bb7f9302ba82caf721ce901c69baf6ffc886 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Fri, 7 Jul 2023 22:26:16 -0700 Subject: til: introduce til_ticks_now() Thin wrapper around gettimeofday(), prolly change the main ticks stuff over to this too. --- src/til.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/til.h') diff --git a/src/til.h b/src/til.h index 318f1b6..6ec43e6 100644 --- a/src/til.h +++ b/src/til.h @@ -40,6 +40,7 @@ struct til_module_t { int til_init(void); void til_quiesce(void); void til_shutdown(void); +unsigned til_ticks_now(void); const til_module_t * til_lookup_module(const char *name); void til_get_modules(const til_module_t ***res_modules, size_t *res_n_modules); char * til_get_module_names(unsigned flags_excluded, const char **exclusions); -- cgit v1.2.1