.TP
.BI "\-O " overhead
Set the overhead for tracing system calls to
-.I overhead
-microseconds.
+.IR overhead .
This is useful for overriding the default heuristic for guessing
how much time is spent in mere measuring when timing system calls using
the
and comparing the accumulated
system call time to the total produced using
.BR \-c .
+.IP
+The format of
+.I overhead
+specification is described in section
+.IR "Time specification format description".
.TP
.BI "\-S " sortby
Sort the output of the histogram printed by the
each system call. The default is to summarise the system time.
.SS Tampering
.TP 12
-\fB\-e\ inject\fR=\,\fIset\/\fR[:\fBerror\fR=\,\fIerrno\/\fR|:\fBretval\fR=\,\fIvalue\/\fR][:\fBsignal\fR=\,\fIsig\/\fR][:\fBsyscall\fR=\fIsyscall\fR][:\fBdelay_enter\fR=\,\fIusecs\/\fR][:\fBdelay_exit\fR=\,\fIusecs\/\fR][:\fBwhen\fR=\,\fIexpr\/\fR]
+\fB\-e\ inject\fR=\,\fIset\/\fR[:\fBerror\fR=\,\fIerrno\/\fR|:\fBretval\fR=\,\fIvalue\/\fR][:\fBsignal\fR=\,\fIsig\/\fR][:\fBsyscall\fR=\fIsyscall\fR][:\fBdelay_enter\fR=\,\fIdelay\/\fR][:\fBdelay_exit\fR=\,\fIdelay\/\fR][:\fBwhen\fR=\,\fIexpr\/\fR]
Perform syscall tampering for the specified set of syscalls.
.IP
At least one of
that signal is delivered on entering every syscall specified by the
.IR set .
.IP
-If :\fBdelay_enter\fR=\,\fIusecs\/\fR or :\fBdelay_exit\fR=\,\fIusecs\/\fR
+If :\fBdelay_enter\fR=\,\fIdelay\/\fR or :\fBdelay_exit\fR=\,\fIdelay\/\fR
options are specified, delay injection is performed: the tracee is delayed
-by at least
-.IR usecs
-microseconds on entering or exiting the syscall.
+by time period specified by
+.IR delay
+on entering or exiting the syscall, respectively.
+The format of
+.I delay
+specification is described in section
+.IR "Time specification format description".
.IP
If :\fBsignal\fR=\,\fIsig\/\fR option is specified without
:\fBerror\fR=\,\fIerrno\/\fR, :\fBretval\fR=\,\fIvalue\/\fR or
is delivered without a syscall fault or delay injection.
Conversely, :\fBerror\fR=\,\fIerrno\/\fR or
:\fBretval\fR=\,\fIvalue\/\fR option without
-:\fBdelay_enter\fR=\,\fIusecs\/\fR,
-:\fBdelay_exit\fR=\,\fIusecs\/\fR or
+:\fBdelay_enter\fR=\,\fIdelay\/\fR,
+:\fBdelay_exit\fR=\,\fIdelay\/\fR or
:\fBsignal\fR=\,\fIsig\/\fR options injects a fault without delivering a signal
or injecting a delay, etc.
.IP
.B \-\-version
Print the version number of
.BR strace .
+.SS "Time specification format description"
+.PP
+Time values can be specified as a decimal floating point number
+(in a format accepted by
+.BR strtod (3)),
+optionally followed by one of the following suffices that specify
+the unit of time:
+.B s
+(seconds),
+.B ms
+(milliseconds),
+.B us
+(microseconds), or
+.B ns
+(nanoseconds).
+If no suffix is specified, the value is interpreted as microseconds.
+.PP
+The described format is used for
+.BR \-O ", " "\-e inject" = delay_enter ", and " "\-e inject" = delay_exit
+options.
.SH DIAGNOSTICS
When
.I command