diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/ChangeLog | 4 | ||||
-rwxr-xr-x | testsuite/buildok/fourteen.stp | 15 |
2 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index 203c85dd..d77fee48 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2006-09-27 Josh Stone <joshua.i.stone@intel.com> + + * buildok/fourteen.stp: Test new timer functionality. + 2006-09-26 David Smith <dsmith@redhat.com> * systemtap.samples/args.exp: Looks for 'staprun' instead of diff --git a/testsuite/buildok/fourteen.stp b/testsuite/buildok/fourteen.stp index 8eab2480..86b3dad2 100755 --- a/testsuite/buildok/fourteen.stp +++ b/testsuite/buildok/fourteen.stp @@ -3,7 +3,22 @@ global i, j probe timer.jiffies(100) { i++ } probe timer.jiffies(100).randomize(100) { j++ } +probe timer.s(100) { i++ } +probe timer.s(100).randomize(100) { j++ } +probe timer.sec(100) { i++ } +probe timer.sec(100).randomize(100) { j++ } probe timer.ms(100) { i++ } probe timer.ms(100).randomize(100) { j++ } +probe timer.msec(100) { i++ } +probe timer.msec(100).randomize(100) { j++ } +probe timer.us(100) { i++ } +probe timer.us(100).randomize(100) { j++ } +probe timer.usec(100) { i++ } +probe timer.usec(100).randomize(100) { j++ } +probe timer.ns(100000) { i++ } +probe timer.ns(100000).randomize(100) { j++ } +probe timer.nsec(100000) { i++ } +probe timer.nsec(100000).randomize(100) { j++ } +probe timer.hz(100) { i++ } probe timer.profile { i++ } probe end { printf("i=%d j=%d\n", i, j) } |