the following code is retrieved from source code of Sipp ,which can be found in sourceforge http://sourceforge.net/projects/sipp/files/sipp/3.2/ The illustration of time wheel algorithm can be found in http://ishare.iask.sina.com.cn/f/13604505.html http://ishare.iask.sina.com.cn/f/13604504.html g++ main.cpp mydog.cpp task.cpp time.cpp