FreeBSD Bulletin Board
FreeBSD Directory
   Add url

Newest Messages
(05/06/08 09:37)
FreeBSD South America

'clock_gettime vs gettimeofday'

* FreeBSD * South America * Blog *






FreeBSD General - FreeBSD General
clock_gettime vs gettimeofday

ketamin from Tel-Aviv -

Did someone encounter difference between clock_gettime and gettimeofday?

I observed that sometimes clock_gettime timestamp jump 1 hour forth and immediate 1 hour back.

When gettimeofday shows expected time.

No ntpd run on the machine. FreeBSD 4.11.

If this is not a rigth forum, please advice the place to ask my question,

I'll appreciate any information regarding this problem.

Thanks


Comment #1 Alexis Sarghel (201.253.161.128) - Mon Mar 31 11:51:28 2008

Read this.

http:// unix. derkeiler . com / Mailing-Lists / FreeBSD / hackers / 2005-06 / 0369 . html

http:// www . nabble . com / Xorg - vs - gettimeofday() - and - clock _ gettime() - td15676548 . html

http://fuse4bsd . creo . hu / localcgi/ man-cgi.cgi ? clock_gettime + 2

http://fuse4bsd . creo . hu / localcgi / man-cgi.cgi ? gettimeofday + 2

A+


You are not logged in. It is recommeded that you post messages and comments with a FreeBSD South America profile. You can login or register. You will be protected from spam and have more features. Registration is quick and easy. You can also post as a casual user with the form below. Your IP address will be published with your email address (if provided below).

Submit a follow up to this message.

Please submit a new reply here. HTML is not allowed and you are encouraged to seperate your paragraphs with a double blank line for readablity. More fun in the sun. Please make sure your message is interesting and relevant to FreeBSD General, and this message: If you wish to start a new message click here. FreeBSD South America

clock_gettime vs gettimeofday; FreeBSD General

Everything you enter will be published.

Name:           
E-Mail:         

Optional (please add to our directory first)
Web Link:       
Link Title:     

Message:




FreeBSD South America Submit Reply. Please do not submit the same message more than once.




Login or Register

FreeBSD South America Message Forum

Top Searches: • difference between gettimeofday and clock gettime • clock gettime gettimeofday • clock gettimeofday • freebsd gettimeofday • freebsd gettime • gettimeofday freebsd • gettimeofday vs clock • time vs gettimeofday • freebsd gettimeofday example • clock gettime bsd • clock gettime •

For the full benefit of FreeBSD South America website please register and login. You can upload your photos and interact with other users better.

Login with Email: Password:
Not a member? Register: Register for FreeBSD South America

Note: once you register your email address with FreeBSD South America it is used across our whole network of forums and blogs. You can create seperate profiles for each forum or blog, but use the same login.



South American Message Forums

* www * com * 'clock_gettime vs gettimeofday'
Have you added a link to us from your website? (4522):

clock_gettime vs gettimeofday; FreeBSD General

Website copyright (c) 2006, 2007 GLR Sales LLC.



(eqwzeyrzwuwzweo)

Privacy Policy
FreeBSD General 'clock_gettime vs gettimeofday'