Ignore:
Timestamp:
11/28/12 17:00:18 (12 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/src/test/article/recs/plugins/timeestimation/RecsTimeEstimationPlugin.java

    r661 r664  
    7979                Core core = (Core)pe.get(0); 
    8080                Processor proc = (Processor) core.getParent(); 
    81                 double freq; 
    82                 try{ 
    83                         freq = proc.getPowerInterface().getFrequency(); 
    84                 } catch(Exception e){ 
    85                         freq = 800; 
    86                 } 
     81                double freq = proc.getPowerInterface().getFrequency(); 
     82 
    8783                return Double.valueOf(freq).intValue(); 
    8884                 
Note: See TracChangeset for help on using the changeset viewer.