![]() |
![]() |
|
| CPU Indicator |
This page shows how to use the CpuIndicator widget to display current CPU utilization (%). The widget displays utilization level of the system's CPU, and will periodically update the graphic with the current utilization. Additionally, an API interface is available so the information can be used within an applications. The source code below shows how to use the widget in your application. The constructor takes three arguments:
You just instantiate the object and forget. |
|
|
Source code |
||
...
<script type="text/javascript" src="CpuIndicator.js"></script>
<script type="text/javascript">
function onPageLoad()
{
|
||
|
The cpuIndicator widget was built using Intel's Web 2.0 TDK (insert link here). Copyright Intel Corporation 2007 |