This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Test time/tst-cpuclock1.c intermitent failures


* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]