summaryrefslogtreecommitdiff
path: root/lib/torture/torture.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-09-22 21:03:05 -0700
committerJelmer Vernooij <jelmer@samba.org>2010-09-22 22:29:09 -0700
commit136aa0d5ac8d3105cdebb579edf4a8043b5cc83f (patch)
tree688ff8cca2fee167e87dcbb5ed730e4036c00c09 /lib/torture/torture.h
parenta15a33a9a8806426955fb3cab6b798ab4173cc67 (diff)
downloadsamba-136aa0d5ac8d3105cdebb579edf4a8043b5cc83f.tar.gz
samba-136aa0d5ac8d3105cdebb579edf4a8043b5cc83f.tar.bz2
samba-136aa0d5ac8d3105cdebb579edf4a8043b5cc83f.zip
smbtorture: Report times.
Diffstat (limited to 'lib/torture/torture.h')
-rw-r--r--lib/torture/torture.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/torture/torture.h b/lib/torture/torture.h
index 90513b723d..01947e773d 100644
--- a/lib/torture/torture.h
+++ b/lib/torture/torture.h
@@ -60,6 +60,7 @@ struct torture_ui_ops
void (*test_result) (struct torture_context *,
enum torture_result, const char *reason);
void (*progress) (struct torture_context *, int offset, enum torture_progress_whence whence);
+ void (*report_time) (struct torture_context *);
};
void torture_ui_test_start(struct torture_context *context,
@@ -70,6 +71,8 @@ void torture_ui_test_result(struct torture_context *context,
enum torture_result result,
const char *comment);
+void torture_ui_report_time(struct torture_context *context);
+
/*
* Holds information about a specific run of the testsuite.
* The data in this structure should be considered private to