diff options
author | Wolfgang Hommel <wolfgang.hommel@unibw.de> | 2019-08-20 13:08:36 +0200 |
---|---|---|
committer | Wolfgang Hommel <wolfgang.hommel@unibw.de> | 2019-08-20 13:08:36 +0200 |
commit | b855b8a0d354a1958f58be3713f78ba7583196ad (patch) | |
tree | 421ac305408675b3373d42f6255fb0a9e03e51ae /README | |
parent | 29efeed24735167c2b07aade65d3510420421c68 (diff) | |
download | libfaketime-b855b8a0d354a1958f58be3713f78ba7583196ad.tar.gz |
Updated documentation regarding offset specification on x/i modifiers
Diffstat (limited to 'README')
-rw-r--r-- | README | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -281,6 +281,11 @@ completely independently of the system clock. It helps running programs with some determinism. In this single case all spawned processes will use the same global clock without restarting it at the start of each process. +Please note that using "x" or "i" in FAKETIME still requires giving an offset +(see section 4d). This means that "+1y x2" will work, but "x2" only will not. +If you do not want to fake the time, but just modify clock speed, use something +like "+0 x2", i.e., use an explizit zero offset as a prefix in your FAKETIME. + For testing, your should run a command like LD_PRELOAD=./libfaketime.so.1 FAKETIME="+1,5y x10,0" \ |