From 68642a15584f9e4fbf8cfc5765a3cfaeac0a5bbb Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 9 Mar 2006 08:48:06 +0000 Subject: 2006-03-09 Martin Hunt * bench2: New directory containing a benchmark framework. --- runtime/bench2/a.st | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 runtime/bench2/a.st (limited to 'runtime/bench2/a.st') diff --git a/runtime/bench2/a.st b/runtime/bench2/a.st new file mode 100644 index 00000000..2efc771f --- /dev/null +++ b/runtime/bench2/a.st @@ -0,0 +1,13 @@ +# printf probefunc + +# You can put initialization in here +probe begin { + printf("BEGIN\n") +} + +# This gets probed millions of times. TEST gets replaces +# by the real probe point. +probe TEST { + printf("%s\n",probefunc()) +} + -- cgit