LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: "Jeff Chua" <jeff.chua.linux@gmail.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [QUESTION] file access time in millisecond?
Date: 12 Feb 2007 10:02:28 +0100	[thread overview]
Message-ID: <p73bqjzhhp7.fsf@bingen.suse.de> (raw)
In-Reply-To: <b6a2187b0702112327t7294c221w460b3bd0f77d0e@mail.gmail.com>

"Jeff Chua" <jeff.chua.linux@gmail.com> writes:

> Is it possible to get file access time in millisecond resolution?
> 
> stat() returns time in seconds,

Not correct (at least for glibc stat). It supports nanoseconds these days,
although not all file systems (including ext3) do yet.

Some of the old stat compat emulations do not.

-Andi

  parent reply	other threads:[~2007-02-12  8:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-12  7:27 Jeff Chua
2007-02-12  8:01 ` Arjan van de Ven
2007-02-12  9:24   ` Jeff Chua
2007-02-12  9:02 ` Andi Kleen [this message]
2007-02-12  9:52   ` Jeff Chua
2007-02-12  9:56     ` Andi Kleen
2007-02-12 18:55       ` Jeff Chua
2007-02-12 10:01     ` Miquel van Smoorenburg
2007-02-12 18:58       ` Jeff Chua

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=p73bqjzhhp7.fsf@bingen.suse.de \
    --to=ak@suse.de \
    --cc=jeff.chua.linux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [QUESTION] file access time in millisecond?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).