#include <stdio.h>
#include "dbDefs.h"
#include "epicsTime.h"
#include "cadef.h"
Go to the source code of this file.
Definition at line 73 of file evtime.c.
81 if(iteration_count%
COUNT == 0){
85 interval = current_time - last_time;
86 delay = interval/
COUNT;
87 printf(
"Delay = %f sec per event\n",
90 last_time = current_time;
epicsUInt32 secPastEpoch
seconds since 0000 Jan 1, 1990
int epicsStdCall epicsTimeGetCurrent(epicsTimeStamp *pDest)
Get current time into *pDest.
EPICS time stamp, for use from C code.
int evtime |
( |
char * |
pname | ) |
|
Definition at line 42 of file evtime.c.
int epicsStdCall ca_pend_io(ca_real timeout)
int epicsStdCall ca_pend_event(ca_real timeout)
#define SEVCHK(CA_ERROR_CODE, MESSAGE_STRING)
void event_handler(struct event_handler_args args)
#define ca_search(pChanName, pChanID)
#define ca_add_event(type, chan, pFunc, pArg, pEventID)
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 24 of file evtime.c.
33 printf(
"usage: %s <channel name>", argv[0]);