fplayer
C99 Falcon Sequence (fseq) file player for Light-O-Rama hardware (like xLights)
Loading...
Searching...
No Matches
time.h
Go to the documentation of this file.
1
3
#ifndef FPLAYER_TIME_H
4
#define FPLAYER_TIME_H
5
6
#include <stdint.h>
7
#include <
time.h
>
8
12
typedef
struct
timespec
timeInstant
;
13
16
timeInstant
timeGetNow
(
void
);
17
22
int64_t
timeElapsedNs
(
timeInstant
start,
timeInstant
end);
23
24
#endif
//FPLAYER_TIME_H
timeInstant
Represents an instant moment in time.
time.h
Basic time tracking utility functions.
timeGetNow
timeInstant timeGetNow(void)
Get the current system time.
Definition
time.c:9
timeElapsedNs
int64_t timeElapsedNs(timeInstant start, timeInstant end)
Return the time elapsed from end since the start time in nanoseconds.
Definition
time.c:36
common
std2
time.h
Generated by
1.12.0