ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter/CpuUserReport.java
(Generate patch)

Comparing projects/cms/source/reports/DBReporter/CpuUserReport.java (file contents):
Revision 1.2 by pjm2, Mon Dec 11 17:02:47 2000 UTC vs.
Revision 1.3 by pjm2, Mon Dec 11 21:24:10 2000 UTC

# Line 19 | Line 19 | public class CpuUserReport extends Report {
19  
20      public CpuUserReport(String directory, Statement stmt, String machine_name, long startDate, long endDate){
21          super (directory, stmt, machine_name, startDate, endDate);
22 +        
23 +        // Use this from the parameter table.
24          _reportField = "packet.cpu.user";
25 +        
26 +        // Use this select query.
27          _sql = "SELECT * FROM packet_test pkt, parameter_test param WHERE pkt.id=param.packet_id AND pkt.machine_name='"+ _machine_name+"' AND pkt.receipt_date >= "+_startDate+" AND pkt.receipt_date <= "+_endDate+" AND param.name='"+_reportField+"';";
28 +    
29      }
30          
31   //---PUBLIC METHODS---

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines