summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2013-08-15 18:50:41 +0200
committerBalint Reczey <balint@balintreczey.hu>2013-08-15 18:50:41 +0200
commit2451de2244fe98300ad96345cb7e8c0a39f8bc52 (patch)
tree006c12cc9e2bdc07f9e227f7611bc2c5c30e22cf /README
parent946f8e2378ca22ef95038b946e451f65696093a2 (diff)
downloadlibfaketime-2451de2244fe98300ad96345cb7e8c0a39f8bc52.tar.gz
Advance time with each time(), gettimeofday(), etc. call
Diffstat (limited to 'README')
-rw-r--r--README6
1 files changed, 6 insertions, 0 deletions
diff --git a/README b/README
index 9a035b8..9523c74 100644
--- a/README
+++ b/README
@@ -248,6 +248,12 @@ FAKETIME="+1y x0,5"
will make the clock run only half as fast. As stated above, the fraction
delimiter depends on your locale.
+FAKETIME="+1y i2,0"
+
+will make the clock step two seconds per each time(), etc. call, running
+completely independently from the system clock. It helps running programs
+with some determinism.
+
For testing, your should run a command like
LD_PRELOAD=./libfaketime.so.1 FAKETIME="+1,5y x10,0" \