Forgot to mention: you can find some documentation about the classes used in the example in interfaces/cs_glue.hpp and interfaces/csPerfThread.hpp.