summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@covalent.net>2001-06-12 16:05:44 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-13 12:53:18 +0000
commit2c4f7f0e97d22d4d7509fee1fc57509fac9291b6 (patch)
tree6869bb67ae679e36d06fe0fd9b3510f5777c4ae5 /perl.h
parent9f2ea79885dcd731e16cfe839c551021222566a9 (diff)
downloadperl-2c4f7f0e97d22d4d7509fee1fc57509fac9291b6.tar.gz
[patch] perl.gprof control
Message-ID: <Pine.LNX.4.21.0106122247380.24181-100000@mako.covalent.net> p4raw-id: //depot/perl@10559
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 1673da9f71..fd22a063c9 100644
--- a/perl.h
+++ b/perl.h
@@ -3745,6 +3745,14 @@ int flock(int fd, int op);
#define GROK_NUMERIC_RADIX(sp, send) grok_numeric_radix(sp, send)
+/* to let user control profiling */
+#ifdef PERL_GPROF_CONTROL
+extern void moncontrol(int);
+#define PERL_GPROF_MONCONTROL(x) moncontrol(x)
+#else
+#define PERL_GPROF_MONCONTROL(x)
+#endif
+
/* and finally... */
#define PERL_PATCHLEVEL_H_IMPLICIT
#include "patchlevel.h"