aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/pcre2-10.32/pcre2test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/pcre2-10.32/pcre2test.c')
-rw-r--r--test/monniaux/pcre2-10.32/pcre2test.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/monniaux/pcre2-10.32/pcre2test.c b/test/monniaux/pcre2-10.32/pcre2test.c
index 10d47469..25a7c4a1 100644
--- a/test/monniaux/pcre2-10.32/pcre2test.c
+++ b/test/monniaux/pcre2-10.32/pcre2test.c
@@ -66,6 +66,8 @@ it references only the enabled library functions. */
#include <locale.h>
#include <errno.h>
+/* DM */
+#include "../clock.h"
int fileno(FILE *stream);
#if defined NATIVE_ZOS
@@ -8109,6 +8111,10 @@ char *arg_subject = NULL;
char *arg_pattern = NULL;
char *arg_error = NULL;
+/* DM */
+ clock_prepare();
+ clock_start();
+
/* The offsets to the options and control bits fields of the pattern and data
control blocks must be the same so that common options and controls such as
"anchored" or "memory" can work for either of them from a single table entry.
@@ -8785,6 +8791,9 @@ FREECONTEXTS;
yield = SS$_NORMAL; /* Return values via DCL symbols */
#endif
+ clock_stop();
+ print_total_clock();
+
return yield;
}