Changeset 664 for DCWoRMS/trunk/src/test/article/recs/plugins/timeestimation/RecsTimeEstimationPlugin.java
- Timestamp:
- 11/28/12 17:00:18 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/src/test/article/recs/plugins/timeestimation/RecsTimeEstimationPlugin.java
r661 r664 79 79 Core core = (Core)pe.get(0); 80 80 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 87 83 return Double.valueOf(freq).intValue(); 88 84
Note: See TracChangeset
for help on using the changeset viewer.