ofproto: Batch statistics updates.
authorEthan Jackson <ethan@nicira.com>
Wed, 9 Feb 2011 21:18:51 +0000 (13:18 -0800)
committerEthan Jackson <ethan@nicira.com>
Fri, 18 Feb 2011 19:24:22 +0000 (11:24 -0800)
commit3394b5b69070b0aef4fc3231ca28bdf09bc0a0d2
treed151962644f9b7f3c9a1e7498540a9d6e5fbb8dd
parent3693a563767a166b17053b7d908f4705c5b80be2
ofproto: Batch statistics updates.

Facet statistics are updated once per second during
ofproto_expire() instead of upon request.  This will greatly
simplify implementation of future patches. This commit also changes
each facet's packet and byte counters to include the statistics
stored in the datapath.
ofproto/ofproto.c