For a detailed description of the tests and the full discussion about yield
between kernel hackers (mostly Ingo Molnar but also Linus Torvalds),
see the thread attached to this Linux Kernel post.
As with any other test/benchmark we publish, all the source code is available here under the GPL.