Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 27th January 2012, 08:45 PM
mdberger Offline
Registered User
 
Join Date: Oct 2011
Posts: 60
windows_xp_2003firefox
Time Discrepency

On F16_64 in a complex C++ program, I first check the time with:

timespec ts_;
clock_gettime(CLOCK_REALTIME,&ts_);

and get:
15:33:00.000108220

A little later I check with:

time_t timeI;
time(&timeI);

and get:
15:32:59

Earlier! So what's happening?

Thanks for your help.
Mike.
Reply With Quote
 

Tags
discrepency, time

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The system date and time is changing automatically, even after I set the correct time siva Using Fedora 8 31st July 2010 03:07 PM
Fedora 8 dual boot with Windows XP [Pavilion dv6137tx] Time gets reset every time! maverick280857 Hardware & Laptops 5 23rd March 2008 11:48 AM
FC5 light blue stripes all over the desktop from time to time paidopoieo Using Fedora 4 10th May 2006 04:36 PM


Current GMT-time: 01:29 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat