Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Files

clk.h/clk.c

Prototype

Code Block
languagecpp
CLK_TS_SEC  Clk_GetTS (void);


Arguments

None.

Returned Values

...

Clock timestamp returned as UTC+00. Thus any local time zone offset must be applied after calling Clk_GetTS().

Example Usage

Anchor
Listing - Clk_GetTS() Example Usage
Listing - Clk_GetTS() Example Usage

Code Block
languagecpp
titleListing - Clk_GetTS() Example Usage
linenumberstrue
CLK_TS_SEC  ts_sec;
 
ts_sec = Clk_GetTS();
printf("timestamp = %u", ts_sec);