样本的下载版本包括一个测试驱动程序,还有一些添加的代码用于通过计算元素、删除和添加的个数来检查不同模型的操作。
The download versions of the samples include a test driver and also have some added code for checking the operation of the different models by counting elements, deletes, and adds.
驱动程序生成了大量线程,每个线程都疯狂地争夺时间片,然后计算不同版本每秒能执行多少轮。
The driver program spawns a number of threads, each of which madly rolls the dice, then calculates how many rolls per second the different versions were able to execute.
在同一台计算机上可以安装多个这样的驱动程序。
You can have multiple installations of this driver on a single machine.
应用推荐