X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ffilter_frontend_net.cpp;h=8efda29d20dbd30165d2ea73fc149fce193f1d68;hb=47dbd1de7138760f24a41cbe0e3062b7e41aa409;hp=b9526c5ad8a68f138c68afdd840fbe90b515c6bb;hpb=069d404cfe3b0d51d1b49edf57cdb3cec180afee;p=metaproxy-moved-to-github.git diff --git a/src/filter_frontend_net.cpp b/src/filter_frontend_net.cpp index b9526c5..8efda29 100644 --- a/src/filter_frontend_net.cpp +++ b/src/filter_frontend_net.cpp @@ -302,7 +302,7 @@ void yf::FrontendNet::ZAssocChild::report(Z_HTTP_Request *hreq) number_total += m_p->m_duration_freq[i]; number_total += m_p->m_duration_freq[i]; - wrbuf_puts(w, "\n"); + wrbuf_puts(w, "\n"); wrbuf_puts(w, "\n"); wrbuf_printf(w, " \n", number_total); for (i = 0; m_p->m_duration_lim[i] != 0.0; i++) @@ -334,6 +334,14 @@ void yf::FrontendNet::ZAssocChild::report(Z_HTTP_Request *hreq) m_p->m_duration_total / number_total); wrbuf_puts(w, " \n"); + + int thread_busy; + int thread_total; + m_thread_pool_observer->get_thread_info(thread_busy, thread_total); + + wrbuf_printf(w, " \n", + thread_busy, thread_total); + wrbuf_puts(w, "\n"); hres->content_len = w.len();