summaryrefslogtreecommitdiff
path: root/src/til.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-07-07 22:26:16 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-07-07 22:26:16 -0700
commit6f87bb7f9302ba82caf721ce901c69baf6ffc886 (patch)
treec184a0097fa31794202a56474d7361b644896774 /src/til.h
parent011d4df35a480aac9af4d13fc050064af2b2d050 (diff)
til: introduce til_ticks_now()
Thin wrapper around gettimeofday(), prolly change the main ticks stuff over to this too.
Diffstat (limited to 'src/til.h')
-rw-r--r--src/til.h1
1 files changed, 1 insertions, 0 deletions
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);
© All Rights Reserved