mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
a75244c3d5
Mapping from a struct timecounter to a time returned by functions like ktime_get_real() is implemented. This is sufficient to use this code in a network device driver which wants to support hardware time stamping and transformation of hardware time stamps to system time. The interface could have been made more versatile by not depending on a time counter, but this wasn't done to avoid writing glue code elsewhere. The method implemented here is the one used and analyzed under the name "assisted PTP" in the LCI PTP paper: http://www.linuxclustersinstitute.org/conferences/archive/2008/PDF/Ohly_92221.pdf Acked-by: John Stultz <johnstul@us.ibm.com> Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
9 lines
392 B
Makefile
9 lines
392 B
Makefile
obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o timecompare.o
|
|
|
|
obj-$(CONFIG_GENERIC_CLOCKEVENTS_BUILD) += clockevents.o
|
|
obj-$(CONFIG_GENERIC_CLOCKEVENTS) += tick-common.o
|
|
obj-$(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) += tick-broadcast.o
|
|
obj-$(CONFIG_TICK_ONESHOT) += tick-oneshot.o
|
|
obj-$(CONFIG_TICK_ONESHOT) += tick-sched.o
|
|
obj-$(CONFIG_TIMER_STATS) += timer_stats.o
|