public void draw(GOut g) {
        long[] ttl = new long[prof.hist.length];
        for (int i = 0; i < prof.hist.length; i++) {
            if (prof.hist[i] != null)
                ttl[i] = prof.hist[i].total;
        }
        Arrays.sort(ttl);
        int ti = ttl.length;
        for (int i = 0; i < ttl.length; i++) {
            if (ttl[i] != 0) {
                ti = ttl.length - ((ttl.length - i) / 10);
                break;
            }
        }
        if (ti < ttl.length)
            mt = ttl[ti];
        else
            mt = 50000000;
        g.image(prof.draw(h, mt / h), new Coord(10, 10));
    }