thiagoralves / OpenPLC_v3

OpenPLC Runtime version 3
1.07k stars 433 forks source link

Provide UTC clock and optimize tzset() #125

Closed LeeBrown closed 4 years ago

LeeBrown commented 4 years ago
  1. UTC clock stored into %ML1027
  2. tzset() called once at startup, rather than every loop.

UTC provides a monotonic clock, agnostic of timezones.