Skip to content

Instantly share code, notes, and snippets.

@hbradio
Created March 31, 2016 19:59
Show Gist options
  • Save hbradio/eaacc239f7bd8c0e5e06e8a69d119b5b to your computer and use it in GitHub Desktop.
Save hbradio/eaacc239f7bd8c0e5e06e8a69d119b5b to your computer and use it in GitHub Desktop.
chip@chip:/dev$ cd /proc/timer_list
-bash: cd: /proc/timer_list: Not a directory
chip@chip:/dev$ cat proc/timer_list
cat: proc/timer_list: No such file or directory
chip@chip:/dev$ cat /proc/timer_list
Timer List Version: v0.8
HRTIMER_MAX_CLOCK_BASES: 4
now at 3304971823597 nsecs
cpu: 0
clock 0:
.base: dfe85c00
.index: 0
.resolution: 1 nsecs
.get_time: ktime_get
.offset: 0 nsecs
active timers:
#0: <dec3d9b8>, ehci_hrtimer_func, S:01
# expires at 3304976674039-3304977674039 nsecs [in 4850442 to 5850442 nsecs]
#1: <dfe85e00>, tick_sched_timer, S:01
# expires at 3304980000000-3304980000000 nsecs [in 8176403 to 8176403 nsecs]
#2: def_rt_bandwidth, sched_rt_period_timer, S:01
# expires at 3305000000000-3305000000000 nsecs [in 28176403 to 28176403 nsecs]
#3: <dc7d7a88>, hrtimer_wakeup, S:01
# expires at 3305295109812-3305296109803 nsecs [in 323286215 to 324286206 nsecs]
#4: <dc425eb8>, hrtimer_wakeup, S:01
# expires at 3305536220602-3305537220599 nsecs [in 564397005 to 565397002 nsecs]
#5: <dc4dbbd8>, it_real_fn, S:01
# expires at 3305630814207-3305630814207 nsecs [in 658990610 to 658990610 nsecs]
#6: <dc791a88>, hrtimer_wakeup, S:01
# expires at 3305869707132-3305871707124 nsecs [in 897883535 to 899883527 nsecs]
#7: <dddf4f00>, timerfd_tmrproc, S:01
# expires at 3307179743000-3307179743000 nsecs [in 2207919403 to 2207919403 nsecs]
#8: <dde5ff28>, hrtimer_wakeup, S:01
# expires at 3307506910021-3307506960021 nsecs [in 2535086424 to 2535136424 nsecs]
#9: <dfe85ee8>, watchdog_timer_fn, S:01
# expires at 3308130000000-3308130000000 nsecs [in 3158176403 to 3158176403 nsecs]
#10: <ddd9da88>, hrtimer_wakeup, S:01
# expires at 3311250596454-3311260596447 nsecs [in 6278772857 to 6288772850 nsecs]
#11: <dd04fb30>, hrtimer_wakeup, S:01
# expires at 3325000273192-3325050268187 nsecs [in 20028449595 to 20078444590 nsecs]
#12: <dde20c00>, timerfd_tmrproc, S:01
# expires at 3327179743000-3327179743000 nsecs [in 22207919403 to 22207919403 nsecs]
#13: <ddcfb600>, timerfd_tmrproc, S:01
# expires at 3327429743000-3327429743000 nsecs [in 22457919403 to 22457919403 nsecs]
#14: <dc413f28>, hrtimer_wakeup, S:01
# expires at 3331700347781-3331700397781 nsecs [in 26728524184 to 26728574184 nsecs]
#15: <dc49fa88>, hrtimer_wakeup, S:01
# expires at 3621236201920-3621336201920 nsecs [in 316264378323 to 316364378323 nsecs]
#16: <dde8ba88>, hrtimer_wakeup, S:01
# expires at 41695583178446-41695683178446 nsecs [in 38390611354849 to 38390711354849 nsecs]
#17: sched_clock_timer, sched_clock_poll, S:01
# expires at 21474836475000000-21474836475000000 nsecs [in 21471531503176403 to 21471531503176403 nsecs]
clock 1:
.base: dfe85c20
.index: 1
.resolution: 1 nsecs
.get_time: ktime_get_real
.offset: 1459451009673244591 nsecs
active timers:
#0: <dde39f00>, timerfd_tmrproc, S:01
# expires at 2147483647000000000-2147483647000000000 nsecs [in 688029332354931812 to 688029332354931812 nsecs]
#1: <dddaa9c0>, timerfd_tmrproc, S:01
# expires at 2147483647000000000-2147483647000000000 nsecs [in 688029332354931812 to 688029332354931812 nsecs]
clock 2:
.base: dfe85c40
.index: 2
.resolution: 1 nsecs
.get_time: ktime_get_boottime
.offset: 0 nsecs
active timers:
clock 3:
.base: dfe85c60
.index: 3
.resolution: 1 nsecs
.get_time: ktime_get_clocktai
.offset: 1459451009673244591 nsecs
active timers:
.expires_next : 3304977674039 nsecs
.hres_active : 1
.nr_events : 1129503
.nr_retries : 433
.nr_hangs : 0
.max_hang_time : 0
.nohz_mode : 2
.last_tick : 3304640000000 nsecs
.tick_stopped : 0
.idle_jiffies : 300464
.idle_calls : 226910
.idle_sleeps : 177897
.idle_entrytime : 3304964525843 nsecs
.idle_waketime : 3304964525843 nsecs
.idle_exittime : 3304964605758 nsecs
.idle_sleeptime : 3213688121030 nsecs
.iowait_sleeptime: 0 nsecs
.last_jiffies : 300492
.next_timer : 3305000000000
.idle_expires : 3305000000000 nsecs
jiffies: 300497
Tick Device: mode: 1
Broadcast device
Clock Event Device: timer
max_delta_ns: 14316557659
min_delta_ns: 1000
mult: 644245094
shift: 31
mode: 1
next_event: 9223372036854775807 nsecs
set_next_event: sun5i_clkevt_next_event
shutdown: sun5i_clkevt_shutdown
periodic: sun5i_clkevt_set_periodic
oneshot: sun5i_clkevt_set_oneshot
resume: sun5i_clkevt_shutdown
event_handler: tick_handle_oneshot_broadcast
retries: 0
tick_broadcast_mask: 0
tick_broadcast_oneshot_mask: 0
Tick Device: mode: 1
Per CPU device: 0
Clock Event Device: sun4i_tick
max_delta_ns: 178956969070
min_delta_ns: 1000
mult: 51539608
shift: 31
mode: 3
next_event: 3304977674039 nsecs
set_next_event: sun4i_clkevt_next_event
shutdown: sun4i_clkevt_shutdown
periodic: sun4i_clkevt_set_periodic
oneshot: sun4i_clkevt_set_oneshot
resume: sun4i_clkevt_shutdown
event_handler: hrtimer_interrupt
retries: 22561
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment