aboutsummaryrefslogtreecommitdiff
path: root/lib/coverage.h
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2009-07-10 15:09:41 -0700
committerJustin Pettit <jpettit@nicira.com>2009-07-10 15:09:41 -0700
commitf5c6854a73cb6242297e3aac02ccf2d6a22876b0 (patch)
treea559a6884d57b88d32d2fa3bb04d08db12668a25 /lib/coverage.h
parent10bf9f637b0c98438772ae01366a8da8e91d8c1c (diff)
Provide ability to retrieve coverage information
Previously, there was no way to induce coverage information to be displayed; it would only print when the system noticed unusual delays between polling intervals. Now, production of coverage logs can be forced with "coverage/log" command in ovs-appctl. Coverage counters may be reset with "coverage/clear".
Diffstat (limited to 'lib/coverage.h')
-rw-r--r--lib/coverage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/coverage.h b/lib/coverage.h
index f5ae9903..aa93630b 100644
--- a/lib/coverage.h
+++ b/lib/coverage.h
@@ -52,7 +52,8 @@ struct coverage_counter {
NAME##_count.count += AMOUNT; \
} while (0)
-void coverage_log(enum vlog_level);
+void coverage_init(void);
+void coverage_log(enum vlog_level, bool suppress_dups);
void coverage_clear(void);
#endif /* coverage.h */