Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added gettimeofday() to detime.so #65

Merged
merged 1 commit into from
Oct 29, 2019
Merged

Added gettimeofday() to detime.so #65

merged 1 commit into from
Oct 29, 2019

Conversation

ZetaTwo
Copy link
Contributor

@ZetaTwo ZetaTwo commented Oct 29, 2019

./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

@zardus zardus merged commit 4a67ed9 into zardus:master Oct 29, 2019
@ZetaTwo ZetaTwo deleted the gettimeofday branch October 30, 2019 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants