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
12typedef struct timespec timeInstant;
13
17
22int64_t timeElapsedNs(timeInstant start, timeInstant end);
23
24#endif//FPLAYER_TIME_H
Represents an instant moment in time.
Basic time tracking utility functions.
timeInstant timeGetNow(void)
Get the current system time.
Definition time.c:9
int64_t timeElapsedNs(timeInstant start, timeInstant end)
Return the time elapsed from end since the start time in nanoseconds.
Definition time.c:36