pastebin - collaborative debugging tool
rovema.kpaste.net RSS

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

    
1-
ksh count_timer_syscalls.ksh
1+
rmainz@DERFWNB4966:~/work/count_timer_syscalls$ time 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
2929
                        typeset -l -i num_syscalls_clock_gettime=32000
3030
                        typeset -l -i num_syscalls_total=32034
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
5757
                        typeset -l -i num_syscalls_clock_gettime=32000
5858
                        typeset -l -i num_syscalls_total=32034
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
7171
                        typeset -l -i num_syscalls_clock_gettime=32000
7272
                        typeset -l -i num_syscalls_total=32034
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
9292
                        typeset -l -i num_syscalls_clock_gettime=32000
9393
                        typeset -l -i num_syscalls_total=32034
9494
                        typeset -l -i value=3
9595
                )
9696
        )
97+
        hostname=DERFWNB4966
9799
)
98-
## Summary of test results
100+
## 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':
99101
Clock name CLOCK_BOOTTIME               uses shortcut
100102
Clock name CLOCK_BOOTTIME_ALARM         uses traditional syscalls
101103
Clock name CLOCK_MONOTONIC              uses shortcut
102104
Clock name CLOCK_MONOTONIC_COARSE       uses shortcut
103105
Clock name CLOCK_MONOTONIC_RAW          uses shortcut
104106
Clock name CLOCK_PROCESS_CPUTIME_ID     uses traditional syscalls
105107
Clock name CLOCK_REALTIME               uses shortcut
106108
Clock name CLOCK_REALTIME_ALARM         uses traditional syscalls
107109
Clock name CLOCK_REALTIME_COARSE        uses shortcut
108110
Clock name CLOCK_TAI                    uses shortcut
109111
Clock name CLOCK_THREAD_CPUTIME_ID      uses traditional syscalls
110112
## Done.
111113

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