summaryrefslogtreecommitdiff
path: root/libbb/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/Config.in')
-rw-r--r--libbb/Config.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/libbb/Config.in b/libbb/Config.in
index a1ff7c0..0a3769d 100644
--- a/libbb/Config.in
+++ b/libbb/Config.in
@@ -95,4 +95,14 @@ config FEATURE_EDITING_FANCY_PROMPT
Setting this option allows for prompts to use things like \w and
\$ and escape codes.
+config MONOTONIC_SYSCALL
+ bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
+ default y
+ help
+ Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring
+ time intervals (time, ping, traceroute etc need this).
+ Probably requires Linux 2.6+. If not selected, gettimeofday
+ will be used instead (which gives wrong results if date/time
+ is reset).
+
endmenu