Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
61 user(s) are online (49 user(s) are browsing Forums)

Members: 0
Guests: 61

more...

Support us!

Headlines

Report message:*
 

Re: timemeasure function give 0ms ?

Subject: Re: timemeasure function give 0ms ?
by thomas on 2018/12/5 12:47:53


Probably because your time stamp calculation overflows. Your GetTimeStamp() function always returns -1.

It works better if you use (tNow.tv_sec % 86400), but might give wrong results around midnight.


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project