/dports/net-mgmt/pmacct/pmacct-1.7.5/src/ |
H A D | preprocess.c | 540 res = (float) queue[x]->bytes_counter/t; in check_fss() 544 if (queue[x]->bytes_counter < t) { in check_fss() 545 bpratio = queue[x]->bytes_counter/queue[x]->packet_counter; in check_fss() 546 queue[x]->bytes_counter = t; in check_fss() 593 z = (float) queue[x]->bytes_counter/w; in check_fsrc() 625 total += queue[x]->bytes_counter; in check_fsrc() 636 if (ptr->cache_ptr->bytes_counter < fsrc_queue.head.next->z) { in check_fsrc() 638 ptr->cache_ptr->bytes_counter = fsrc_queue.head.next->z; in check_fsrc() 642 subtotal += ptr->cache_ptr->bytes_counter; in check_fsrc() 662 bpratio = queue[x]->bytes_counter/queue[x]->packet_counter; in action_usrf() [all …]
|
H A D | acct.c | 164 elem_acc->bytes_counter -= MIN(elem_acc->bytes_counter, data->cst.ba); in insert_accounting_structure() 197 elem_acc->bytes_counter += data->pkt_len; in insert_accounting_structure() 202 elem_acc->bytes_counter += data->cst.ba; in insert_accounting_structure() 219 elem_acc->bytes_counter += data->pkt_len; in insert_accounting_structure() 224 elem_acc->bytes_counter += data->cst.ba; in insert_accounting_structure() 231 if (!elem_acc->bytes_counter && !elem_acc->packet_counter) { /* hmmm */ in insert_accounting_structure() 342 elem_acc->bytes_counter += data->pkt_len; in insert_accounting_structure() 348 elem_acc->bytes_counter += data->cst.ba; in insert_accounting_structure() 471 elem_acc->bytes_counter += data->pkt_len; in insert_accounting_structure() 477 elem_acc->bytes_counter += data->cst.ba; in insert_accounting_structure() [all …]
|
H A D | plugin_common.c | 293 Cursor->bytes_counter -= MIN(Cursor->bytes_counter, data->cst.ba); in P_cache_insert() 429 cache_ptr->bytes_counter = data->pkt_len; in P_cache_insert() 434 cache_ptr->bytes_counter += data->cst.ba; in P_cache_insert() 471 cache_ptr->bytes_counter += data->pkt_len; in P_cache_insert() 476 cache_ptr->bytes_counter += data->cst.ba; in P_cache_insert() 499 cache_ptr->bytes_counter = data->pkt_len; in P_cache_insert() 503 cache_ptr->bytes_counter += data->cst.ba; in P_cache_insert()
|
H A D | plugin_cmn_avro.h | 59 struct pkt_vlen_hdr_primitives *pvlen, pm_counter_t bytes_counter,
|
H A D | plugin_common.h | 62 pm_counter_t bytes_counter; member
|
H A D | imt_plugin.h | 36 pm_counter_t bytes_counter; member
|
H A D | pgsql_plugin.c | 326 delim_buf, cache_elem->bytes_counter, in PG_cache_dbop_copy() 329 delim_buf, cache_elem->bytes_counter); in PG_cache_dbop_copy() 408 …, %" PRIu64 ", %" PRIu64 ")", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->f… in PG_cache_dbop() 409 …ues_clause), ", %" PRIu64 ", %" PRIu64 ")", cache_elem->packet_counter, cache_elem->bytes_counter); in PG_cache_dbop()
|
H A D | sql_common.h | 117 pm_counter_t bytes_counter; member
|
H A D | sqlite3_plugin.c | 347 …, %" PRIu64 ", %" PRIu64 ")", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->f… in SQLI_cache_dbop() 348 …ues_clause), ", %" PRIu64 ", %" PRIu64 ")", cache_elem->packet_counter, cache_elem->bytes_counter); in SQLI_cache_dbop()
|
H A D | mysql_plugin.c | 353 …, %" PRIu64 ", %" PRIu64 ")", cache_elem->packet_counter, cache_elem->bytes_counter, cache_elem->f… in MY_cache_dbop() 354 …ues_clause), ", %" PRIu64 ", %" PRIu64 ")", cache_elem->packet_counter, cache_elem->bytes_counter); in MY_cache_dbop()
|
H A D | print_plugin.c | 872 fprintf(f, "%" PRIu64 "\n", queue[j]->bytes_counter); in P_cache_purge() 1236 fprintf(f, "%s%" PRIu64 "\n", write_sep(sep, &count), queue[j]->bytes_counter); in P_cache_purge() 1257 pvlen, queue[j]->bytes_counter, queue[j]->packet_counter, queue[j]->flow_counter, in P_cache_purge() 1284 &queue[j]->primitives, pbgp, pnat, pmpls, ptun, pcust, pvlen, queue[j]->bytes_counter, in P_cache_purge()
|
H A D | server.c | 114 q->cnt_sz = sizeof(acc_elem->bytes_counter); in process_query_data() 637 abuf->pkt_len += elem->bytes_counter; in Accumulate_Counters()
|
H A D | sql_common.c | 676 Cursor->bytes_counter -= MIN(Cursor->bytes_counter, data->cst.ba); in sql_cache_insert() 765 if (Cursor->bytes_counter > CACHE_THRESHOLD) goto follow_chain; in sql_cache_insert() 858 Cursor->bytes_counter = data->pkt_len; in sql_cache_insert() 863 Cursor->bytes_counter += data->cst.ba; in sql_cache_insert() 908 Cursor->bytes_counter += data->pkt_len; in sql_cache_insert() 913 Cursor->bytes_counter += data->cst.ba; in sql_cache_insert() 3452 if (!queue[x]->bytes_counter && !queue[x]->packet_counter && !queue[x]->flows_counter) in sql_invalidate_shadow_entries()
|
/dports/net-p2p/gtorrentviewer/GTorrentViewer-0.2b/src/ |
H A D | bencode.c | 69 UINT32 bytes_counter; 85 tree = _benc_decode_buf_int (data, length, &bytes_counter); 93 *bytes = bytes_counter; 171 UINT32 counter, bytes_counter, number; 177 counter += bytes_counter, number++) 181 if(node == NULL || bytes_counter == 0) 213 UINT32 counter, bytes_counter, number; 219 counter += bytes_counter, number++) 226 length-counter, &bytes_counter); 231 length-counter, &bytes_counter); [all …]
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/app/pubseq_gateway/server/ |
H A D | timing.cpp | 1114 CJsonNode bytes_counter(CJsonNode::NewObjectNode()); in Serialize() local 1115 bytes_counter.SetString("name", in Serialize() 1117 bytes_counter.SetString("description", in Serialize() 1119 bytes_counter.SetInteger("bytes", in Serialize() 1122 bytes_counter); in Serialize() 1138 CJsonNode bytes_counter(CJsonNode::NewObjectNode()); in Serialize() local 1139 bytes_counter.SetString("name", in Serialize() 1141 bytes_counter.SetString("description", in Serialize() 1143 bytes_counter.SetInteger("bytes", in Serialize() 1146 bytes_counter); in Serialize()
|
/dports/net/pjsip/pjproject-2.11.1/pjlib/src/pjlib-test/ |
H A D | udp_echo_srv_sync.c | 107 int echo_srv_common_loop(pj_atomic_t *bytes_counter) in echo_srv_common_loop() argument 128 received = cur_received = pj_atomic_get(bytes_counter); in echo_srv_common_loop()
|
H A D | test.h | 115 extern int echo_srv_common_loop(pj_atomic_t *bytes_counter);
|
/dports/net-mgmt/pmacct/pmacct-1.7.5/examples/custom/ |
H A D | libcustom.h | 46 struct pkt_vlen_hdr_primitives *pvlen, pm_counter_t bytes_counter,
|
H A D | libcustom.c | 55 struct pkt_vlen_hdr_primitives *pvlen, pm_counter_t bytes_counter, in print() argument
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/core/lib/iomgr/ |
H A D | tcp_posix.cc | 139 int bytes_counter; member 699 tcp->bytes_counter = -1; in tcp_write_with_timestamps() 723 &tcp->tb_head, static_cast<uint32_t>(tcp->bytes_counter + length), in tcp_write_with_timestamps() 1005 tcp->bytes_counter += sent_length; in tcp_flush() 1228 tcp->bytes_counter = -1; in grpc_tcp_create()
|
/dports/devel/grpc130/grpc-1.30.2/src/core/lib/iomgr/ |
H A D | tcp_posix.cc | 409 int bytes_counter; member 1006 tcp->bytes_counter = -1; in tcp_write_with_timestamps() 1030 &tcp->tb_head, static_cast<uint32_t>(tcp->bytes_counter + length), in tcp_write_with_timestamps() 1376 tcp->bytes_counter += sent_length; in do_tcp_flush_zerocopy() 1490 tcp->bytes_counter += sent_length; in tcp_flush() 1764 tcp->bytes_counter = -1; in grpc_tcp_create()
|
/dports/devel/grpc/grpc-1.42.0/src/core/lib/iomgr/ |
H A D | tcp_posix.cc | 414 int bytes_counter; member 990 tcp->bytes_counter = -1; in tcp_write_with_timestamps() 1014 &tcp->tb_head, static_cast<uint32_t>(tcp->bytes_counter + length), in tcp_write_with_timestamps() 1366 tcp->bytes_counter += sent_length; in do_tcp_flush_zerocopy() 1480 tcp->bytes_counter += sent_length; in tcp_flush() 1755 tcp->bytes_counter = -1; in grpc_tcp_create()
|
/dports/devel/pecl-grpc/grpc-1.42.0/src/core/lib/iomgr/ |
H A D | tcp_posix.cc | 414 int bytes_counter; member 990 tcp->bytes_counter = -1; in tcp_write_with_timestamps() 1014 &tcp->tb_head, static_cast<uint32_t>(tcp->bytes_counter + length), in tcp_write_with_timestamps() 1366 tcp->bytes_counter += sent_length; in do_tcp_flush_zerocopy() 1480 tcp->bytes_counter += sent_length; in tcp_flush() 1755 tcp->bytes_counter = -1; in grpc_tcp_create()
|
/dports/devel/py-grpcio/grpcio-1.43.0/src/core/lib/iomgr/ |
H A D | tcp_posix.cc | 418 int bytes_counter; member 983 tcp->bytes_counter = -1; in tcp_write_with_timestamps() 1007 &tcp->tb_head, static_cast<uint32_t>(tcp->bytes_counter + length), in tcp_write_with_timestamps() 1359 tcp->bytes_counter += sent_length; in do_tcp_flush_zerocopy() 1473 tcp->bytes_counter += sent_length; in tcp_flush() 1750 tcp->bytes_counter = -1; in grpc_tcp_create()
|
/dports/devel/grpc134/grpc-1.34.1/src/core/lib/iomgr/ |
H A D | tcp_posix.cc | 413 int bytes_counter; member 1009 tcp->bytes_counter = -1; in tcp_write_with_timestamps() 1033 &tcp->tb_head, static_cast<uint32_t>(tcp->bytes_counter + length), in tcp_write_with_timestamps() 1379 tcp->bytes_counter += sent_length; in do_tcp_flush_zerocopy() 1493 tcp->bytes_counter += sent_length; in tcp_flush() 1784 tcp->bytes_counter = -1; in grpc_tcp_create()
|