单处理器上运行的RT代码示例
只能在单处理器上运行。
如何知道自己在运行单处理器还是多处理器内核?
How do I know if I am running a uniprocessor kernel or a multiprocessor kernel?
概述创建单处理器记录器所需的步骤。
Outlines the steps required to create a single-processor logger.
当此程序在单处理器上运行时,它将打印以下结果。
When this program is run on a uniprocessor, it prints the following.
在典型的单处理器主机上,任务实际上并不是同时执行的。
On a typical uniprocessor host, tasks don't really execute simultaneously.
清单3显示了修改后能在单处理器系统中正确运行的代码。
Listing 3 shows the code modified so that it runs correctly on a uniprocessor system.
本文给出单处理器系统的一种处理器调度策略。
This paper gives a dispatching policy for single processor systems.
轮转锁在单处理器机器上不能使用。这是为什么呢?
Spinlocks should never be used on uniprocessor machines. Why is this?
使用单条内嵌汇编操作码在单处理器系统上可能不会有什么问题。
Using a single inline assembly opcode will probably work wonderfully on a uni-processor machine.
然后,我将我的服务器规格增加到了单处理器的双处理器。
I then increased my server spec to dual processor from single processor.
在一个四处理器的机器上,构建时间比单处理器的机器快5倍。
On a four processor machine, the build time can be 5 times faster than on a single processor one.
甚至单处理器系统也必须要这样禁用抢占机制以防止竞态条件的产生。
Even uniprocessor systems must disable preemption in this way to avoid race conditions.
然而,回到上世纪80年代,当Mach创建时,单处理器机器是标准。
Back in the '80s, however, when Mach was created, single-processor machines were the norm.
如果您有一个单处理器电脑,那么你就没有太大的这个基准测试程序的使用。
If you have a uniprocessor PC, then you have not much use for this benchmark program.
因此,为了进行测试设置,所有的服务和应用程序都应该已运行在相同的单处理器计算机中。
Thus, for the test setup, all the services and applications were running on the same single processor computer.
平衡数据分发器利用并行机制来加快数据传输的速度,因此不会对单处理器的环境产生影响。
The Balanced data Distributor takes advantage of parallelism to speed up data transformations, so it won't have an effect on single-processor configurations.
例如,在清单5 中,您可以看到单处理器拓扑上场景运行的输出(来自 清单4)。
For example, in Listing 5, you can see the output for a run of the scenario (from Listing 4) on a uniprocessor topology.
如果这个问题不会在禁用jit的单处理器上发生,那么这就可能说明JIT不是问题的根源。
If the problem does not happen on a single-processor system with JIT off, that might be an indication that JIT is not at fault.
在阅读中,我所做的,似乎并没有使用单处理器和多处理器系统的算法之间的差异。
In the reading I've done, there doesn't seem to be any difference in the algorithms used between single and multi-processor systems.
然而目前一些有效降低能量消耗的技术大多针对单处理器系统,较少考虑多处理器系统。
Many techniques have been proposed to reduce power consumption for uniprocessor systems, while less work have taken multiprocessor systems into account.
如果此程序在单处理器或卸载的多处理器上运行,则每个线程打印的for循环迭代计数大致相同。
If this program is run on a uniprocessor or unloaded multiprocessor system, each thread prints out close to the same for loop iteration count. In one run, the program printed.
拥有多处理器的计算机要比单处理器的优越,因为每一个处理核心每秒能处理一定数量的计算。
Computers with multiple processors have an advantage over single-processor machines, because each processor core can handle a certain number of calculations per second.
系统以单处理器、单视频控制器同时驱动两路画面不同的彩色显示器,完成复杂画面的实时生成。
This kind of video controller can accurately generate video control time sequence of two frame graphics data in the same time.
本文首先介绍了嵌入式微处理器和嵌入式实时操作系统,给出了基于单处理器的多任务调度方案。
Firstly, the embedded microprocessor and embedded Real Time Operating System are described, and the multi-task scheduling solution based on single-processor is given.
如果在一个内存不足的单处理器手提电脑系统上进行测试,那么您恐怕不能对一个服务器系统上的性能下任何结论。
If you run your tests on a single-processor laptop system with a small amount of memory, you may not be able to conclude anything about the performance on a server system.
在结合启发式任务分配算法和单处理器任务调度算法的基础上,提出了一种分布式控制系统的调度算法。
Basing on the combination of heuristic algorithm for assigning tasks and scheduling algorithms for uniprocessor, a novel scheduling algorithm for DCS is proposed in this paper.
在一个单处理器计算机中,CPU一个时刻只能执行一个任务,由操作系统管理哪一个任务使用CPU。
In a single processor computer the CPU can execute one task at a time, but the Operating System manages which task should access the CPU.
在研究单处理器动态电压缩放和多处理器的PF调度算法的基础上,提出了一种多处理器节能调度算法。
In this paper, a scheduling algorithm is proposed for the multiprocessors based on dynamic voltage scaling algorithm and PF algorithm.
在研究单处理器动态电压缩放和多处理器的PF调度算法的基础上,提出了一种多处理器节能调度算法。
In this paper, a scheduling algorithm is proposed for the multiprocessors based on dynamic voltage scaling algorithm and PF algorithm.
应用推荐