Home
last modified time | relevance | path

Searched refs:total (Results 1 – 8 of 8) sorted by path

/unit/docs/
H A Dunit-openapi.yaml4072 /status/requests/total:
4073 summary: "Endpoint for the `total` requests number"
4076 summary: "Retrieve the total requests number"
4077 description: "Retrieves the `total` requests number that represents Unit's
4085 description: "OK; the `total` number exists in the configuration."
4999 total: 1307
5059 total: 1307
6300 total:
/unit/src/
H A Dnxt_recvbuf.c14 size_t size, total; in nxt_recvbuf_mem_coalesce() local
18 total = 0; in nxt_recvbuf_mem_coalesce()
44 total += size; in nxt_recvbuf_mem_coalesce()
52 rb->size = total; in nxt_recvbuf_mem_coalesce()
H A Dnxt_sendbuf.c21 size_t size, total; in nxt_sendbuf_mem_coalesce0() local
25 total = sb->size; in nxt_sendbuf_mem_coalesce0()
67 total += size; in nxt_sendbuf_mem_coalesce0()
91 size_t size, total; in nxt_sendbuf_mem_coalesce() local
95 total = sb->size; in nxt_sendbuf_mem_coalesce()
141 total += size; in nxt_sendbuf_mem_coalesce()
156 sb->size = total; in nxt_sendbuf_mem_coalesce()
174 total = sb->size; in nxt_sendbuf_file_coalesce()
183 total = sb->limit; in nxt_sendbuf_file_coalesce()
187 total += size; in nxt_sendbuf_file_coalesce()
[all …]
H A Dnxt_solaris_sendfilev.c93 size_t size, total; in nxt_solaris_buf_coalesce() local
101 total = 0; in nxt_solaris_buf_coalesce()
103 for (total = 0; b != NULL && total < limit; b = b->next) { in nxt_solaris_buf_coalesce()
115 if (total + size > limit) { in nxt_solaris_buf_coalesce()
116 size = limit - total; in nxt_solaris_buf_coalesce()
129 if (total + size > limit) { in nxt_solaris_buf_coalesce()
130 size = limit - total; in nxt_solaris_buf_coalesce()
157 total += size; in nxt_solaris_buf_coalesce()
168 return total; in nxt_solaris_buf_coalesce()
H A Dnxt_upstream_round_robin.c46 double total, k, w; in nxt_upstream_round_robin_create() local
63 total = 0.0; in nxt_upstream_round_robin_create()
70 total += w; in nxt_upstream_round_robin_create()
77 k = (total == 0) ? 0 : (NXT_INT32_T_MAX / 2) / total; in nxt_upstream_round_robin_create()
167 int32_t total; in nxt_upstream_round_robin_server_get() local
173 total = 0; in nxt_upstream_round_robin_server_get()
183 total += s[i].effective_weight; in nxt_upstream_round_robin_server_get()
194 if (best == NULL || total == 0) { in nxt_upstream_round_robin_server_get()
199 best->current_weight -= total; in nxt_upstream_round_robin_server_get()
/unit/src/test/
H A Dnxt_mem_zone_test.c16 size_t total, zone_size; in nxt_mem_zone_test() local
47 total = 0; in nxt_mem_zone_test()
52 total += size & max_size; in nxt_mem_zone_test()
57 "mem zone test failed: %uz", total); in nxt_mem_zone_test()
H A Dnxt_mp_test.c16 size_t total; in nxt_mp_test() local
51 total = 0; in nxt_mp_test()
62 total += size; in nxt_mp_test()
67 "mem pool test failed: %uz", total); in nxt_mp_test()
/unit/tools/
H A DREADME.md103 UNIT_CTRL=docker://4d0431488982 unitc /status/requests/total