According to demand of high real-time for data acquisition system, the advantages of multi-core are fully taken by using processor affinity technology and binding the thread, which has demand of high real-time with a processor. Testing proves that performance is improved and don't get influence from processor operating conditions. Finally, this method is applied in a data acquisition system and get a very good effect.%针对数据采集系统对实时性要求高的特点,充分发挥多核处理器的优点,利用处理器关联操作修改计算机中所有进程的处理器关联,让实时性要求高的线程独占一个处理器做到“专核专用”.测试证明运用该方法后性能得到了提升,并且不受其他进程和处理器运行状况的影响,最终将该方法运用到一个数据采集系统中,取得了良好的效果.
展开▼