






















 |  |
Products » µnOS » Applications » CPU-Log
|
| | |  | File: | cpulog.exe
| | Size: | 12 KB
| | Download: | not needed
File is included in the virtual drive of the µnOS demo.
(download µnOS demo) |
Description:
The CPU-Log application consists of one window, called the "CPU-Log window"
in the follwing.
Like the CPU application, it's a very simple one.
There is a thread in the system that's only active if no other thread
is ready to run.
This special thread is called the "idle thread".
It's easy to understand that if the idle thread is active very often, the load of
the system is very low.
If the idle thread is only rarely active, many other threads
occupy and consume the available computation power.
The system then is heavily loaded.
The CPU-Log application protocols and displays the behavior of the idle thread
over a time of 500 seconds.
Every five seconds the average system load over this time is diplayed by a
vertical red line.
The height of the line represents the system load, the scale is linear.
A high red line obviously means heavy load.
Before a new vertical line is displayed every five seconds on the right of the CPU-Log window,
the displayed content of the window is shifted by one pixel to the left.
Running over a long time, the CPU-Log shows a "skyline" that visualizes the system's load
over the previous minutes.
The more red you see in this skyline, the more the system was loaded.
Operating:
The CPU-Log application is a non-interactive displaying application and can therefore only be
started and killed.
| |
|  | |