if(current - start == 0 || current - last_dump == 0) return;
    void dumpThroughput(StringBuffer sb, long received_msgs) {        double tmp;        long   current=System.currentTimeMillis();        //if(last_dump == 0 || (current - last_dump) <= 0) {          //  last_dump=System.currentTimeMillis();            //return;        //}        tmp=(1000 * received_msgs) / (current - start);        if(gnuplot_output)            sb.append(tmp).append(' ');        else            sb.append("total_msgs_sec=").append(tmp).append(" [msgs/sec]");        tmp=(received_msgs * msg_size) / (current - start);        if(gnuplot_output)            sb.append(tmp).append(' ');        else            sb.append("\ntotal_throughput=").append(tmp).append(" [KB/sec]");        tmp=(1000 * log_interval) / (current - last_dump);        if(gnuplot_output)            sb.append(tmp).append(' ');        else {            sb.append("\nrolling_msgs_sec (last ").append(log_interval).append(" msgs)=");            sb.append(tmp).append(" [msgs/sec]");        }        tmp=(log_interval * msg_size) / (current - last_dump);        if(gnuplot_output)            sb.append(tmp).append(' ');        else {            sb.append("\nrolling_throughput (last ").append(log_interval).append(" msgs)=");            sb.append(tmp).append(" [KB/sec]\n");        }        last_dump=current;    }