Home | History | Annotate | Download | only in TrafficMonitor

Lines Matching refs:uCurrentTS

69 static void TrafficMonitor_updateBW(BandWidth_t *pBandWidth, UINT32 uCurrentTS);
70 static UINT32 TrafficMonitor_calcBW(BandWidth_t *pBandWidth, UINT32 uCurrentTS);
963 uCurrentTS - current TS of the recent event
968 void TrafficMonitor_updateBW(BandWidth_t *pBandWidth, UINT32 uCurrentTS)
971 if ( (uCurrentTS - pBandWidth->auFirstEventsTS[pBandWidth->uCurrentWindow]) < (SIZE_OF_WINDOW_MS) )
979 pBandWidth->auFirstEventsTS[pBandWidth->uCurrentWindow] = uCurrentTS;
991 uCurrentTS - current TS
995 UINT32 TrafficMonitor_calcBW(BandWidth_t *pBandWidth, UINT32 uCurrentTS)
997 UINT32 uTotalTime = uCurrentTS - pBandWidth->auFirstEventsTS[pBandWidth->uCurrentWindow];
1007 uTotalTime = uCurrentTS - pBandWidth->auFirstEventsTS[iNextIter];