pastebin - collaborative debugging tool
rovema.kpaste.net RSS

Difference between
modified post d96f7 by Anonymous on Sat 17th Sep 2022 15:54
original post 0a278 by Anonymous on Sat 17th Sep 2022 15:26
Download diff
Show old version | new version | both versions

    
1-
rmainz@DERFWNB4966:~/work/count_timer_syscalls$ time ksh count_timer_syscalls.ksh
1+
rmainz@DERFWNB4966:~/work/count_timer_syscalls$ ksh count_timer_syscalls.ksh
22
## Generating test code...
33
## Compiling test code...
44
## Running tests...
55
Probing CLOCK_BOOTTIME...
66
Probing CLOCK_BOOTTIME_ALARM...
77
Probing CLOCK_MONOTONIC...
88
Probing CLOCK_MONOTONIC_COARSE...
99
Probing CLOCK_MONOTONIC_RAW...
1010
Probing CLOCK_PROCESS_CPUTIME_ID...
1111
Probing CLOCK_REALTIME...
1212
Probing CLOCK_REALTIME_ALARM...
1313
Probing CLOCK_REALTIME_COARSE...
1414
Probing CLOCK_TAI...
1515
Probing CLOCK_THREAD_CPUTIME_ID...
1616
## Raw test results:
1717
(
1818
        typeset -C -A clock_names=(
1919
                [CLOCK_BOOTTIME]=(
2020
                        typeset -l -i exit_code=0
2121
                        name=CLOCK_BOOTTIME
2222
                        typeset -l -i num_syscalls_clock_gettime=0
2323
                        typeset -l -i num_syscalls_total=34
2424
                        typeset -l -i value=7
2525
                )
2626
                [CLOCK_BOOTTIME_ALARM]=(
2727
                        typeset -l -i exit_code=0
2828
                        name=CLOCK_BOOTTIME_ALARM
29-
                        typeset -l -i num_syscalls_clock_gettime=32000
29+
                        typeset -l -i num_syscalls_clock_gettime=32100
30-
                        typeset -l -i num_syscalls_total=32034
30+
                        typeset -l -i num_syscalls_total=32134
3131
                        typeset -l -i value=9
3232
                )
3333
                [CLOCK_MONOTONIC]=(
3434
                        typeset -l -i exit_code=0
3535
                        name=CLOCK_MONOTONIC
3636
                        typeset -l -i num_syscalls_clock_gettime=0
3737
                        typeset -l -i num_syscalls_total=34
3838
                        typeset -l -i value=1
3939
                )
4040
                [CLOCK_MONOTONIC_COARSE]=(
4141
                        typeset -l -i exit_code=0
4242
                        name=CLOCK_MONOTONIC_COARSE
4343
                        typeset -l -i num_syscalls_clock_gettime=0
4444
                        typeset -l -i num_syscalls_total=34
4545
                        typeset -l -i value=6
4646
                )
4747
                [CLOCK_MONOTONIC_RAW]=(
4848
                        typeset -l -i exit_code=0
4949
                        name=CLOCK_MONOTONIC_RAW
5050
                        typeset -l -i num_syscalls_clock_gettime=0
5151
                        typeset -l -i num_syscalls_total=34
5252
                        typeset -l -i value=4
5353
                )
5454
                [CLOCK_PROCESS_CPUTIME_ID]=(
5555
                        typeset -l -i exit_code=0
5656
                        name=CLOCK_PROCESS_CPUTIME_ID
57-
                        typeset -l -i num_syscalls_clock_gettime=32000
57+
                        typeset -l -i num_syscalls_clock_gettime=32100
58-
                        typeset -l -i num_syscalls_total=32034
58+
                        typeset -l -i num_syscalls_total=32134
5959
                        typeset -l -i value=2
6060
                )
6161
                [CLOCK_REALTIME]=(
6262
                        typeset -l -i exit_code=0
6363
                        name=CLOCK_REALTIME
6464
                        typeset -l -i num_syscalls_clock_gettime=0
6565
                        typeset -l -i num_syscalls_total=34
6666
                        typeset -l -i value=0
6767
                )
6868
                [CLOCK_REALTIME_ALARM]=(
6969
                        typeset -l -i exit_code=0
7070
                        name=CLOCK_REALTIME_ALARM
71-
                        typeset -l -i num_syscalls_clock_gettime=32000
71+
                        typeset -l -i num_syscalls_clock_gettime=32100
72-
                        typeset -l -i num_syscalls_total=32034
72+
                        typeset -l -i num_syscalls_total=32134
7373
                        typeset -l -i value=8
7474
                )
7575
                [CLOCK_REALTIME_COARSE]=(
7676
                        typeset -l -i exit_code=0
7777
                        name=CLOCK_REALTIME_COARSE
7878
                        typeset -l -i num_syscalls_clock_gettime=0
7979
                        typeset -l -i num_syscalls_total=34
8080
                        typeset -l -i value=5
8181
                )
8282
                [CLOCK_TAI]=(
8383
                        typeset -l -i exit_code=0
8484
                        name=CLOCK_TAI
8585
                        typeset -l -i num_syscalls_clock_gettime=0
8686
                        typeset -l -i num_syscalls_total=34
8787
                        typeset -l -i value=11
8888
                )
8989
                [CLOCK_THREAD_CPUTIME_ID]=(
9090
                        typeset -l -i exit_code=0
9191
                        name=CLOCK_THREAD_CPUTIME_ID
92-
                        typeset -l -i num_syscalls_clock_gettime=32000
92+
                        typeset -l -i num_syscalls_clock_gettime=32100
93-
                        typeset -l -i num_syscalls_total=32034
93+
                        typeset -l -i num_syscalls_total=32134
9494
                        typeset -l -i value=3
9595
                )
9696
        )
9797
        hostname=DERFWNB4966
98+
        typeset -l -i num_testruns=32100
9899
        uname='Linux DERFWNB4966 5.10.0-13-rt-686-pae #1 SMP PREEMPT_RT Debian 5.10.106-1 (2022-03-17) i686 GNU/Linux'
99100
)
100101
## Summary of test results for 'Linux DERFWNB4966 5.10.0-13-rt-686-pae #1 SMP PREEMPT_RT Debian 5.10.106-1 (2022-03-17) i686 GNU/Linux':
101102
Clock name CLOCK_BOOTTIME               uses shortcut
102103
Clock name CLOCK_BOOTTIME_ALARM         uses traditional syscalls
103104
Clock name CLOCK_MONOTONIC              uses shortcut
104105
Clock name CLOCK_MONOTONIC_COARSE       uses shortcut
105106
Clock name CLOCK_MONOTONIC_RAW          uses shortcut
106107
Clock name CLOCK_PROCESS_CPUTIME_ID     uses traditional syscalls
107108
Clock name CLOCK_REALTIME               uses shortcut
108109
Clock name CLOCK_REALTIME_ALARM         uses traditional syscalls
109110
Clock name CLOCK_REALTIME_COARSE        uses shortcut
110111
Clock name CLOCK_TAI                    uses shortcut
111112
Clock name CLOCK_THREAD_CPUTIME_ID      uses traditional syscalls
112113
## Done.
113114

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at