test: add basic tests for timer code

This commit is contained in:
sfan5
2023-10-18 15:45:47 +02:00
parent af53ce18bd
commit dad4e61b68
4 changed files with 61 additions and 22 deletions

View File

@@ -54,13 +54,3 @@ int mp_msg_level(struct mp_log *log);
void mp_write_console_ansi(void);
typedef struct AVDictionary AVDictionary;
void mp_set_avdict(AVDictionary **dict, char **kv);
// Windows additionally requires timer related code so it will actually
// import the real versions of these functions and use them. On other
// platforms, these can just be stubs for simplicity.
#ifndef WIN32_TESTS
void mp_rel_time_to_timespec(void);
void mp_time_ns(void);
void mp_time_ns_add(void);
void mp_time_ns_to_realtime(void);
#endif