From: Jens Axboe Date: Tue, 30 Sep 2014 03:32:43 +0000 (-0600) Subject: exp: update man page and HOWTO X-Git-Tag: fio-2.1.14~101^2~9 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=d59aa7802c701008e9096e1273ac51a0fb36581c;p=fio.git exp: update man page and HOWTO Signed-off-by: Jens Axboe --- diff --git a/HOWTO b/HOWTO index e770b99d..57911b43 100644 --- a/HOWTO +++ b/HOWTO @@ -253,7 +253,20 @@ machine. This section describes in details each parameter associated with a job. Some parameters take an option of a given type, such as an integer or -a string. The following types are used: +a string. Anywhere a numeric value is required, an arithmetic expression +may be used, provided it is surrounded by parentheses. Supported operators +are: + + addition (+) + subtraction (-) + multiplication (*) + division (/) + modulus (%) + exponentiation (^) + +For time values in expressions, units are microseconds by default. This is +different than for time values not in expressions (not enclosed in +parentheses). The following types are used: str String. This is a sequence of alpha characters. time Integer with possible time suffix. In seconds unless otherwise diff --git a/fio.1 b/fio.1 index 01c7cec0..b4dec915 100644 --- a/fio.1 +++ b/fio.1 @@ -117,13 +117,27 @@ may override any parameter set in global sections. .SS Types Some parameters may take arguments of a specific type. Anywhere a numeric value is required, an arithmetic expression may be used, -provided it is surrounded by parentheses. -Supported operators are -addition, subtraction, multiplication, division, modulus, and exponentiation. -For time values in expressions -units are microseconds by default. This is different than for time -values not in expressions (not enclosed in parentheses). -The types used are: +provided it is surrounded by parentheses. Supported operators are: +.RS +.RS +.TP +.B addition (+) +.TP +.B subtraction (-) +.TP +.B multiplication (*) +.TP +.B division (/) +.TP +.B modulus (%) +.TP +.B exponentiation (^) +.RE +.RE +.P +For time values in expressions, units are microseconds by default. This is +different than for time values not in expressions (not enclosed in +parentheses). The types used are: .TP .I str String: a sequence of alphanumeric characters.