Help needed to work out the timestamp in WINEDEBUG log

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
radome
Newbie
Newbie
Posts: 3
Joined: Mon May 11, 2020 11:43 pm

Help needed to work out the timestamp in WINEDEBUG log

Post by radome » Tue May 12, 2020 12:09 am

======================
Proton: 1588276332 proton-5.0-7
SteamGameId: 365960
Command: ['blahblah/.local/share/Steam/steamapps/common/rFactor 2/Launcher/Launch rFactor.exe']
Options: {'forcelgadd'}
======================
lines omitted

1298812.468:0028:002c:trace:module:load_builtin_callback loaded ntdll.dll 0x15d60 0x7bc20000

Hi,
If I take the 1588276332 above as a unix epoch time and add 1298812 seconds to it, I get a date 3 days in the future. What am I missing here?

Thank you,

spoon0042
Level 5
Level 5
Posts: 251
Joined: Thu Dec 24, 2009 11:00 am

Re: Help needed to work out the timestamp in WINEDEBUG log

Post by spoon0042 » Tue May 12, 2020 11:36 am

It appears timestamp uses your box's uptime. 'cat /proc/uptime' should be similar.

radome
Newbie
Newbie
Posts: 3
Joined: Mon May 11, 2020 11:43 pm

Re: Help needed to work out the timestamp in WINEDEBUG log

Post by radome » Thu May 14, 2020 12:45 am

Thank you. Do you happen to know if there is a way to make it display the time another way?

spoon0042
Level 5
Level 5
Posts: 251
Joined: Thu Dec 24, 2009 11:00 am

Re: Help needed to work out the timestamp in WINEDEBUG log

Post by spoon0042 » Thu May 14, 2020 9:21 am

It doesn't look like it, no. Well, short of hacking it to do something else anyway.

spoon0042
Level 5
Level 5
Posts: 251
Joined: Thu Dec 24, 2009 11:00 am

Re: Help needed to work out the timestamp in WINEDEBUG log

Post by spoon0042 » Thu May 14, 2020 10:52 am

Or you could check /proc/uptime when you start wine then run the log through a script and subtract it from each timestamp (or however else you want). That way wouldn't require hacking and building wine yourself.

radome
Newbie
Newbie
Posts: 3
Joined: Mon May 11, 2020 11:43 pm

Re: Help needed to work out the timestamp in WINEDEBUG log

Post by radome » Sat May 16, 2020 12:36 am

Yes that worked alright. A little cumbersome but workable. Thanks agian.

Post Reply