Title: C P U L O A D
1OPERATING SYSTEM PROGRAMMING ASSIGNMENT
C P U L O A D
Dept. of Computer Information Science KOREA
UNIVERSITY
Written by Hoon-Seung Jeong www.jhs.pe.kr
2 TABLE OF CONTENTS
SYSTEM ENVIRONMENT SYSTEM DESCRIPTION TEST
DESCRIPTION USER DOCUMENTATION SELF-EVALUATION
? ? ? ? ?
3 SYSTEM ENVIRONMENT
AMD Turion 1.60GHz Dual
20
JHS.PE.KR
Windows XP
2.0GB RAM
10
30
0
Visual Studio 2005 .NET
4 SYSTEM DESCRIPTION (1/2)
Read getCPU( )
Calculate Current Time
Bubble Sort
Calculate MIN, AVE, MIX
PRINT LIST
5 SYSTEM DESCRIPTION (2/2)
Important Function
getCPU( ) is the most important source in this
program. Reference MSDN and other website.
Print_Current_Time( ) is function that display
current time.
!_kbhit( ) is source that exit to infinite loop.
For get average value, use other arrangement.
For get minimum and maximum value, use bubble
sort.
6 TEST DESCRIPTION (1/2)
7 TEST DESCRIPTION (2/2)
8 USER DOCUMENTATION
Go forward C source code cpuload.cpp
9 SELF-EVALUATION
70
Why? Because reference that the most important
source in internet.