- Currently disabled attempts at logging commands
- Added a warning for excessive data rates on monitors - Added statistics to devser and thus to scriptcontext - Added byte concatenation to dynstring - Added aborting for reflection generation to fourmess.c - Added data checksum testing to hipadaba, use for update tests - Fixed interrupt discovery in network.c, caused invalid interrupt codes which in turn confused sicscron which had to be fixed too. - Renamed ubcalc into ubcalcint in order to reclaim the ubcalc for Jurg - Added an a3offset to tasub in order to fix what I perceive an IS problem - Added support for the newer version of the Siemens SPS, the S7 - Added a not yet fully working sinqhttpopt driver which talks to http HM without libghttp SKIPPED: psi/delcam.c psi/make_gen psi/psi.c psi/sinq.c psi/sinq.h psi/sinqhttpopt.c psi/slsvme.c psi/spss7.c
This commit is contained in:
19
devser.h
19
devser.h
@ -162,4 +162,23 @@ DevPrio DevText2Prio(char *text);
|
||||
*/
|
||||
char * DevList(DevSer * devser);
|
||||
|
||||
/**
|
||||
* \brief Get statistics
|
||||
* \param devser The device serializer
|
||||
* \param avg The average response time
|
||||
* \param max The maximum response time
|
||||
* \param errCount The count of communication errors detected so far.
|
||||
* \param errFlag A flag if the device is in an error state or not
|
||||
*/
|
||||
void DevStatistics(DevSer *devser, double *avg, double *max,
|
||||
long *errCount, int *errFlag);
|
||||
/**
|
||||
* \brief Get Ascon invocation statistics. This can help to stop
|
||||
* blocking behaviour in protocol handlers.
|
||||
* \param devser The device serializer to query
|
||||
* \param avg The avgerage time spent in AsconTask invocations
|
||||
* \param max The maximum time spent in a AsconTask call.
|
||||
*/
|
||||
void DevAsconStatistics(DevSer *self, double *avg,
|
||||
double *max, int *maxState, int *longCount);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user