public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 2/2] syscalls: Add timer measurement library
Date: Wed, 21 Jun 2017 08:42:06 -0400 (EDT)	[thread overview]
Message-ID: <1505342784.40797880.1498048926551.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20170620134218.13461-2-chrubis@suse.cz>



----- Original Message -----
> From: "Cyril Hrubis" <chrubis@suse.cz>
> To: ltp@lists.linux.it
> Sent: Tuesday, 20 June, 2017 3:42:18 PM
> Subject: [LTP] [PATCH 2/2] syscalls: Add timer measurement library
> 
> This commit adds a timer measurement library, mostly based on changes
> done to the pselect01.c test and changes all tests that measure timer
> precision to use it.
> 
> The timer testcases that measure timeouts now just define sampling function
> and
> optional setup and cleanup. The rest of the functionality is implemented in
> the
> lib/tst_timer_test.c library. This change not only removes fair amount of
> duplicated code but also allows us to tune thresholds and define testcases in
> a
> single place for all testcases.
> 
> The timer measurement library also supports for passing sleep time and
> number of iterations as a command-line parameters, can print nifty
> frequency plot into the terminal, as well as save test measurements into
> a text file.
> 

Hi,

looks good to me.

It compiled fine across RHEL 5/6/7 x86_64. No failures when I run it
on my laptop. 

I plan to also run it across multiple arches/distros on randomly
picked systems from lab.

Regards,
Jan

  reply	other threads:[~2017-06-21 12:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-20 13:42 [LTP] [PATCH 1/2] lib: Fix clock_gettime linking problems Cyril Hrubis
2017-06-20 13:42 ` [LTP] [PATCH 2/2] syscalls: Add timer measurement library Cyril Hrubis
2017-06-21 12:42   ` Jan Stancek [this message]
2017-06-22 10:32     ` Jan Stancek
2017-06-22 13:45       ` Cyril Hrubis
2017-06-22 13:58         ` Jan Stancek
2017-06-22 14:25           ` Cyril Hrubis

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=1505342784.40797880.1498048926551.JavaMail.zimbra@redhat.com \
    --to=jstancek@redhat.com \
    --cc=ltp@lists.linux.it \
    /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