public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Jan Stancek <jstancek@redhat.com>
To: 曾令钢 <zenglg.jy@cn.fujitsu.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] getrusage/getrusage04.c: Fix factor_nr = 1 ->	factor_nr = 5
Date: Thu, 10 Oct 2013 03:17:18 -0400 (EDT)	[thread overview]
Message-ID: <552630664.4346396.1381389438416.JavaMail.root@redhat.com> (raw)
In-Reply-To: <00ae01cec57d$6b50bbc0$41f23340$@cn.fujitsu.com>


----- Original Message -----
> From: "曾令钢" <zenglg.jy@cn.fujitsu.com>
> To: ltp-list@lists.sourceforge.net
> Sent: Thursday, 10 October, 2013 7:56:05 AM
> Subject: [LTP] [PATCH] getrusage/getrusage04.c: Fix factor_nr = 1 ->	factor_nr = 5
> 
> To make udelta or sdelta's values isnot great than expected,
> we change the factor_nr to 5.

Note, that there is already a parameter -m to set factor_nr.

Can you share more details why this should be the default?
On which system/architecture do you see it failing?

Regards,
Jan

> 
> Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
> ---
>  testcases/kernel/syscalls/getrusage/getrusage04.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/testcases/kernel/syscalls/getrusage/getrusage04.c
> b/testcases/kernel/syscalls/getrusage/getrusage04.c
> index 96e24a4..41d0052 100644
> --- a/testcases/kernel/syscalls/getrusage/getrusage04.c
> +++ b/testcases/kernel/syscalls/getrusage/getrusage04.c
> @@ -67,7 +67,7 @@ static long BIAS_MAX;
>  
>  static int opt_factor;
>  static char *factor_str;
> -static long factor_nr = 1;
> +static long factor_nr = 5;
>  
>  option_t child_options[] = {
>  	{"m:", &opt_factor, &factor_str},
> --
> 1.7.1
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
> 

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2013-10-10  7:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-10  5:56 [LTP] [PATCH] getrusage/getrusage04.c: Fix factor_nr = 1 -> factor_nr = 5 曾令钢
2013-10-10  7:17 ` Jan Stancek [this message]
2013-10-10  8:16   ` [LTP] 答复: " 曾令钢
2013-10-11 10:19   ` [LTP] " Zeng Linggang
2013-10-11 10:35     ` Jan Stancek
2013-10-14  3:37       ` Zeng Linggang
2013-10-15 11:50     ` Jan Stancek
2013-10-15 13:55       ` chrubis
     [not found]         ` <2139370019.7163656.1381846796437.JavaMail.root@redhat.com>
2013-10-15 14:39           ` chrubis

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=552630664.4346396.1381389438416.JavaMail.root@redhat.com \
    --to=jstancek@redhat.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=zenglg.jy@cn.fujitsu.com \
    /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