Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1341843

Re: [PATCH v8 4/8] time: Add driver cross timestamp interface for higher precision time synchronization

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH v8 4/8] time: Add driver cross timestamp interface for higher precision time synchronization
Date 2016-02-24 12:00 +0100
Message-ID <r5FkL-3hc-41@gated-at.bofh.it> (permalink)
References <r53p8-1tx-21@gated-at.bofh.it> <r53p9-1tx-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 22 Feb 2016, Christopher S. Hall wrote:
> +int get_device_system_crosststamp(int (*get_time_fn)
> +				  (ktime_t *device_time,
> +				   struct system_counterval_t *sys_counterval,
> +				   void *ctx),
> +				  void *ctx,
> +				  struct system_device_crosststamp *xtstamp)
> +{
> +	struct timekeeper *tk = &tk_core.timekeeper;
> +	unsigned long seq;
> +	struct system_counterval_t system_counterval;
> +	ktime_t base_raw;
> +	ktime_t base_real;
> +	s64 nsec_raw;
> +	s64 nsec_real;

Single lines for same and desceding length ordered, which makes it simpler to
parse, please.

Other than that: Reviewed-by: Thomas Gleixner <tglx@linutronix.de>

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v8 4/8] time: Add driver cross timestamp interface for  higher precision time synchronization Thomas Gleixner <tglx@linutronix.de> - 2016-02-24 12:00 +0100

csiph-web