Re: log_checkpoints, microseconds

From: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>
To: Peter Geoghegan <pg(at)heroku(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Stark <stark(at)mit(dot)edu>, John R Pierce <pierce(at)hogranch(dot)com>, PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: log_checkpoints, microseconds
Date: 2014-04-10 19:56:35
Message-ID: 5346F773.4080101@archidevsys.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 11/04/14 07:43, Peter Geoghegan wrote:
> On Thu, Apr 10, 2014 at 12:20 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> I think you're both wrong. 1000 usec = 1 msec, not the other way round.
> Yes, but why would you ever want to divide any number of microseconds
> by 1000 like this, unless you were actually interested in nanoseconds?
> The point is that we start out with microseconds "elapsed" here, not
> milliseconds or seconds.
>
>
123456 microseconds = 123.456 milliseconds

So to get milliseconds you divide the number of microseconds by 1000.

Cheers,
Gavin

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Greg Stark 2014-04-10 19:59:45 Re: log_checkpoints, microseconds
Previous Message Peter Geoghegan 2014-04-10 19:43:54 Re: log_checkpoints, microseconds