diff options
Diffstat (limited to 'src/usr/diag/prdf/common/plat/prdfLineDelete.H')
-rwxr-xr-x | src/usr/diag/prdf/common/plat/prdfLineDelete.H | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/usr/diag/prdf/common/plat/prdfLineDelete.H b/src/usr/diag/prdf/common/plat/prdfLineDelete.H index 635c058be..ba8527f9f 100755 --- a/src/usr/diag/prdf/common/plat/prdfLineDelete.H +++ b/src/usr/diag/prdf/common/plat/prdfLineDelete.H @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2005,2013 */ +/* COPYRIGHT International Business Machines Corp. 2005,2014 */ /* */ /* p1 */ /* */ @@ -116,6 +116,17 @@ namespace LineDelete */ bool addAddress(PrdfCacheAddress, STEP_CODE_DATA_STRUCT &); + /** + * @brief Checks if the threshold had been reached for the given + * address. + * @param i_addr The CE address. + * @param i_sdc The Service Data Collector. + * @return TRUE if threshold has been reached and time interval has not + * elapsed, FALSE otherwise. + */ + bool addrThReached( PrdfCacheAddress i_addr, + STEP_CODE_DATA_STRUCT & i_sdc ); + /** @fn PrdfCacheCETable::isIntervalElapsed() * @param STEP_CODE_DATA_STRUCT & i_sdc * @return TRUE if the interval time has elapsed. |