Searched refs:buf_byte_cnt (Results 1 – 1 of 1) sorted by relevance
1718 def CalcMbufInList(mpkt, pkt_cnt, buf_byte_cnt, mbuf_cnt, mbuf_cluster_cnt): argument1725 buf_byte_cnt[int(mp.m_hdr.mh_type)] += 2561726 buf_byte_cnt[Mbuf_Type.MT_LAST] += 2561729 buf_byte_cnt[int(mp.m_hdr.mh_type)] += mp.M_dat.MH.MH_dat.MH_ext.ext_size1730 buf_byte_cnt[Mbuf_Type.MT_LAST] += mp.M_dat.MH.MH_dat.MH_ext.ext_size1916 buf_byte_cnt = [0] * (Mbuf_Type.MT_LAST + 1)1921 CalcMbufInList(mpkt, pkt_cnt, buf_byte_cnt, mbuf_cnt, mbuf_cluster_cnt)1925 if (buf_byte_cnt[x] != 0):1926 …Total buf bytes of type " + Mbuf_Type.reverse_mapping[x] + " : " + str(int(buf_byte_cnt[x])) + "\n"