From 5e0a6d54d0f1341eddc26a6fa6d349e22966c255 Mon Sep 17 00:00:00 2001 From: Andrea Shepard Date: Mon, 4 Nov 2013 19:17:05 -0800 Subject: Add global cell/byte counters and per channel byte counters to channel.c --- src/or/channel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/or/channel.h') diff --git a/src/or/channel.h b/src/or/channel.h index 28b5ab0ccf..f35cb27aa6 100644 --- a/src/or/channel.h +++ b/src/or/channel.h @@ -200,8 +200,8 @@ struct channel_s { uint64_t dirreq_id; /** Channel counters for cell channels */ - uint64_t n_cells_recved; - uint64_t n_cells_xmitted; + uint64_t n_cells_recved, n_bytes_recved; + uint64_t n_cells_xmitted, n_bytes_xmitted; }; struct channel_listener_s { -- cgit v1.2.3-54-g00ecf