Examples of gather()


Examples of collage.utils.FeatureCollector.gather()

    xRemaining = img.getWidth()-1;
    for (int x = 0; x < img.getWidth(); x += wStep) {
      yRemaining = img.getHeight()-1;
      for (int y = 0; y < img.getHeight(); y += hStep) {
        rect = new Rectangle(x,y,Math.min(wStep, xRemaining),Math.min(hStep, yRemaining))
        fs = fc.gather(img.getSubimage(x, y, rect.width, rect.height), "", cellDim);
        grid.add(new Cell(rect,fs));
        yRemaining -= hStep;
      }
      xRemaining -= wStep;
    }
View Full Code Here

Examples of no.uib.cipr.matrix.distributed.Communicator.gather()

        for (int i = 0; i < t.length; ++i) {
            final int rank = i;
            t[i] = new Thread(new Runnable() {
                public void run() {
                    Communicator comm = coll.createCommunicator(rank);
                    comm.gather(send[rank], recv, 0);
                }
            });

            t[i].start();
        }
View Full Code Here

Examples of org.hyperic.sigar.ProcMem.gather()

        total += count;
        bytes += b;
        headers += h;
        double delta = ((double) te - (double) ts) / 1000.;

        pm.gather(sig, pid);

        System.out.printf(
            "tot=%.1f packets=%d pps=%.0f bytes=%.0fKb/s hdr=%.0f/s "
                + "hdr=%.0fus rm=%dKb pm=%.1fb vm=%dKb\n",
            ((double) total) / 1024 / 1024, count, ((double) count / delta),
View Full Code Here

Examples of org.hyperic.sigar.ProcMem.gather()

        total += count;
        bytes += b;
        headers += h;
        double delta = ((double) te - (double) ts) / 1000.;

        pm.gather(sig, pid);

        System.out.printf(
            "tot=%.1f packets=%d pps=%.0f bytes=%.0fKb/s hdr=%.0f/s "
                + "hdr=%.0fus rm=%dKb pm=%.1fb vm=%dKb\n",
            ((double) total) / 1024 / 1024, count, ((double) count / delta),
View Full Code Here

Examples of org.hyperic.sigar.ProcMem.gather()

        total += count;
        bytes += b;
        headers += h;
        double delta = ((double) te - (double) ts) / 1000.;

        pm.gather(sig, pid);

        System.out.printf(
            "tot=%.1fMp packets=%d pps=%.0f bytes=%.0fKb/s hdr=%.0f/s "
                + "hdr=%.0fus rm=%dKb pm=%.1fb vm=%dKb\n",
            ((double) total) / 1024 / 1024, count, ((double) count / delta),
View Full Code Here

Examples of org.hyperic.sigar.ProcMem.gather()

        total += count;
        bytes += b;
        headers += h;
        double delta = ((double) te - (double) ts) / 1000.;

        pm.gather(sig, pid);

        System.out
            .printf("tot=%.1f packets=%d pps=%.0f bytes=%.0fKb/s hdr=%.0f/s "
                + "hdr=%.0fus rm=%dKb pm=%.1fb vm=%dKb\n",
                ((double) total) / 1024 / 1024,
View Full Code Here

Examples of org.hyperic.sigar.ProcMem.gather()

        total += count;
        bytes += b;
        headers += h;
        double delta = ((double) te - (double) ts) / 1000.;

        pm.gather(sig, pid);

        System.out
            .printf("tot=%.1fMpkts packets=%d pps=%.0f bytes=%.0fKb/s hdr=%.0f/s "
                + "hdr=%.0fus rm=%dKb pm=%.1fb vm=%dKb\n",
                ((double) total) / (1000000),
View Full Code Here

Examples of org.hyperic.sigar.ProcMem.gather()

        total += count;
        bytes += b;
        headers += h;
        double delta = ((double) te - (double) ts) / 1000.;

        pm.gather(sig, pid);

        System.out.printf("#%-2d %s: ",
            loop,
            new Time(System.currentTimeMillis()));
        System.out
View Full Code Here

Examples of org.hyperic.sigar.ProcMem.gather()

        headers += h;
        double delta = ((double) te - (double) ts) / 1000.;
        double hps = (h / delta);
        double sph = 1000000000. / (h / delta);

        pm.gather(sig, pid);

        System.out.printf("#%-2d %s: ",
            loop,
            new Time(System.currentTimeMillis()));
        System.out.printf("tot=%.1fMp " + "packets=%d " + "pps=%.0f(%.1fus) "
View Full Code Here

Examples of org.hyperic.sigar.ProcMem.gather()

      if (i % (COUNT / LINES) == 0 && i != 0) {
        // System.out.println();

        loop++;
        te = System.currentTimeMillis();
        pm.gather(sig, pid);
        total += count;
        bytes += b;
        headers += h;
        double delta = ((double) te - (double) ts) / 1000.;
        double hps = (h / delta);
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.