Hi,
I'm developing with a BeagleBoard Black (BBB) under Ubuntu using C. When the BBB is powered on I'm doing many time controlled tasks.
My problem happens when NTP changes the clock and all my counters are not valid. Normally BBB starts with no date/time set, some seconds later (if internet connection is available) the NTP daemon changes the date/time and all my internal checks are unusable. I'm using time().
I need the real time when available to write logs and send data. But I need a time() function not dependent of current date/time to know (for example) how many seconds one relay was open.
Thanks in advance!