Re: [PATCH] os: Actually use the computed clockid in GetTimeInMicros

2013-11-05 Thread Keith Packard
Julien Cristau writes: > -if (clock_gettime(CLOCK_MONOTONIC, &tp) == 0) > +if (clockid != ~0L && clock_gettime(clockid, &tp) == 0) > return (CARD64) tp.tv_sec * (CARD64)100 + tp.tv_nsec / 1000; Merged. aaf0e29..5f1e832 master -> master -- keith.pack...@intel.com pgp1

Re: [PATCH] os: Actually use the computed clockid in GetTimeInMicros

2013-11-05 Thread Julien Cristau
On Tue, Nov 5, 2013 at 07:10:27 -0800, Keith Packard wrote: > The selection of which clock to use for this function was not actually > getting used when fetching the final clock value. > > Reported-by: Julien Cristau > Signed-off-by: Keith Packard > --- > os/utils.c | 2 +- > 1 file changed,

[PATCH] os: Actually use the computed clockid in GetTimeInMicros

2013-11-05 Thread Keith Packard
The selection of which clock to use for this function was not actually getting used when fetching the final clock value. Reported-by: Julien Cristau Signed-off-by: Keith Packard --- os/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/utils.c b/os/utils.c index 995f