testServer: added alwaysSendAll for ChannelGet, velocious for Monitor; added testMonitorPerformance util

This commit is contained in:
Matej Sekoranja
2014-07-30 11:14:52 +02:00
parent 16eeeb992b
commit fbe2ffa3cb
6 changed files with 642 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ using namespace epics::pvData;
using namespace epics::pvAccess;
#define DEFAULT_TIMEOUT 600.0
#define DEFAULT_REQUEST "field(value)"
#define DEFAULT_REQUEST "record[alwaysSendAll=true]field(value)"
#define DEFAULT_ITERATIONS 10000
#define DEFAULT_CHANNELS 1
#define DEFAULT_ARRAY_SIZE 0
@@ -47,9 +47,6 @@ int arraySize = DEFAULT_ARRAY_SIZE; // 0 means scalar
Mutex waitLoopPtrMutex;
std::tr1::shared_ptr<Event> waitLoopEvent;
#define DEFAULT_TIMEOUT 600.0
#define DEFAULT_REQUEST "field(value)"
double timeOut = DEFAULT_TIMEOUT;
string request(DEFAULT_REQUEST);
@@ -352,7 +349,7 @@ void runTest()
std::cout << "not all channels are hosted by the same connection: " <<
theRemoteAddress << " != " << remoteAddress << std::endl;
differentConnectionsWarningIssued = true;
// the assumes same connection (thread-safety)
// we assumes same connection (thread-safety)
exit(2);
}
}