From 82c7b2cd85ab72cf611889e0c50258626bf8f054 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 9 May 2002 00:30:17 +0000 Subject: [PATCH] io counters are now in old interface --- src/ca/getCopy.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ca/getCopy.cpp b/src/ca/getCopy.cpp index eca91c8e9..030736c71 100644 --- a/src/ca/getCopy.cpp +++ b/src/ca/getCopy.cpp @@ -27,9 +27,9 @@ epicsSingleton < tsFreeList < class getCopy, 1024 > > getCopy::pFreeList; getCopy::getCopy ( oldCAC &cacCtxIn, oldChannelNotify &chanIn, unsigned typeIn, arrayElementCount countIn, void *pValueIn ) : count ( countIn ), cacCtx ( cacCtxIn ), chan ( chanIn ), pValue ( pValueIn ), - readSeq ( cacCtxIn.sequenceNumberOfOutstandingIO () ), type ( typeIn ) + ioSeqNo ( cacCtxIn.sequenceNumberOfOutstandingIO () ), type ( typeIn ) { - cacCtxIn.incrementOutstandingIO (); + cacCtxIn.incrementOutstandingIO ( cacCtxIn.sequenceNumberOfOutstandingIO () ); } getCopy::~getCopy () @@ -38,7 +38,7 @@ getCopy::~getCopy () void getCopy::cancel () { - this->cacCtx.decrementOutstandingIO ( this->readSeq ); + this->cacCtx.decrementOutstandingIO ( this->ioSeqNo ); } void getCopy::destroy () @@ -52,7 +52,7 @@ void getCopy::completion ( unsigned typeIn, if ( this->type == typeIn ) { unsigned size = dbr_size_n ( typeIn, countIn ); memcpy ( this->pValue, pDataIn, size ); - this->cacCtx.decrementOutstandingIO ( this->readSeq ); + this->cacCtx.decrementOutstandingIO ( this->ioSeqNo ); } else { this->exception ( ECA_INTERNAL, @@ -79,7 +79,7 @@ void getCopy::show ( unsigned level ) const ::printf ( "read copy IO at %p, type %s, element count %lu\n", static_cast ( this ), dbf_type_to_text ( tmpType ), this->count ); if ( level > 0u ) { - ::printf ( "\tsequence number %u, user's storage %p\n", - this->readSeq, static_cast ( this->pValue ) ); + ::printf ( "\tIO sequence number %u, user's storage %p\n", + this->ioSeqNo, static_cast ( this->pValue ) ); } }