mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 02:11:11 +02:00
add functions to get monotonic timestamps (needs kernel 2.6)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1251 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
12
src/driver/abstime.h
Normal file
12
src/driver/abstime.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef _ABS_TIME_H_
|
||||
#define _ABS_TIME_H_
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
extern time_t time_monotonic_ms(void);
|
||||
extern time_t time_monotonic(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
Reference in New Issue
Block a user