From: Takashi Iwai Subject: Re: [PATCH 4/6] pcm: status dump fix timestamp formatting Date: Fri, 17 Feb 2017 18:45:59 +0100 Message-ID: References: <1487315856-9078-1-git-send-email-sutar.mounesh@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 7C1C9267275 for ; Fri, 17 Feb 2017 18:46:00 +0100 (CET) In-Reply-To: <1487315856-9078-1-git-send-email-sutar.mounesh@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: sutar.mounesh@gmail.com Cc: alsa-devel@alsa-project.org, Andreas Pape , mounesh_sutar@mentor.com List-Id: alsa-devel@alsa-project.org On Fri, 17 Feb 2017 08:17:36 +0100, sutar.mounesh@gmail.com wrote: > > From: Andreas Pape > > nanosecond part formatted with %06 will give incorrect/confusing results: > > trigger_time: 154.9748287 > trigger_time: 154.60109090 > trigger_time: 154.110425257 > > time seems to run backwards... > > This patch converts to us before printing > which gives the correct/expected result: > > trigger_time: 154.009748 > trigger_time: 154.060109 > trigger_time: 154.110425 > > Signed-off-by: Andreas Pape > Signed-off-by: Mounesh Sutar Applied, thanks. Takashi