... current->tsc_start = cycle_timer();/* Get CPU usage 如果要计算cpu的话*/ }/* Get memory usage 如果要计算内存的话*/ hp_execute 代码执行部分 ...
基于1个网页-相关网页
As in Figure 10, you can get similar information and memory, swap, disk usage, and measurements over different time periods.
如图10所示,您可以获得不同时间段内关于内存、交换、磁盘使用和度量的类似信息。
In both cases, the CPU and memory usage percentages have been displayed in the process list so that you can get a good idea of the loading on the system.
在上面两个例子中,进程列表中显示了CPU和内存使用率,以便您能够清楚地了解系统中的负载情况。
When he does so, he notices that even though he calls mysql_free_result , some of the memory doesn't get released, resulting in a growing memory usage for the Apache process (see Listing 5).
当他这样做时,他将注意到即使调用mysql _ free_result,一些内存也不会被释放,导致内存使用量随着Apache进程不断增长(参见清单5)。
应用推荐