当执行这些计算时,也将考虑不同任务的优先级值。
The priority values of different tasks are also considered while doing these calculations.
JLS中的线程调度并不精确而且只提供了10个优先级值。
Thread scheduling in the JLS is imprecise and provides only 10 priority values.
这部分内容介绍了如何更改用于计算每个线程优先级值的CPU调度参数。
This section shows how you can change some of the CPU scheduling parameters, which are used to calculate the priority value for each thread.
优先级值是一个无符号8位的数量(0至255个号码和),并没有尺寸。
The priority value is an unsigned 8-bit quantity (a number between 0 and 255), and has no dimension.
当然,充分利用可用于RealtimeThread的优先级值将最容易满足服务质量目标。
Of course, taking full advantage of the priority values available to RealtimeThreads will give you the best chance of meeting your service-quality goals.
系统上的每个CPU都有自己专用的运行队列,该队列是按线程优先级值排序的可运行线程的列表。
Each CPU on a system has its own dedicated run queue, which is a list of runnable threads sorted by thread priority value.
优先级值是一个无符号16位的数量(1 0和65535之间的数字),没有任何方面。
The priority value is an unsigned 16-bit quantity (a number between 0 and 65535), and has no dimension.
使用- n或(——adjustment)选项时带一个负值可以增加优先级值,带一个正值将减少优先级值。
You use the -n or (— adjustment) option with a positive value to increase the priority value and a negative value to decrease it.
最安全的方法是让所有线程使用一个优先级值,不使用Thread .yield和将消耗整个CPU(因为它们不会被阻塞)的其他类型的自旋循环。
The safest approach is to make all threads use a single priority value and eliminate the use of Thread.yield and other kinds of spin loops that will fully consume a CPU because they never block.
如果您将缺省值从0更改为1,那么所有固定优先级的线程都将放入到这个运行队列中。
All fixed priority threads will be placed on the run queue if you change the default from 0 to 1.
如果我们的迭代长达两周,那么我们从优先级堆栈顶部取出值两个星期的工作。
If our iterations are two weeks in length, we pull two weeks worth of work from the top of the priority stack.
服务策略还包含一个重要性值,它直接转换为将分配给与此服务策略相关联的请求的优先级。
A service policy also includes an importance value which directly translates into what priority will be given to requests associated with the service policy.
运行队列是由运行线程所组成的列表,按照线程优先级的值进行排序。
A run queue is a list of runnable threads, sorted by thread priority value.
另外,要注意在Linux 中较低的delta值代表较高的优先级。
Note also that in Linux, a lower delta value means a higher priority.
dwPriorityClass是进程的优先级等级,它可以设置为下列值中的任意一个。
DwPriorityClass is the priority class of the process, and it is set to any of the following values.
pij是第i个标准组中第j个标准的优先级的值。
Pij is the priority value of the JTH criteria belonging to the ith criteria group.
您可以为进程指定一个绝对优先级(不是调整值),进程的更改如清单10 所示。
You specify an absolute priority (and not an adjustment) for the process or processes to be changed as shown in Listing 10.
一开始,销售人员和客户干系人的权重值会高于运营人员,这样新功能在待办事项列表中会有较高的优先级。
At the start, the sales and customer stakeholders might be weighted higher than the operations stakeholder so that new features are higher priority on the backlog.
清单7中的命令在缺省值20上又增加10,从而创建出新的优先值30和优先级70。
The command in Listing 7 adds 10 to the default of 20 and creates the new nice value of 30, with the priority of 70.
当您再次使用ps查看进程表时,您将看到,对于这个进程以及它通过 fork 系统调用创建的子进程,它们的优先级都不再是缺省值。
When you look at the process table again, you'll see that the priority of this process has changed from its default as well as the child process that was forked from it (ps).
稍后,您就可以通过RationalFocalPoint的一些独特特性,例如优先级以及可视化,来创建数据的值。
Later, you can create value out of that data through Rational Focal Point's unique features like prioritization and visualization.
在进行该操作时,您实际上通过更改进程的nice值,从而更改了线程优先级的值(缺省值为40)。
When you do this, you actually change the value of the priority of a thread (default value of 40) by changing the nice value of its process.
为了演示如何使用nice设置优先级,首先同时在不同的subshell中启动两个count1. sh脚本的副本,但是将其中一个的nice值设置为最大值19。
To demonstrate the use of nice to set priorities, let's start two copies of the count1.sh script in different subshells at the same time, but give one the maximum niceness of 19.
回想一下任务精细值可以更改任务的优先级(这里- 20是最高的优先级,而20是最低的)。
Recall that task nice values change the priority of a task (where -20 is the highest priority and 20 is the lowest).
在ReportStyle对话框图17,选择您的报告样式优先级在这里我们使用默认值。
In the report style dialog box (Figure 17), select your report style preference (for this example, accept the default value).
这个值被决定了线程的绝对优先级,这个绝对优先级是通过API赋值给线程的优先级以及它所在进程的优先级共同计算得到的。
This value is termed the absolute priority of the thread and is calculated from the priority values assigned through the API to both the thread and the process which owns that thread.
这个优先级可以调节为从0到最大值255。
如果你是在优先丢弃模式,写这个号码EOI降低优先级,写相同的值di将退休中断(检查GICC_CTLR确认您的模式)。
If you are in priority drop mode, writing this number to EOI decreases the priority, writing the same value to DI will retire the interrupt (check GICC_CTLR to confirm your mode).
使用优先级天花板协议(PCP),每个互斥锁都有最大优先级,设为需要这个锁的任务的优先级的最大值。
With the priority ceiling Protocol (PCP) method each mutex has a defined priority ceiling, set to that of the highest priority task which USES the mutex.
然而,如果使用的是PCP互斥锁,ADC和DAC都有一个天花板值,都等于认证任务的优先级。
However with a PCP mutex, both the ADC and DAC mutex will have a ceiling priority equal to the SI's task priority.
应用推荐