Experimental Physics and
| |||||||||||||||||
|
Wayne Dahl wrote: I'm reading in the documentation that tickGet() etc are to be replaced by routines in osiClock. I can't find that anywhere. What would be the appropriate replacements for tickGet on solaris? There is no exact replacement for tickGet. EPICS base 3.14.x provides two time related libCom modules: epicsTime and epicsTimer. epicsTime - manipulates epics time stamps. It provides MANY methods/functions to manipulate the time stamps. It can get the current time, compute time differences, convert to other representations of time, etc. epicsTimer - A timer facility that replaces taskDelay Also epicsThread provides epicsThreadSleepQuantum which gives the time in seconds between clock interrupts. This is a replacement for sysClkRateGet. I will guess that what you want is epicsTimeGetCurrent to replace tickGet and then use epicsTimeDiffInSeconds to compute the difference in time between two calls to tickGet. Consult the Application Developer's Guide for details. Marty Kraimer
| ||||||||||||||||
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |