Linux Test Project
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Li Wang <liwang@redhat.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>,
	Eirik Fuller <efuller@redhat.com>, Waiman Long <llong@redhat.com>,
	LTP List <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH] clock_gettime04: set threshold based on the clock tick rate
Date: Mon, 28 Mar 2022 14:41:17 +0200	[thread overview]
Message-ID: <YkGs7Zf0dfCPkGwg@yuki> (raw)
In-Reply-To: <CAEemH2e4d1RicxROvxgY79GYnL9kAx88oyBZ03N7s6GuyGFX-A@mail.gmail.com>

Hi!
Thinking of it again I think that:

- the COARSE clocks runs on jiffies, the rest of the clocks may use high
  resolution if available

- we need two deltas, one for the coarse clocks and one for the rest

- the delta should generally be clock resolution + epsion (5ms)

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2022-03-28 12:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-25  4:00 [LTP] [PATCH] clock_gettime04: set threshold based on the clock tick rate Li Wang
2022-03-25 10:13 ` Cyril Hrubis
2022-03-26 13:17   ` Li Wang
2022-03-28  8:58     ` Cyril Hrubis
2022-03-28  9:54       ` Li Wang
2022-03-28 10:13         ` Li Wang
2022-03-28 10:24           ` Li Wang
2022-03-28 12:41             ` Cyril Hrubis [this message]
2022-03-25 14:26 ` Waiman Long
2022-03-26 13:28   ` Li Wang

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=YkGs7Zf0dfCPkGwg@yuki \
    --to=chrubis@suse.cz \
    --cc=efuller@redhat.com \
    --cc=liwang@redhat.com \
    --cc=llong@redhat.com \
    --cc=ltp@lists.linux.it \
    --cc=viresh.kumar@linaro.org \
    /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