git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bridge: Only store instant_stats on device changes
[sliver-openvswitch.git]
/
vswitchd
/
system-stats.h
diff --git
a/vswitchd/system-stats.h
b/vswitchd/system-stats.h
index
9f965c6
..
83b4bcb
100644
(file)
--- a/
vswitchd/system-stats.h
+++ b/
vswitchd/system-stats.h
@@
-16,8
+16,10
@@
#ifndef VSWITCHD_SYSTEM_STATS
#define VSWITCHD_SYSTEM_STATS 1
#ifndef VSWITCHD_SYSTEM_STATS
#define VSWITCHD_SYSTEM_STATS 1
-struct smap;
+#include <stdbool.h>
-void get_system_stats(struct smap *);
+void system_stats_enable(bool enable);
+struct smap *system_stats_run(void);
+void system_stats_wait(void);
#endif /* vswitchd/system-stats.h */
#endif /* vswitchd/system-stats.h */