diff options
author | Balint Reczey <balint@balintreczey.hu> | 2013-08-15 18:50:41 +0200 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2013-08-15 18:50:41 +0200 |
commit | 2451de2244fe98300ad96345cb7e8c0a39f8bc52 (patch) | |
tree | 006c12cc9e2bdc07f9e227f7611bc2c5c30e22cf /README | |
parent | 946f8e2378ca22ef95038b946e451f65696093a2 (diff) | |
download | libfaketime-2451de2244fe98300ad96345cb7e8c0a39f8bc52.tar.gz |
Advance time with each time(), gettimeofday(), etc. call
Diffstat (limited to 'README')
-rw-r--r-- | README | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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" \ |