From: Roni Häcki Date: Wed, 29 Mar 2017 12:20:57 +0000 (+0200) Subject: lwip: remove measuring code from datapath X-Git-Tag: release2017-05-05~54 X-Git-Url: http://git.barrelfish.org/?p=barrelfish;a=commitdiff_plain;h=62b346d1ac8f4943916d21b8b3b55fcf9ab37a73 lwip: remove measuring code from datapath Signed-off-by: Roni Häcki --- diff --git a/lib/lwip/src/netif/bfeth.c b/lib/lwip/src/netif/bfeth.c index a0f841e..a16dba1 100644 --- a/lib/lwip/src/netif/bfeth.c +++ b/lib/lwip/src/netif/bfeth.c @@ -268,7 +268,7 @@ bfeth_input(struct netif *netif, uint64_t pbuf_id, uint64_t paddr, uint64_t len, //which was processed in this function. Therefore we have to register a new //free buffer for receiving packets. We can reuse the odl buffer's index //and the corresponding data structures (i.e. array entries) - uint64_t ts = rdtsc(); + //uint64_t ts = rdtsc(); errval_t err = mem_barrelfish_replace_pbuf(replaced_pbuf); if (err != SYS_ERR_OK) { printf("Can't replace received pbuf in RX ring\n"); @@ -276,7 +276,7 @@ bfeth_input(struct netif *netif, uint64_t pbuf_id, uint64_t paddr, uint64_t len, USER_PANIC("Can't replace received pbuf in RX ring\n"); } - netbench_record_event_simple(nb, RE_PBUF_REPLACE, ts); + //netbench_record_event_simple(nb, RE_PBUF_REPLACE, ts); } static void bfeth_input_handler(void *data, uint64_t pbuf_id, uint64_t paddr,