#include <stdio.h>
#include <stdlib.h>
#include "cadef.h"
#include "caDiagnostics.h"
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 17 of file acctstMain.c.
19 unsigned progressLoggingLevel;
20 unsigned channelCount;
21 unsigned repetitionCount;
26 if ( argc < 2 || argc > 6 ) {
27 printf (
"usage: %s <PV name> [progress logging level] [channel count] " 28 "[repetition count] [enable preemptive callback]\n",
34 progressLoggingLevel = atoi ( argv[2] );
37 progressLoggingLevel = 0;
41 channelCount = atoi ( argv[3] );
48 repetitionCount = atoi ( argv[4] );
55 aBoolean = atoi ( argv[5] );
67 acctst ( argv[1], progressLoggingLevel, channelCount, repetitionCount, preempt );
ca_preemptive_callback_select
int acctst(const char *pName, unsigned interestLevel, unsigned channelCount, unsigned repetitionCount, enum ca_preemptive_callback_select select)