This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] Test time/tst-cpuclock1.c intermitent failures
- From: Florian Weimer <fweimer at redhat dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 24 Jan 2020 16:17:30 +0100
- Subject: Re: [RFC] Test time/tst-cpuclock1.c intermitent failures
- References: <157987065952.20871.5636395108788791350@localhost.localdomain> <8ac623fe-8e73-24ce-e50b-bfd1c6368f7f@linaro.org>
* Adhemerval Zanella:
> It tests the 'clock_getcpuclockid' and the idea is to check if a CPu timer
> of a cpu bounded process is correctly obtained with clock_gettime within
> a expected bound range.
>
> However since the interface returns the CLOCK_PROCESS_CPUTIME_ID clockid
> of the target pid, its result is subject of scheduling pressure. It means
> that even with priority boosting, incorrect results might happen depending
> of the system load.
>
> It was move from rt/ to time/ because the symbol was moved from librt to
> libc.
We could move it back to rt. It might help somewhat because the rt
tests are serialized.
Thanks,
Florian