Closed ZetaTwo closed 5 years ago
./test/time Time: 1572342926 Time: 1572342926.702952 TZ: -0 min, DST: 0 LD_PRELOAD=./x86_64-linux-gnu/detime.so ./test/time Time: 0 Time: 0.0 TZ: -0 min, DST: 0 LD_PRELOAD=./x86_64-linux-gnu/detime.so PREENY_DEBUG=1 TV_SEC=10 TV_USEC=100 TZ_MINWEST=3 TZ_DSTTIME=1 ./test/time +++ time frozen at 0 Time: 0 +++ gettimeofday frozen at 10.100 +++ gettimeofday tz frozen at -3 minm, DST: 100 Time: 10.100 TZ: -3 min, DST: 1
./test/time Time: 1572342926 Time: 1572342926.702952 TZ: -0 min, DST: 0
LD_PRELOAD=./x86_64-linux-gnu/detime.so ./test/time Time: 0 Time: 0.0 TZ: -0 min, DST: 0
LD_PRELOAD=./x86_64-linux-gnu/detime.so PREENY_DEBUG=1 TV_SEC=10 TV_USEC=100 TZ_MINWEST=3 TZ_DSTTIME=1 ./test/time +++ time frozen at 0 Time: 0 +++ gettimeofday frozen at 10.100 +++ gettimeofday tz frozen at -3 minm, DST: 100 Time: 10.100 TZ: -3 min, DST: 1