[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

  • From: Alexander Simon < >
  • To:
  • Subject: [hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...
  • Date: Fri, 22 Feb 2013 05:44:21 -0800

changeset 392d14f62302 in cnd-main ((none))
details: http://hg.netbeans.org/cnd-main/rev/392d14f62302
description:
        fixing Bug #225299 Detect C/C++ specific performance problem
        - show infinite parsing files

diffstat:

 
cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/Bundle.properties
             |   1 +
 
cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/PerformanceIssueDetector.java
 |  13 +-
 
cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/StatisticPanel.form
           |  72 +++++++-
 
cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/StatisticPanel.java
           |  90 ++++++++-
 4 files changed, 156 insertions(+), 20 deletions(-)

diffs (425 lines):

diff --git 
a/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/Bundle.properties
 
b/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/Bundle.properties
--- 
a/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/Bundle.properties
+++ 
b/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/Bundle.properties
@@ -16,3 +16,4 @@
 StatisticPanel.parsingWallTimeLabel.text=Wall time (ms)
 StatisticPanel.parsingCpuTimeLabel.text=CPU time (ms)
 StatisticPanel.parsingRatioLabel.text=CPU time/wall time (%)
+StatisticPanel.parsingNumberLabel.text=Number of files
diff --git 
a/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/PerformanceIssueDetector.java
 
b/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/PerformanceIssueDetector.java
--- 
a/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/PerformanceIssueDetector.java
+++ 
b/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/PerformanceIssueDetector.java
@@ -392,7 +392,6 @@
         long user = event.getUserTime();
         lock.writeLock().lock();
         try {
-            parseTimeOut.remove(fo);
             ParseEntry entry = parsePerformance.get(dirName);
             if (entry == null) {
                 entry = new ParseEntry();
@@ -521,6 +520,18 @@
             lock.readLock().unlock();
         }
     }
+
+    Map<FileObject,PerformanceLogger.PerformanceEvent> getParseTimeout() {
+        lock.readLock().lock();
+        try {
+             return new 
HashMap<FileObject,PerformanceLogger.PerformanceEvent>(parseTimeOut);
+        } catch (Throwable ex) {
+            ex.printStackTrace(System.err);
+            return null;
+        } finally {
+            lock.readLock().unlock();
+        }
+    }
     
     private TreeMap<String, AgregatedStat> gatherStat() {
         TreeMap<String, AgregatedStat> map = new TreeMap<String, 
AgregatedStat>();
diff --git 
a/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/StatisticPanel.form
 
b/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/StatisticPanel.form
--- 
a/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/StatisticPanel.form
+++ 
b/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/StatisticPanel.form
@@ -336,6 +336,29 @@
         </Constraint>
       </Constraints>
     </Component>
+    <Component class="javax.swing.JLabel" name="parsingNumberLabel">
+      <Properties>
+        <Property name="text" type="java.lang.String" 
editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+          <ResourceString 
bundle="org/netbeans/modules/cnd/discovery/performance/Bundle.properties" 
key="StatisticPanel.parsingNumberLabel.text" 
replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, 
&quot;{key}&quot;)"/>
+        </Property>
+      </Properties>
+      <Constraints>
+        <Constraint 
layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" 
value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+          <GridBagConstraints gridX="0" gridY="15" gridWidth="1" 
gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="6" insetsLeft="6" 
insetsBottom="6" insetsRight="6" anchor="21" weightX="0.0" weightY="0.0"/>
+        </Constraint>
+      </Constraints>
+    </Component>
+    <Component class="javax.swing.JTextField" name="parsingNumber">
+      <Properties>
+        <Property name="editable" type="boolean" value="false"/>
+        <Property name="horizontalAlignment" type="int" value="4"/>
+      </Properties>
+      <Constraints>
+        <Constraint 
layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" 
value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+          <GridBagConstraints gridX="1" gridY="15" gridWidth="1" 
gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" 
insetsBottom="0" insetsRight="6" anchor="10" weightX="0.0" weightY="0.0"/>
+        </Constraint>
+      </Constraints>
+    </Component>
     <Component class="javax.swing.JLabel" name="parsingWallTimeLabel">
       <Properties>
         <Property name="text" type="java.lang.String" 
editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
@@ -344,7 +367,7 @@
       </Properties>
       <Constraints>
         <Constraint 
layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" 
value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
-          <GridBagConstraints gridX="0" gridY="15" gridWidth="1" 
gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="6" insetsLeft="6" 
insetsBottom="6" insetsRight="6" anchor="21" weightX="0.0" weightY="0.0"/>
+          <GridBagConstraints gridX="0" gridY="16" gridWidth="1" 
gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="6" insetsLeft="6" 
insetsBottom="6" insetsRight="6" anchor="21" weightX="0.0" weightY="0.0"/>
         </Constraint>
       </Constraints>
     </Component>
@@ -355,7 +378,7 @@
       </Properties>
       <Constraints>
         <Constraint 
layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" 
value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
-          <GridBagConstraints gridX="1" gridY="15" gridWidth="1" 
gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" 
insetsBottom="0" insetsRight="6" anchor="22" weightX="1.0" weightY="0.0"/>
+          <GridBagConstraints gridX="1" gridY="16" gridWidth="1" 
gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" 
insetsBottom="0" insetsRight="6" anchor="22" weightX="1.0" weightY="0.0"/>
         </Constraint>
       </Constraints>
     </Component>
@@ -367,7 +390,7 @@
       </Properties>
       <Constraints>
         <Constraint 
layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" 
value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
-          <GridBagConstraints gridX="0" gridY="16" gridWidth="1" 
gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="6" insetsLeft="6" 
insetsBottom="6" insetsRight="6" anchor="21" weightX="0.0" weightY="0.0"/>
+          <GridBagConstraints gridX="0" gridY="17" gridWidth="1" 
gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="6" insetsLeft="6" 
insetsBottom="6" insetsRight="6" anchor="21" weightX="0.0" weightY="0.0"/>
         </Constraint>
       </Constraints>
     </Component>
@@ -378,7 +401,7 @@
       </Properties>
       <Constraints>
         <Constraint 
layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" 
value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
-          <GridBagConstraints gridX="1" gridY="16" gridWidth="1" 
gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" 
insetsBottom="0" insetsRight="6" anchor="22" weightX="1.0" weightY="0.0"/>
+          <GridBagConstraints gridX="1" gridY="17" gridWidth="1" 
gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" 
insetsBottom="0" insetsRight="6" anchor="22" weightX="1.0" weightY="0.0"/>
         </Constraint>
       </Constraints>
     </Component>
@@ -390,7 +413,7 @@
       </Properties>
       <Constraints>
         <Constraint 
layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" 
value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
-          <GridBagConstraints gridX="0" gridY="17" gridWidth="1" 
gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="6" insetsLeft="6" 
insetsBottom="6" insetsRight="6" anchor="21" weightX="0.0" weightY="0.0"/>
+          <GridBagConstraints gridX="0" gridY="18" gridWidth="1" 
gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="6" insetsLeft="6" 
insetsBottom="6" insetsRight="6" anchor="21" weightX="0.0" weightY="0.0"/>
         </Constraint>
       </Constraints>
     </Component>
@@ -401,7 +424,7 @@
       </Properties>
       <Constraints>
         <Constraint 
layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" 
value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
-          <GridBagConstraints gridX="1" gridY="17" gridWidth="1" 
gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" 
insetsBottom="0" insetsRight="6" anchor="22" weightX="1.0" weightY="0.0"/>
+          <GridBagConstraints gridX="1" gridY="18" gridWidth="1" 
gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" 
insetsBottom="0" insetsRight="6" anchor="22" weightX="1.0" weightY="0.0"/>
         </Constraint>
       </Constraints>
     </Component>
@@ -429,7 +452,7 @@
     <Container class="javax.swing.JPanel" name="jPanel1">
       <Constraints>
         <Constraint 
layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" 
value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
-          <GridBagConstraints gridX="0" gridY="18" gridWidth="3" 
gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" 
insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="1.0"/>
+          <GridBagConstraints gridX="0" gridY="19" gridWidth="3" 
gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" 
insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="1.0"/>
         </Constraint>
       </Constraints>
 
@@ -498,7 +521,7 @@
       </Properties>
       <Constraints>
         <Constraint 
layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" 
value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
-          <GridBagConstraints gridX="2" gridY="17" gridWidth="1" 
gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" 
insetsBottom="0" insetsRight="6" anchor="21" weightX="1.0" weightY="0.0"/>
+          <GridBagConstraints gridX="2" gridY="18" gridWidth="1" 
gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" 
insetsBottom="0" insetsRight="6" anchor="21" weightX="1.0" weightY="0.0"/>
         </Constraint>
       </Constraints>
 
@@ -556,6 +579,39 @@
           <Layout 
class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
           <SubComponents>
             <Component class="javax.swing.JTextPane" name="slowFolders">
+              <Properties>
+                <Property name="editable" type="boolean" value="false"/>
+              </Properties>
+            </Component>
+          </SubComponents>
+        </Container>
+      </SubComponents>
+    </Container>
+    <Container class="javax.swing.JPanel" name="parsingPanel">
+      <Constraints>
+        <Constraint 
layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" 
value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
+          <GridBagConstraints gridX="2" gridY="14" gridWidth="1" 
gridHeight="4" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" 
insetsBottom="0" insetsRight="6" anchor="10" weightX="0.0" weightY="0.0"/>
+        </Constraint>
+      </Constraints>
+
+      <Layout 
class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
+      <SubComponents>
+        <Container class="javax.swing.JScrollPane" name="jScrollPane3">
+          <AuxValues>
+            <AuxValue name="autoScrollPane" type="java.lang.Boolean" 
value="true"/>
+          </AuxValues>
+          <Constraints>
+            <Constraint 
layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" 
value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
+              <BorderConstraints direction="Center"/>
+            </Constraint>
+          </Constraints>
+
+          <Layout 
class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+          <SubComponents>
+            <Component class="javax.swing.JTextPane" name="infiniteParsing">
+              <Properties>
+                <Property name="editable" type="boolean" value="false"/>
+              </Properties>
             </Component>
           </SubComponents>
         </Container>
diff --git 
a/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/StatisticPanel.java
 
b/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/StatisticPanel.java
--- 
a/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/StatisticPanel.java
+++ 
b/cnd.discovery/src/org/netbeans/modules/cnd/discovery/performance/StatisticPanel.java
@@ -55,6 +55,9 @@
 import javax.swing.SwingUtilities;
 import javax.swing.text.html.HTMLEditorKit;
 import 
org.netbeans.modules.cnd.discovery.performance.AnalyzeStat.AgregatedStat;
+import static 
org.netbeans.modules.cnd.discovery.performance.PerformanceIssueDetector.NANO_TO_SEC;
+import org.netbeans.modules.dlight.libs.common.PerformanceLogger;
+import org.openide.filesystems.FileObject;
 import org.openide.util.NbBundle.Messages;
 import org.openide.util.RequestProcessor;
 
@@ -77,6 +80,8 @@
         slowFolders.setEditorKit(new HTMLEditorKit());
         unusedFolders.setBackground(getBackground());
         unusedFolders.setEditorKit(new HTMLEditorKit());
+        infiniteParsing.setBackground(getBackground());
+        infiniteParsing.setEditorKit(new HTMLEditorKit());
         activeInstance = PerformanceIssueDetector.getActiveInstance();
         update = RP.post(new Runnable() {
             @Override
@@ -102,8 +107,9 @@
     }
 
     @Messages({
-        "Details.slowest.unused.folders=<table><tbody><tr><th>Slowest still 
unused folder</th><th>Items</th><th>Time (s)</th></tr>",
-        "Details.slowest.reading.folders=<table><tbody><tr><th>Slowest 
reading folder</th><th>Lines</th><th>Time (s)</th></tr>",
+        "Details.slowest.unused.folders=<table><tbody><tr><th>Slowest still 
unused folder</th><th>Items</th><th>Time,s</th></tr>",
+        "Details.slowest.reading.folders=<table><tbody><tr><th>Slowest 
reading folder</th><th>Lines</th><th>Time,s</th></tr>",
+        "Details.slowest.parsing.files=<table><tbody><tr><th>Possible 
infinite parsing files</th><th>Time (s)</th></tr>",
     })
     private void countStatistic() {
         if (closed.get()) {
@@ -154,10 +160,12 @@
             }
             {
                 long count = 0;
+                long files = 0;
                 long time = 0;
                 long cpu = 0;
                 for (Map.Entry<String, AnalyzeStat.AgregatedStat> entry : 
statistic.entrySet()) {
                     count += entry.getValue().parseLines;
+                    files += entry.getValue().parseNumber;
                     time += entry.getValue().parseTime;
                     cpu += entry.getValue().parseCPU;
                 }
@@ -168,6 +176,7 @@
                     
parsingSpeed.setText(PerformanceIssueDetector.format(speed));
                     
getLimit(parsingSpeedPanel,PerformanceIssueDetector.PARSING_SPEED_LIMIT, 
PerformanceIssueDetector.PARSING_SPEED_LIMIT*10, (int)speed);
                     
parsingLines.setText(PerformanceIssueDetector.format(count));
+                    
parsingNumber.setText(PerformanceIssueDetector.format(files));
                     
parsingWallTime.setText(PerformanceIssueDetector.format(time/PerformanceIssueDetector.NANO_TO_MILLI));
                     
parsingCpuTime.setText(PerformanceIssueDetector.format(cpu/PerformanceIssueDetector.NANO_TO_MILLI));
                     
parsingRatio.setText(PerformanceIssueDetector.format(cpu*100/time));
@@ -225,7 +234,23 @@
                 if (!slowFolders.getText().equals(buf.toString())) {
                     slowFolders.setText(buf.toString());
                 }
-                
+                buf.setLength(0);
+                for(Map.Entry<FileObject, 
PerformanceLogger.PerformanceEvent> entry : 
activeInstance.getParseTimeout().entrySet()) {
+                    if (buf.length()==0) {
+                        buf.append(Bundle.Details_slowest_parsing_files());
+                    }
+                    buf.append("<tr><td>"); //NOI18N
+                    buf.append(entry.getKey().getPath());
+                    buf.append("</td><td>"); //NOI18N
+                    
buf.append(PerformanceIssueDetector.format((System.nanoTime() - 
entry.getValue().getStartTime())/PerformanceIssueDetector.NANO_TO_SEC));
+                    buf.append("</td><td>"); //NOI18N
+                }
+                if (buf.length()>0) {
+                    buf.append("</tbody></table>"); //NOI18N
+                }
+                if (!infiniteParsing.getText().equals(buf.toString())) {
+                    infiniteParsing.setText(buf.toString());
+                }
             }
         }
         update.schedule(2000);
@@ -360,6 +385,8 @@
         parsingSpeed = new javax.swing.JTextField();
         parsingLinesLabel = new javax.swing.JLabel();
         parsingLines = new javax.swing.JTextField();
+        parsingNumberLabel = new javax.swing.JLabel();
+        parsingNumber = new javax.swing.JTextField();
         parsingWallTimeLabel = new javax.swing.JLabel();
         parsingWallTime = new javax.swing.JTextField();
         parsingCpuTimeLabel = new javax.swing.JLabel();
@@ -380,6 +407,9 @@
         readSlowPanel = new javax.swing.JPanel();
         jScrollPane2 = new javax.swing.JScrollPane();
         slowFolders = new javax.swing.JTextPane();
+        parsingPanel = new javax.swing.JPanel();
+        jScrollPane3 = new javax.swing.JScrollPane();
+        infiniteParsing = new javax.swing.JTextPane();
 
         setMinimumSize(new java.awt.Dimension(500, 350));
         setPreferredSize(new java.awt.Dimension(700, 550));
@@ -635,10 +665,27 @@
         gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 6);
         add(parsingLines, gridBagConstraints);
 
+        org.openide.awt.Mnemonics.setLocalizedText(parsingNumberLabel, 
org.openide.util.NbBundle.getMessage(StatisticPanel.class, 
"StatisticPanel.parsingNumberLabel.text")); // NOI18N
+        gridBagConstraints = new java.awt.GridBagConstraints();
+        gridBagConstraints.gridx = 0;
+        gridBagConstraints.gridy = 15;
+        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
+        gridBagConstraints.insets = new java.awt.Insets(6, 6, 6, 6);
+        add(parsingNumberLabel, gridBagConstraints);
+
+        parsingNumber.setEditable(false);
+        parsingNumber.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
+        gridBagConstraints = new java.awt.GridBagConstraints();
+        gridBagConstraints.gridx = 1;
+        gridBagConstraints.gridy = 15;
+        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
+        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 6);
+        add(parsingNumber, gridBagConstraints);
+
         org.openide.awt.Mnemonics.setLocalizedText(parsingWallTimeLabel, 
org.openide.util.NbBundle.getMessage(StatisticPanel.class, 
"StatisticPanel.parsingWallTimeLabel.text")); // NOI18N
         gridBagConstraints = new java.awt.GridBagConstraints();
         gridBagConstraints.gridx = 0;
-        gridBagConstraints.gridy = 15;
+        gridBagConstraints.gridy = 16;
         gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
         gridBagConstraints.insets = new java.awt.Insets(6, 6, 6, 6);
         add(parsingWallTimeLabel, gridBagConstraints);
@@ -647,7 +694,7 @@
         parsingWallTime.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
         gridBagConstraints = new java.awt.GridBagConstraints();
         gridBagConstraints.gridx = 1;
-        gridBagConstraints.gridy = 15;
+        gridBagConstraints.gridy = 16;
         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
         gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
         gridBagConstraints.weightx = 1.0;
@@ -657,7 +704,7 @@
         org.openide.awt.Mnemonics.setLocalizedText(parsingCpuTimeLabel, 
org.openide.util.NbBundle.getMessage(StatisticPanel.class, 
"StatisticPanel.parsingCpuTimeLabel.text")); // NOI18N
         gridBagConstraints = new java.awt.GridBagConstraints();
         gridBagConstraints.gridx = 0;
-        gridBagConstraints.gridy = 16;
+        gridBagConstraints.gridy = 17;
         gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
         gridBagConstraints.insets = new java.awt.Insets(6, 6, 6, 6);
         add(parsingCpuTimeLabel, gridBagConstraints);
@@ -666,7 +713,7 @@
         parsingCpuTime.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
         gridBagConstraints = new java.awt.GridBagConstraints();
         gridBagConstraints.gridx = 1;
-        gridBagConstraints.gridy = 16;
+        gridBagConstraints.gridy = 17;
         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
         gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
         gridBagConstraints.weightx = 1.0;
@@ -676,7 +723,7 @@
         org.openide.awt.Mnemonics.setLocalizedText(parsingRatioLabel, 
org.openide.util.NbBundle.getMessage(StatisticPanel.class, 
"StatisticPanel.parsingRatioLabel.text")); // NOI18N
         gridBagConstraints = new java.awt.GridBagConstraints();
         gridBagConstraints.gridx = 0;
-        gridBagConstraints.gridy = 17;
+        gridBagConstraints.gridy = 18;
         gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
         gridBagConstraints.insets = new java.awt.Insets(6, 6, 6, 6);
         add(parsingRatioLabel, gridBagConstraints);
@@ -685,7 +732,7 @@
         parsingRatio.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
         gridBagConstraints = new java.awt.GridBagConstraints();
         gridBagConstraints.gridx = 1;
-        gridBagConstraints.gridy = 17;
+        gridBagConstraints.gridy = 18;
         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
         gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
         gridBagConstraints.weightx = 1.0;
@@ -715,7 +762,7 @@
         add(jSeparator3, gridBagConstraints);
         gridBagConstraints = new java.awt.GridBagConstraints();
         gridBagConstraints.gridx = 0;
-        gridBagConstraints.gridy = 18;
+        gridBagConstraints.gridy = 19;
         gridBagConstraints.gridwidth = 3;
         gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
         gridBagConstraints.weightx = 1.0;
@@ -764,7 +811,7 @@
         parsingRatioPanel.setLayout(new java.awt.BorderLayout());
         gridBagConstraints = new java.awt.GridBagConstraints();
         gridBagConstraints.gridx = 2;
-        gridBagConstraints.gridy = 17;
+        gridBagConstraints.gridy = 18;
         gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
         gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
         gridBagConstraints.weightx = 1.0;
@@ -788,6 +835,7 @@
 
         readSlowPanel.setLayout(new java.awt.BorderLayout());
 
+        slowFolders.setEditable(false);
         jScrollPane2.setViewportView(slowFolders);
 
         readSlowPanel.add(jScrollPane2, java.awt.BorderLayout.CENTER);
@@ -799,8 +847,24 @@
         gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
         gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 6);
         add(readSlowPanel, gridBagConstraints);
+
+        parsingPanel.setLayout(new java.awt.BorderLayout());
+
+        infiniteParsing.setEditable(false);
+        jScrollPane3.setViewportView(infiniteParsing);
+
+        parsingPanel.add(jScrollPane3, java.awt.BorderLayout.CENTER);
+
+        gridBagConstraints = new java.awt.GridBagConstraints();
+        gridBagConstraints.gridx = 2;
+        gridBagConstraints.gridy = 14;
+        gridBagConstraints.gridheight = 4;
+        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
+        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 6);
+        add(parsingPanel, gridBagConstraints);
     }// </editor-fold>//GEN-END:initComponents
     // Variables declaration - do not modify//GEN-BEGIN:variables
+    private javax.swing.JTextPane infiniteParsing;
     private javax.swing.JTextField itemCpuTime;
     private javax.swing.JLabel itemCpuTimeLabel;
     private javax.swing.JLabel itemLabel;
@@ -817,6 +881,7 @@
     private javax.swing.JPanel jPanel1;
     private javax.swing.JScrollPane jScrollPane1;
     private javax.swing.JScrollPane jScrollPane2;
+    private javax.swing.JScrollPane jScrollPane3;
     private javax.swing.JSeparator jSeparator1;
     private javax.swing.JSeparator jSeparator2;
     private javax.swing.JSeparator jSeparator3;
@@ -825,6 +890,9 @@
     private javax.swing.JLabel parsingLabel;
     private javax.swing.JTextField parsingLines;
     private javax.swing.JLabel parsingLinesLabel;
+    private javax.swing.JTextField parsingNumber;
+    private javax.swing.JLabel parsingNumberLabel;
+    private javax.swing.JPanel parsingPanel;
     private javax.swing.JTextField parsingRatio;
     private javax.swing.JLabel parsingRatioLabel;
     private javax.swing.JPanel parsingRatioPanel;

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

(continued)

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/07/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/08/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/08/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/12/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/15/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/19/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/21/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/21/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/22/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/22/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/22/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/25/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/25/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/26/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/26/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/27/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/27/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/27/2013

[hg] cnd-main: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/27/2013

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 186 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close