9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: tlaronde@polynum.com
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Linking against Plan9 own routines with APE
Date: Thu, 14 Oct 2021 19:13:07 +0200	[thread overview]
Message-ID: <YWhlI7Gru+MPhaa0@polynum.com> (raw)
In-Reply-To: <E4E88826875D57C74B0150B89E012AA9@eigenstate.org>

Le Thu, Oct 14, 2021 at 12:49:47PM -0400, ori@eigenstate.org a écrit :
> Quoth tlaronde@polynum.com:
> > For kerTeX, I need to access a time reference with better than the
> > second.
> > 
> > The answer is nsec(2).
> > 
> 
> For posix: we already have gettimeofday(),
> which has microsecond resolution.

Oh! I was using up-to-date POSIX reference and it was marked as
obsolete, so I skipped this one but it is indeed better than the
second for now.

> 
> But also, I'd commit a patch that adds
> clock_gettime: it's standardized, widely
> used, relatively simple to implement, and
> makes porting other code easier.
> 
> (monotonicity aside -- that's separate.)

Thanks!

Best,
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
                       http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Teb3e52c23bb1bca4-Md5873cec834556f6fda9633d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

      reply	other threads:[~2021-10-14 17:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-14 16:35 tlaronde
2021-10-14 16:42 ` Sigrid Solveig Haflínudóttir
2021-10-14 16:46   ` Conor Williams
2021-10-14 16:49   ` tlaronde
2021-10-14 16:49 ` ori
2021-10-14 17:13   ` tlaronde [this message]

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=YWhlI7Gru+MPhaa0@polynum.com \
    --to=tlaronde@polynum.com \
    --cc=9fans@9fans.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).