Home
last modified time | relevance | path

Searched refs:detaTime (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_flow_control.c364 FILLP_LLONG detaTime; in FillpFcCycle() local
375 detaTime = pcb->pcbInst->curTime - pcb->statistics.keepAlive.lastRecvTime; in FillpFcCycle()
377 … if (detaTime >= (FILLP_LLONG)FILLP_UTILS_MS2US((FILLP_LLONG)sock->resConf.common.keepAliveTime)) { in FillpFcCycle()
379 sock->index, detaTime, sock->resConf.common.keepAliveTime); in FillpFcCycle()
390 … (FILLP_UINT32)(FILLP_UTILS_MS2US((FILLP_LLONG)sock->resConf.common.keepAliveTime) - detaTime); in FillpFcCycle()
392 … pcb->keepAliveTimerNode.interval, sock->index, detaTime, sock->resConf.common.keepAliveTime); in FillpFcCycle()
H A Dfillp_timer.c183 FILLP_LLONG detaTime = (FILLP_LLONG)(pcb->pcbInst->curTime - flowControl->sendTime); in FillpSendTimerCb() local
184 FILLP_LLONG realDetaTime = (FILLP_LLONG)((FILLP_ULLONG)detaTime << FILLP_TIME_PRECISION); in FillpSendTimerCb()
H A Dfillp_pcb.c516 FILLP_LLONG detaTime = (FILLP_LLONG)(fpcb->pcbInst->curTime - flowControl->sendTime); in FillpPcbSendFc() local
517 FILLP_LLONG realDetaTime = (FILLP_LLONG)((FILLP_ULLONG)detaTime << FILLP_TIME_PRECISION); in FillpPcbSendFc()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/
H A Dspunge_stack.h28 void SpungeDoSendCycle(struct SpungePcb *pcb, struct SpungeInstance *inst, FILLP_LLONG detaTime);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dspunge_core.c74 struct FtSocket *sock, struct FillpFlowControl *flowControl, FILLP_LLONG detaTime) in SpungeCalExpectedBytes() argument
80 pktNum = (FILLP_UINT32)(detaTime / flowControl->sendInterval); in SpungeCalExpectedBytes()
85 … FILLP_ULLONG bitsExpected = (FILLP_ULLONG)(detaTime * flowControl->sendRate / FILLP_ONE_SECOND); in SpungeCalExpectedBytes()
111 void SpungeDoSendCycle(struct SpungePcb *pcb, struct SpungeInstance *inst, FILLP_LLONG detaTime) in SpungeDoSendCycle() argument
134 bytesExpected = SpungeCalExpectedBytes(&sendPktNum, pcb, sock, flowControl, detaTime); in SpungeDoSendCycle()