function info() {
        var now = Date.now();
        if (congested) {
            stats.congestTime += Date.now() - congested;
            congested = now;
        }
        var took = (now - stats.startTime) / 1000;
        var bufferedAmount = peer1._channel && peer1._channel.bufferedAmount;
        return 'sent ' + n + ' received ' + stats.count + '. ' +
            'congestion #' + stats.congestCount + ' ' +
            (stats.congestTime / 1024).toFixed(3) + ' seconds. ' +
            (bufferedAmount ? 'bufferedAmount ' + bufferedAmount + '. ' : '') +
            'took ' + took.toFixed(3) + ' seconds. ' +
            'bandwidth ' + (stats.bytes / took / 1024).toFixed(0) + ' KB/s. ';
    }
/**
     * return information string on the test progress
     */
return information string on the test progress
return information string on the test progress
function info() {
        var now = Date.now();
        if (congested) {
            stats.congestTime += Date.now() - congested;
            congested = now;
        }
        var took = (now - stats.startTime) / 1000;
        var bufferedAmount = peer1._channel && peer1._channel.bufferedAmount;
        return 'sent ' + n + ' received ' + stats.count + '. ' +
            'congestion #' + stats.congestCount + ' ' +
            (stats.congestTime / 1024).toFixed(3) + ' seconds. ' +
            (bufferedAmount ? 'bufferedAmount ' + bufferedAmount + '. ' : '') +
            'took ' + took.toFixed(3) + ' seconds. ' +
            'bandwidth ' + (stats.bytes / took / 1024).toFixed(0) + ' KB/s. ';
    }
function info ( ) { var now = Date . now ( ) ; if ( congested ) { stats . congestTime += Date . now ( ) - congested ; congested = now ; } var took = ( now - stats . startTime ) / 1000 ; var bufferedAmount = peer1 . _channel && peer1 . _channel . bufferedAmount ; return 'sent ' + n + ' received ' + stats . count + '. ' + 'congestion #' + stats . congestCount + ' ' + ( stats . congestTime / 1024 ) . toFixed ( 3 ) + ' seconds. ' + ( bufferedAmount ? 'bufferedAmount ' + bufferedAmount + '. ' : '' ) + 'took ' + took . toFixed ( 3 ) + ' seconds. ' + 'bandwidth ' + ( stats . bytes / took / 1024 ) . toFixed ( 0 ) + ' KB/s. ' ; }
return information string on the test progress
return information string on the test progress