EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.measurement.strategies.system]

COVERAGE SUMMARY FOR SOURCE FILE [Test.java]

nameclass, %method, %block, %line, %
Test.java0%   (0/1)0%   (0/2)0%   (0/43)0%   (0/13)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Test0%   (0/1)0%   (0/2)0%   (0/43)0%   (0/13)
Test (): void 0%   (0/1)0%   (0/3)0%   (0/1)
main (String []): void 0%   (0/1)0%   (0/40)0%   (0/12)

1package de.uka.ipd.sdq.measurement.strategies.system;
2 
3public class Test {
4 
5        public static void main(String[] args) {
6                
7                System.out.println(SystemResourcesUtil.getCPUCores());
8                
9                System.out.println(SystemResourcesUtil.getFreePhysicalMemorySize());
10                System.out.println(SystemResourcesUtil.getTotalPhysicalMemorySize());        
11                
12                System.out.println(SystemResourcesUtil.getCPUProcessTime());
13 
14                long start = System.currentTimeMillis();
15                
16                
17                int i = 1;
18                while (System.currentTimeMillis() - start < 1000) {
19                        i ++;
20                }
21                System.out.println(i);
22                
23                System.out.println(SystemResourcesUtil.getCPUProcessTime());
24 
25                System.out.println(SystemResourcesUtil.getFreeTempDirectorySize() / 1024 / 1024 / 1024);
26                
27        }
28        
29}

[all classes][de.uka.ipd.sdq.measurement.strategies.system]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov