Examples of report()


Examples of com.volantis.synergetics.reporting.ReportHandler.report()

                    localMetrics.put(DynamicReport.class,
                                     target.getOptionalConfigurationName());

                    ReportHandler localHandler = target.getReportHandler();
                    if (null != localHandler) {
                        localHandler.report(localMetrics);
                    } else { // we dispatch to the OSGi Event Listeners

                    }
                    localMetrics.clear();
View Full Code Here

Examples of desmoj.core.simulator.Experiment.report()

    // ...
    // ...
    // <-- afterwards, the main thread returns here

    // generate the report (and other output files)
    exp.report();

    // stop all threads still alive and close all output files
    exp.finish();
  }
View Full Code Here

Examples of edu.stanford.nlp.util.Timing.report()

          endTree = shuffledSentences.size();
        }

        executeOneTrainingBatch(shuffledSentences.subList(startTree, endTree), compressedParses, sumGradSquare);

        long totalElapsed = timing.report();
        System.err.println("Finished iteration " + iter + " batch " + batch + "; total training time " + totalElapsed + " ms");

        if (maxTrainTimeMillis > 0 && totalElapsed > maxTrainTimeMillis) {
          // no need to debug output, we're done now
          break;
View Full Code Here

Examples of edu.umd.cs.findbugs.ProjectPackagePrefixes.report()

        ProjectPackagePrefixes foo = new ProjectPackagePrefixes();

        for (BugInstance b : bugCollection.getCollection()) {
            foo.countBug(b);
        }
        foo.report();

        return this;
    }

    static class CommandLine extends edu.umd.cs.findbugs.config.CommandLine {
View Full Code Here

Examples of edu.umd.cs.findbugs.ProjectPackagePrefixes.report()

        ProjectPackagePrefixes foo = new ProjectPackagePrefixes();

        for (BugInstance b : bugCollection.getCollection()) {
            foo.countBug(b);
        }
        foo.report();

        return this;
    }

    static class CommandLine extends edu.umd.cs.findbugs.config.CommandLine {
View Full Code Here

Examples of edu.umd.cs.findbugs.log.Profiler.report()

                }
                throw e;
            } finally {
                clearCaches();
                profiler.end(this.getClass());
                profiler.report();
            }
        } catch (IOException e) {
            bugReporter.reportQueuedErrors();
            throw e;
        }
View Full Code Here

Examples of freenet.support.math.BootstrappingDecayingRunningAverage.report()

          int hopsTaken = randomNode.routedPing(loc2, randomNode2.getDarknetPubKeyHash());
          pings++;
          if(hopsTaken < 0) {
            failures++;
            avg.report(0.0);
            avg2.report(0.0);
            double ratio = (double) successes / ((double) (failures + successes));
            System.err.println("Routed ping " + pings + " FAILED from " + randomNode.getDarknetPortNumber() + " to " + randomNode2.getDarknetPortNumber() + " (long:" + ratio + ", short:" + avg.currentValue() + ", vague:" + avg2.currentValue() + ')');
          } else {
            totalHopsTaken += hopsTaken;
            successes++;
View Full Code Here

Examples of freenet.support.math.BootstrappingDecayingRunningAverage.report()

            System.err.println("Routed ping " + pings + " FAILED from " + randomNode.getDarknetPortNumber() + " to " + randomNode2.getDarknetPortNumber() + " (long:" + ratio + ", short:" + avg.currentValue() + ", vague:" + avg2.currentValue() + ')');
          } else {
            totalHopsTaken += hopsTaken;
            successes++;
            avg.report(1.0);
            avg2.report(1.0);
            double ratio = (double) successes / ((double) (failures + successes));
            System.err.println("Routed ping " + pings + " success: " + hopsTaken + ' ' + randomNode.getDarknetPortNumber() + " to " + randomNode2.getDarknetPortNumber() + " (long:" + ratio + ", short:" + avg.currentValue() + ", vague:" + avg2.currentValue() + ')');
          }
        } catch(Throwable t) {
          Logger.error(RealNodeRoutingTest.class, "Caught " + t, t);
View Full Code Here

Examples of freenet.support.math.RunningAverage.report()

    return getSentOverhead() * SECONDS.toMillis(1) / uptime;
  }

  public synchronized void successfulBlockReceive(boolean realTimeFlag, boolean isLocal) {
    RunningAverage blockTransferPSuccess = realTimeFlag ? blockTransferPSuccessRT : blockTransferPSuccessBulk;
    blockTransferPSuccess.report(1.0);
    if(isLocal)
      blockTransferPSuccessLocal.report(1.0);
    if(logMINOR) Logger.minor(this, "Successful receives: "+blockTransferPSuccess.currentValue()+" count="+blockTransferPSuccess.countReports()+" realtime="+realTimeFlag);
  }

View Full Code Here

Examples of freenet.support.math.RunningAverage.report()

  public synchronized void failedBlockReceive(boolean normalFetch, boolean timeout, boolean realTimeFlag, boolean isLocal) {
    if(normalFetch) {
      blockTransferFailTimeout.report(timeout ? 1.0 : 0.0);
    }
    RunningAverage blockTransferPSuccess = realTimeFlag ? blockTransferPSuccessRT : blockTransferPSuccessBulk;
    blockTransferPSuccess.report(0.0);
    if(isLocal)
      blockTransferPSuccessLocal.report(0.0);
    if(logMINOR) Logger.minor(this, "Successful receives: "+blockTransferPSuccess.currentValue()+" count="+blockTransferPSuccess.countReports()+" realtime="+realTimeFlag);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.