aboutsummaryrefslogtreecommitdiff
path: root/ofproto/ofproto.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-05-08 15:44:21 -0700
committerBen Pfaff <blp@nicira.com>2012-05-22 10:32:05 -0700
commit0d085684619be0baef309957a3d7410a23cb5f27 (patch)
tree212ad7c9bd8e67c80065da7ed1968f6a5bd5af61 /ofproto/ofproto.h
parent44bac24ba5d22fe238bd96702707eb2029efec41 (diff)
Add support for tracking and logging daemon memory usage.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ofproto/ofproto.h')
-rw-r--r--ofproto/ofproto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h
index c8d98578..ea988e7b 100644
--- a/ofproto/ofproto.h
+++ b/ofproto/ofproto.h
@@ -39,6 +39,7 @@ struct netdev;
struct ofproto;
struct ofport;
struct shash;
+struct simap;
struct netdev_stats;
struct ofproto_controller_info {
@@ -153,6 +154,8 @@ int ofproto_run_fast(struct ofproto *);
void ofproto_wait(struct ofproto *);
bool ofproto_is_alive(const struct ofproto *);
+void ofproto_get_memory_usage(const struct ofproto *, struct simap *);
+
/* A port within an OpenFlow switch.
*
* 'name' and 'type' are suitable for passing to netdev_open(). */