fplayer
C99 Falcon Sequence (fseq) file player for Light-O-Rama hardware (like xLights)
Loading...
Searching...
No Matches
time.c File Reference

Basic time tracking utility function implementations. More...

#include "time.h"
Include dependency graph for time.c:

Functions

timeInstant timeGetNow (void)
 Get the current system time.
 
int64_t timeElapsedNs (const timeInstant start, const timeInstant end)
 Return the time elapsed from end since the start time in nanoseconds.
 

Detailed Description

Basic time tracking utility function implementations.

Function Documentation

◆ timeElapsedNs()

int64_t timeElapsedNs ( timeInstant start,
timeInstant end )

Return the time elapsed from end since the start time in nanoseconds.

Parameters
startstart time
endend time
Returns
time elapsed in nanoseconds
Here is the caller graph for this function:

◆ timeGetNow()

timeInstant timeGetNow ( void )

Get the current system time.

Returns
current time
Here is the caller graph for this function: