Go to the source code of this file.
#define CLOCKTIME_NOSYNC 0 |
void ClockTime_Init |
( |
int |
synchronize | ) |
|
int ClockTime_Report |
( |
int |
level | ) |
|
Definition at line 243 of file osiClockTime.c.
255 synchronized = ClockTimePvt.synchronized;
256 syncFromPriority = ClockTimePvt.syncFromPriority;
257 startTime = ClockTimePvt.startTime;
258 syncTime = ClockTimePvt.syncTime;
262 printf(
"OS Clock driver is synchronized to a priority=%d provider\n",
266 "%Y-%m-%d %H:%M:%S.%06f", &startTime);
267 printf(
"Initial sync was at %s\n", timebuf);
269 "%Y-%m-%d %H:%M:%S.%06f", &syncTime);
270 printf(
"Last successful sync was at %s\n", timebuf);
272 printf(
"Syncronization interval = %.0f seconds\n",
273 ClockTimePvt.ClockTimeSyncInterval);
276 printf(
"OS Clock driver is *not* synchronized\n");
280 "%Y-%m-%d %H:%M:%S.%06f", &ClockTimePvt.startTime);
281 printf(
"Program started at %s\n", timebuf);
282 printf(
"OS Clock synchronization thread not running.\n");
void epicsStdCall epicsMutexUnlock(epicsMutexId pmutexNode)
Release the semaphore.
LIBCOM_API size_t epicsStdCall epicsTimeToStrftime(char *pBuff, size_t bufLength, const char *pFormat, const epicsTimeStamp *pTS)
Convert epicsTimeStamp to string. See epicsTime::strftime()
#define EPICS_THREAD_ONCE_INIT
EPICS time stamp, for use from C code.
#define epicsMutexMustLock(ID)
Claim a semaphore (see epicsMutexLock()).
void ClockTime_Shutdown |
( |
void * |
dummy | ) |
|