![]() |
This is Unofficial EPICS BASE Doxygen Site
|
#include <stdio.h>#include <stdlib.h>#include <math.h>#include <float.h>#include <string.h>#include "epicsAssert.h"#include "epicsMutex.h"#include "epicsEvent.h"#include "epicsTime.h"#include "dbDefs.h"#include "envDefs.h"#include "caDiagnostics.h"#include "cadef.h"#include "fdmgr.h"#include "epicsExit.h"
Include dependency graph for acctst.c:Go to the source code of this file.
Classes | |
| struct | appChan |
| struct | MultiSubscrDestroyNoLateCallbackEventData |
| struct | MultiSubscrDestroyNoLateCallbackTestData |
| struct | eventTest |
| struct | MultiThreadSubscrTest |
Macros | |
| #define | epicsAssertAuthor "Jeff Hill johill@lanl.gov" |
| #define | verify(exp) |
| #define | multiSubscrDestroyNoLateCallbackEventCount 500 |
Typedefs | |
| typedef struct appChan | appChan |
Functions | |
| void | showProgressBegin (const char *pTestName, unsigned interestLevel) |
| void | showProgressEnd (unsigned interestLevel) |
| void | showProgress (unsigned interestLevel) |
| void | nUpdatesTester (struct event_handler_args args) |
| void | monitorSubscriptionFirstUpdateTest (const char *pName, chid chan, unsigned interestLevel) |
| void | ioTesterGet (struct event_handler_args args) |
| void | ioTesterEvent (struct event_handler_args args) |
| void | verifyMonitorSubscriptionFlushIO (chid chan, unsigned interestLevel) |
| void | accessRightsStateChange (struct access_rights_handler_args args) |
| void | getCallbackStateChange (struct event_handler_args args) |
| void | connectionStateChange (struct connection_handler_args args) |
| void | subscriptionStateChange (struct event_handler_args args) |
| void | noopSubscriptionStateChange (struct event_handler_args args) |
| void | verifyConnectionHandlerConnect (appChan *pChans, unsigned chanCount, unsigned repetitionCount, unsigned interestLevel) |
| void | verifyBlockingConnect (appChan *pChans, unsigned chanCount, unsigned repetitionCount, unsigned interestLevel) |
| void | verifyClear (appChan *pChans, unsigned interestLevel) |
| void | grEnumTest (chid chan, unsigned interestLevel) |
| void | ctrlDoubleTest (chid chan, unsigned interestLevel) |
| void | verifyBlockInPendIO (chid chan, unsigned interestLevel) |
| void | floatTest (chid chan, dbr_float_t beginValue, dbr_float_t increment, dbr_float_t epsilon, unsigned iterations) |
| void | doubleTest (chid chan, dbr_double_t beginValue, dbr_double_t increment, dbr_double_t epsilon, unsigned iterations) |
| void | verifyAnalogIO (chid chan, int dataType, double min, double max, int minExp, int maxExp, double epsilon, unsigned interestLevel) |
| void | verifyLongIO (chid chan, unsigned interestLevel) |
| void | verifyShortIO (chid chan, unsigned interestLevel) |
| void | verifyHighThroughputRead (chid chan, unsigned interestLevel) |
| void | verifyHighThroughputWrite (chid chan, unsigned interestLevel) |
| void | verifyHighThroughputReadCallback (chid chan, unsigned interestLevel) |
| void | verifyHighThroughputWriteCallback (chid chan, unsigned interestLevel) |
| void | verifyBadString (chid chan, unsigned interestLevel) |
| void | multiple_sg_requests (chid chix, CA_SYNC_GID gid) |
| void | test_sync_groups (chid chan, unsigned interestLevel) |
| void | multiSubscriptionDeleteTest (chid chan, unsigned interestLevel) |
| void | singleSubscriptionDeleteTest (chid chan, unsigned interestLevel) |
| void | channelClearWithEventTrafficTest (const char *pName, unsigned interestLevel) |
| void | selfDeleteEvent (struct event_handler_args args) |
| void | eventClearTest (chid chan) |
| void | acctstExceptionNotify (struct exception_handler_args args) |
| void | arrayEventExceptionNotify (struct event_handler_args args) |
| void | exceptionTest (chid chan, unsigned interestLevel) |
| void | arrayReadNotify (struct event_handler_args args) |
| void | arrayWriteNotify (struct event_handler_args args) |
| void | arrayTest (chid chan, unsigned maxArrayBytes, unsigned interestLevel) |
| void | unequalServerBufferSizeTest (const char *pName, unsigned interestLevel) |
| void | pend_event_delay_test (dbr_double_t request) |
| void | caTaskExitTest (unsigned interestLevel) |
| void | verifyDataTypeMacros (void) |
| void | updateTestEvent (struct event_handler_args args) |
| dbr_float_t | monitorUpdateTestPattern (unsigned iter) |
| void | callbackClearsChannel (struct event_handler_args args) |
| void | clearChannelInGetCallbackTest (const char *pName, unsigned level) |
| void | clearChannelInPutCallbackTest (const char *pName, unsigned level) |
| void | clearChannelInSubscrCallbackTest (const char *pName, unsigned level) |
| void | monitorAddConnectionCallback (struct connection_handler_args args) |
| void | monitorAddConnectionCallbackTest (const char *pName, unsigned interestLevel) |
| void | monitorUpdateTest (chid chan, unsigned interestLevel) |
| void | verifyReasonableBeaconPeriod (chid chan, unsigned interestLevel) |
| void | verifyOldPend (unsigned interestLevel) |
| void | verifyTimeStamps (chid chan, unsigned interestLevel) |
| void | verifyChannelPriorities (const char *pName, unsigned interestLevel) |
| void | verifyTearDownWhenChannelConnected (const char *pName, enum ca_preemptive_callback_select select, unsigned interestLevel) |
| void | verifyImmediateTearDown (const char *pName, enum ca_preemptive_callback_select select, unsigned interestLevel) |
| void | eventClearAndMultipleMonitorTest (chid chan, unsigned interestLevel) |
| void | fdcb (void *parg) |
| void | fdRegCB (void *parg, int fd, int opened) |
| void | testMultithreadSubscrConnHandler (struct connection_handler_args args) |
| void | testMultithreadSubscr (void *pParm) |
| void | verifyMultithreadSubscr (const char *pName, unsigned interestLevel) |
| void | fdManagerVerify (const char *pName, unsigned interestLevel) |
| void | verifyConnectWithDisconnectedChannels (const char *pName, unsigned interestLevel) |
| void | verifyClearChannelOnDisconnectCallback (struct connection_handler_args args) |
| void | noopExceptionCallback (struct exception_handler_args args) |
| void | verifyDisconnect (const char *pName, unsigned interestLevel) |
| void | verifyName (const char *pName, unsigned interestLevel) |
| void | verifyContextRundownFlush (const char *pName, unsigned interestLevel) |
| void | verifyContextRundownChanStillExist (const char *pName, unsigned interestLevel) |
| int | acctst (const char *pName, unsigned interestLevel, unsigned channelCount, unsigned repetitionCount, enum ca_preemptive_callback_select select) |
Variables | |
| unsigned | subscriptionUpdateCount |
| unsigned | accessUpdateCount |
| unsigned | connectionUpdateCount |
| unsigned | getCallbackCount |
| evid | globalEventID |
| unsigned | acctstExceptionCount = 0u |
| #define verify | ( | exp | ) |
| void accessRightsStateChange | ( | struct access_rights_handler_args | args | ) |
Definition at line 302 of file acctst.c.
| int acctst | ( | const char * | pName, |
| unsigned | interestLevel, | ||
| unsigned | channelCount, | ||
| unsigned | repetitionCount, | ||
| enum ca_preemptive_callback_select | select | ||
| ) |
Definition at line 3398 of file acctst.c.
| void acctstExceptionNotify | ( | struct exception_handler_args | args | ) |
| void arrayEventExceptionNotify | ( | struct event_handler_args | args | ) |
| void arrayReadNotify | ( | struct event_handler_args | args | ) |
| void arrayTest | ( | chid | chan, |
| unsigned | maxArrayBytes, | ||
| unsigned | interestLevel | ||
| ) |
Definition at line 1932 of file acctst.c.
| void arrayWriteNotify | ( | struct event_handler_args | args | ) |
| void callbackClearsChannel | ( | struct event_handler_args | args | ) |
| void caTaskExitTest | ( | unsigned | interestLevel | ) |
Definition at line 2175 of file acctst.c.
| void channelClearWithEventTrafficTest | ( | const char * | pName, |
| unsigned | interestLevel | ||
| ) |
Definition at line 1623 of file acctst.c.
| void clearChannelInGetCallbackTest | ( | const char * | pName, |
| unsigned | level | ||
| ) |
Definition at line 2244 of file acctst.c.
| void clearChannelInPutCallbackTest | ( | const char * | pName, |
| unsigned | level | ||
| ) |
Definition at line 2274 of file acctst.c.
| void clearChannelInSubscrCallbackTest | ( | const char * | pName, |
| unsigned | level | ||
| ) |
Definition at line 2306 of file acctst.c.
| void connectionStateChange | ( | struct connection_handler_args | args | ) |
Definition at line 329 of file acctst.c.
| void ctrlDoubleTest | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 751 of file acctst.c.
| void doubleTest | ( | chid | chan, |
| dbr_double_t | beginValue, | ||
| dbr_double_t | increment, | ||
| dbr_double_t | epsilon, | ||
| unsigned | iterations | ||
| ) |
| void eventClearAndMultipleMonitorTest | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
| void eventClearTest | ( | chid | chan | ) |
Definition at line 1685 of file acctst.c.
| void exceptionTest | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 1750 of file acctst.c.
| void fdcb | ( | void * | parg | ) |
| void fdManagerVerify | ( | const char * | pName, |
| unsigned | interestLevel | ||
| ) |
Definition at line 3062 of file acctst.c.
| void fdRegCB | ( | void * | parg, |
| int | fd, | ||
| int | opened | ||
| ) |
Definition at line 2865 of file acctst.c.
| void floatTest | ( | chid | chan, |
| dbr_float_t | beginValue, | ||
| dbr_float_t | increment, | ||
| dbr_float_t | epsilon, | ||
| unsigned | iterations | ||
| ) |
| void getCallbackStateChange | ( | struct event_handler_args | args | ) |
Definition at line 313 of file acctst.c.
| void grEnumTest | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 719 of file acctst.c.
| void ioTesterEvent | ( | struct event_handler_args | args | ) |
| void ioTesterGet | ( | struct event_handler_args | args | ) |
| void monitorAddConnectionCallback | ( | struct connection_handler_args | args | ) |
Definition at line 2337 of file acctst.c.
| void monitorAddConnectionCallbackTest | ( | const char * | pName, |
| unsigned | interestLevel | ||
| ) |
Definition at line 2359 of file acctst.c.
| void monitorSubscriptionFirstUpdateTest | ( | const char * | pName, |
| chid | chan, | ||
| unsigned | interestLevel | ||
| ) |
Definition at line 118 of file acctst.c.
| void monitorUpdateTest | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 2408 of file acctst.c.
| dbr_float_t monitorUpdateTestPattern | ( | unsigned | iter | ) |
| void multiple_sg_requests | ( | chid | chix, |
| CA_SYNC_GID | gid | ||
| ) |
Definition at line 1255 of file acctst.c.
| void multiSubscriptionDeleteTest | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 1494 of file acctst.c.
| void noopExceptionCallback | ( | struct exception_handler_args | args | ) |
| void noopSubscriptionStateChange | ( | struct event_handler_args | args | ) |
| void nUpdatesTester | ( | struct event_handler_args | args | ) |
| void pend_event_delay_test | ( | dbr_double_t | request | ) |
Definition at line 2154 of file acctst.c.
| void selfDeleteEvent | ( | struct event_handler_args | args | ) |
| void showProgressBegin | ( | const char * | pTestName, |
| unsigned | interestLevel | ||
| ) |
Definition at line 68 of file acctst.c.
| void showProgressEnd | ( | unsigned | interestLevel | ) |
Definition at line 81 of file acctst.c.
| void singleSubscriptionDeleteTest | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 1570 of file acctst.c.
| void subscriptionStateChange | ( | struct event_handler_args | args | ) |
Definition at line 359 of file acctst.c.
| void test_sync_groups | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 1280 of file acctst.c.
| void testMultithreadSubscr | ( | void * | pParm | ) |
Definition at line 2971 of file acctst.c.
| void testMultithreadSubscrConnHandler | ( | struct connection_handler_args | args | ) |
Definition at line 2947 of file acctst.c.
| void unequalServerBufferSizeTest | ( | const char * | pName, |
| unsigned | interestLevel | ||
| ) |
Definition at line 2085 of file acctst.c.
| void updateTestEvent | ( | struct event_handler_args | args | ) |
Definition at line 2224 of file acctst.c.
| void verifyAnalogIO | ( | chid | chan, |
| int | dataType, | ||
| double | min, | ||
| double | max, | ||
| int | minExp, | ||
| int | maxExp, | ||
| double | epsilon, | ||
| unsigned | interestLevel | ||
| ) |
Definition at line 932 of file acctst.c.
| void verifyBadString | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 1219 of file acctst.c.
| void verifyBlockingConnect | ( | appChan * | pChans, |
| unsigned | chanCount, | ||
| unsigned | repetitionCount, | ||
| unsigned | interestLevel | ||
| ) |
Definition at line 515 of file acctst.c.
| void verifyBlockInPendIO | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 823 of file acctst.c.
| void verifyChannelPriorities | ( | const char * | pName, |
| unsigned | interestLevel | ||
| ) |
Definition at line 2691 of file acctst.c.
| void verifyClear | ( | appChan * | pChans, |
| unsigned | interestLevel | ||
| ) |
Definition at line 684 of file acctst.c.
| void verifyClearChannelOnDisconnectCallback | ( | struct connection_handler_args | args | ) |
| void verifyConnectionHandlerConnect | ( | appChan * | pChans, |
| unsigned | chanCount, | ||
| unsigned | repetitionCount, | ||
| unsigned | interestLevel | ||
| ) |
Definition at line 399 of file acctst.c.
| void verifyConnectWithDisconnectedChannels | ( | const char * | pName, |
| unsigned | interestLevel | ||
| ) |
Definition at line 3145 of file acctst.c.
| void verifyContextRundownChanStillExist | ( | const char * | pName, |
| unsigned | interestLevel | ||
| ) |
Definition at line 3366 of file acctst.c.
| void verifyContextRundownFlush | ( | const char * | pName, |
| unsigned | interestLevel | ||
| ) |
Definition at line 3292 of file acctst.c.
| void verifyDataTypeMacros | ( | void | ) |
Definition at line 2187 of file acctst.c.
| void verifyDisconnect | ( | const char * | pName, |
| unsigned | interestLevel | ||
| ) |
Definition at line 3208 of file acctst.c.
| void verifyHighThroughputRead | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 1109 of file acctst.c.
| void verifyHighThroughputReadCallback | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 1158 of file acctst.c.
| void verifyHighThroughputWrite | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 1134 of file acctst.c.
| void verifyHighThroughputWriteCallback | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 1187 of file acctst.c.
| void verifyImmediateTearDown | ( | const char * | pName, |
| enum ca_preemptive_callback_select | select, | ||
| unsigned | interestLevel | ||
| ) |
Definition at line 2801 of file acctst.c.
| void verifyLongIO | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 1025 of file acctst.c.
| void verifyMonitorSubscriptionFlushIO | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 271 of file acctst.c.
| void verifyMultithreadSubscr | ( | const char * | pName, |
| unsigned | interestLevel | ||
| ) |
Definition at line 3022 of file acctst.c.
| void verifyName | ( | const char * | pName, |
| unsigned | interestLevel | ||
| ) |
Definition at line 3278 of file acctst.c.
| void verifyOldPend | ( | unsigned | interestLevel | ) |
Definition at line 2628 of file acctst.c.
| void verifyReasonableBeaconPeriod | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 2583 of file acctst.c.
| void verifyShortIO | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 1068 of file acctst.c.
| void verifyTearDownWhenChannelConnected | ( | const char * | pName, |
| enum ca_preemptive_callback_select | select, | ||
| unsigned | interestLevel | ||
| ) |
Definition at line 2754 of file acctst.c.
| void verifyTimeStamps | ( | chid | chan, |
| unsigned | interestLevel | ||
| ) |
Definition at line 2645 of file acctst.c.