Home | History | Annotate | Download | only in Data_link

Lines Matching refs:uCurrentTS

71 static void TrafficMonitor_updateBW(BandWidth_t *pBandWidth, TI_UINT32 uCurrentTS);
72 static TI_UINT32 TrafficMonitor_calcBW(BandWidth_t *pBandWidth, TI_UINT32 uCurrentTS);
972 uCurrentTS - current TS of the recent event
977 void TrafficMonitor_updateBW(BandWidth_t *pBandWidth, TI_UINT32 uCurrentTS)
980 if ( (uCurrentTS - pBandWidth->auFirstEventsTS[pBandWidth->uCurrentWindow]) < (SIZE_OF_WINDOW_MS) )
988 pBandWidth->auFirstEventsTS[pBandWidth->uCurrentWindow] = uCurrentTS;
1000 uCurrentTS - current TS
1004 TI_UINT32 TrafficMonitor_calcBW(BandWidth_t *pBandWidth, TI_UINT32 uCurrentTS)
1006 TI_UINT32 uTotalTime = uCurrentTS - pBandWidth->auFirstEventsTS[pBandWidth->uCurrentWindow];
1016 uTotalTime = uCurrentTS - pBandWidth->auFirstEventsTS[iNextIter];