Merge remote-tracking branch 'lp-Com/use-monotonic' into 7.0
* lp-Com/use-monotonic: VxWorks: Measure CPU time-base frequency if necessary replace most internal getCurrent() -> getMonotonic() dbScan periodic scan use monotonic time monotonic adapt to regular time APIs
This commit is contained in:
@@ -215,6 +215,13 @@ epicsTime epicsTime::getCurrent ()
|
||||
return epicsTime ( current );
|
||||
}
|
||||
|
||||
epicsTime epicsTime::getMonotonic()
|
||||
{
|
||||
epicsTimeStamp current;
|
||||
epicsTimeGetMonotonic (¤t); // can't fail
|
||||
return epicsTime ( current );
|
||||
}
|
||||
|
||||
epicsTime epicsTime::getEvent (const epicsTimeEvent &event)
|
||||
{
|
||||
epicsTimeStamp current;
|
||||
|
||||
Reference in New Issue
Block a user