lib/Util/TimeUnit.php
public static function getSuffix($unit, $mode = null)
    {
        self::validateUnit($unit);

        $suffix = self::$suffixes[$unit];

        if ($mode === self::MODE_THROUGHPUT) {
            return sprintf('ops/%s', $suffix);
        }

        return $suffix;
    }
public static function getSuffix($unit, $mode = null)
    {
        self::validateUnit($unit);

        $suffix = self::$suffixes[$unit];

        if ($mode === self::MODE_THROUGHPUT) {
            return sprintf('ops/%s', $suffix);
        }

        return $suffix;
    }
public static function getSuffix ( $ unit , $ mode = null ) { self :: validateUnit ( $ unit ) ; $ suffix = self :: $ suffixes [ $ unit ] ; if ( $ mode === self :: MODE_THROUGHPUT ) { return sprintf ( 'ops/%s' , $ suffix ) ; } return $ suffix ; }
Return the suffix for a given unit.

@static

@param string $unit
@param string $mode

@return string
Return the suffix for a given unit .