From: Marek Vasut Date: Wed, 16 Oct 2019 10:55:55 +0200 Subject: [U-Boot] [PATCH] lib: time: Add microsecond timer In-Reply-To: References: <20191015204341.23613-1-marek.vasut+renesas@gmail.com> Message-ID: <95720451-7b2e-5925-7e9b-78c7eaa515dd@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/16/19 3:30 AM, Simon Glass wrote: > Hi Marek, Hi, > On Tue, 15 Oct 2019 at 14:43, Marek Vasut wrote: >> >> Add get_timer_us(), which is useful e.g. when we need higher >> precision timestamps. > > Can we use timer_get_us()? It seems confusing to have two. Nope, that one doesn't have the range (unsigned long vs. u64) and also doesn't behave the same way as old get_timer(). I wanted something which is similar, just for uS instead of mS. -- Best regards, Marek Vasut