Changeset 44 for trunk/Application/Model/Measurement/System.php
- Timestamp:
- Nov 24, 2009, 5:19:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Model/Measurement/System.php
r43 r44 2 2 3 3 // Funkce pro získání stavových informací o systému 4 5 function ErrorHandler($errno,$errmsg,$filename,$linenum,$vars)6 {7 }8 4 9 5 include_once(dirname(__FILE__).'/Measurement.php'); … … 54 50 } 55 51 56 function C puUsage()52 function CPUUsage() 57 53 { 58 54 $CpuStateFileName = '/tmp/LastCpuUsage'; 59 $LastCpuUsage = unserializ a(file_get_contents($CpuStateFileName));55 $LastCpuUsage = unserialize(file_get_contents($CpuStateFileName)); 60 56 //$cpuIDLEprev, $cpuSYSTprev, $cpuUSERprev; 61 57
Note:
See TracChangeset
for help on using the changeset viewer.