On Fri, Jan 08, 2016 at 11:30:10AM +0000, Frediano Ziglio wrote: > Avoid to call red_worker_get_clockid. This function returns uninitialized > value at the timer DisplayChannel is build resulting in setting > statistics to CLOCK_REALTIME (which is 0) instead to cpu time as expected. Imo, we should either get rid of worker->clockid altogether and always use CLOCK_THREAD_CPUTIME_ID, or initialize it to CLOCK_THREAD_CPUTIME_ID and warn if the pthread_getcpuclockid() call in red_worker_main() sets it to something different. Christophe
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel