From d59aa7802c701008e9096e1273ac51a0fb36581c Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 29 Sep 2014 21:32:43 -0600 Subject: [PATCH] exp: update man page and HOWTO Signed-off-by: Jens Axboe --- HOWTO | 15 ++++++++++++++- fio.1 | 28 +++++++++++++++++++++------- 2 files changed, 35 insertions(+), 8 deletions(-) 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. -- 2.25.1