Make atomic_test and spinlock_test run for many more iterations, and time their 
results.

This allows us to rigorously compare the speed of our atomics and spin locks.
Also make their output a little neater by locking around the status printouts, 
and
eliminate the #if's that provide safety for Boost < 1.35, which is no longer 
supported.

You can merge this Pull Request by running:

  git pull https://github.com/lgritz/oiio lg-atomic

Or you can view, comment on it, or merge it online at:

  https://github.com/OpenImageIO/oiio/pull/273

-- Commit Summary --

* Make atomic_test and spinlock_test run for many more iterations, and time 
their results.

-- File Changes --

M src/libOpenImageIO/atomic_test.cpp (38)
M src/libOpenImageIO/spinlock_test.cpp (29)

-- Patch Links --

  https://github.com/OpenImageIO/oiio/pull/273.patch
  https://github.com/OpenImageIO/oiio/pull/273.diff

--- 
Reply to this email directly or view it on GitHub:
https://github.com/OpenImageIO/oiio/pull/273
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to