On 10/14/2013 04:37 PM, Jordan Justen wrote:
> Chad,
> 
> I wanted a similar feature, but I was also thinking of adding a
> piglit-util function (piglit_get_microseconds). I think it should be
> easy to port this function to windows.
> 
> I also had the cmake parts a little different, but I don't really have
> a preference on that.
> 
> http://cgit.freedesktop.org/~jljusten/piglit/commit/?id=d1a9c3fb

I'd rather use a POSIX function and provide an implementation of that
function on platforms that don't already support it.  We already do that
for a number of C99 functions.

See also:

http://stackoverflow.com/questions/5404277/porting-clock-gettime-to-windows

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to