×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Super Contributor
    Join Date
    Jul 2007
    Location
    Beijing, China
    Posts
    538

    what's the standard timer resolution of s60?

    hi,
    The book "The Accredited Symbian Developer Primer" depicts that the standard timer resolution is 1/64th second. However,I don't really believe it. Because CTimer::After(100) can be successfully called and run normally on phone device. So what's the timer resolution?

    thanks.

  2. #2
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: what's the standard timer resolution of s60?

    well how do you know that CTimer::After takes exactly 100 micro seconds... ? well it could be that any lower resolution given, it takes the minimum possible and does the job !
    Amit Kankani
    Nokia Developer Champion

  3. #3
    Super Contributor
    Join Date
    Jul 2007
    Location
    Beijing, China
    Posts
    538

    Re: what's the standard timer resolution of s60?

    I'd like to know the minimum value CTimer::After may take, do you know?

  4. #4
    Registered User
    Join Date
    Dec 2005
    Posts
    1,236

    Re: what's the standard timer resolution of s60?

    Check the member variable of CTimer I think it stores the timer value in TTimeIntervalMicroSeconds what is the least value it can take is your timer resolution.
    Regards,
    Sriky

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: what's the standard timer resolution of s60?

    What is 'successfully called and run normally'? Should it explode or something? Anyway, if you want, you may simply count how many times a CTimer::After(100) completes in a second. My guess is that it is not going to be 10000, but somewhere around 64.

  6. #6
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: what's the standard timer resolution of s60?

    Hi,

    the tick is really the 1/64 seconds (15.625 milliseconds). If you need high resoltion timer you can check RTimer::HighRes().

    BR
    STeN

  7. #7
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: what's the standard timer resolution of s60?

    Quote Originally Posted by wizard_hu_ View Post
    What is 'successfully called and run normally'? Should it explode or something? Anyway, if you want, you may simply count how many times a CTimer::After(100) completes in a second. My guess is that it is not going to be 10000, but somewhere around 64.
    thats exactly what I meant from my post...


    however, a question here, if the resolution is that high as 1/64th of a second, then why provide the API accepting microseconds ! well future compatibility ? don't know. !
    Amit Kankani
    Nokia Developer Champion

  8. #8
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: what's the standard timer resolution of s60?

    my guess is it may be due to granularity.

  9. #9
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: what's the standard timer resolution of s60?

    Download Symbian OS now! [url]http://developer.symbian.org[/url]

Similar Threads

  1. ANN: Accredited S60 Developer Program
    By Nokia Ron in forum Feedback - Nokia Developer Services & Infrastructure
    Replies: 3
    Last Post: 2012-03-26, 22:33
  2. When can you set the screensaver's Refresh Timer Value?
    By azhrei in forum Symbian Tools & SDKs
    Replies: 6
    Last Post: 2008-08-23, 10:12
  3. inactivity timer, backlight, system dialogue windows.
    By davidmaxwaterman in forum Series 40 & S60 Platform Feedback Archive
    Replies: 0
    Last Post: 2007-05-24, 03:11
  4. Replies: 5
    Last Post: 2006-04-21, 04:40
  5. Timer delay between playbacks???
    By lalitsharma in forum Symbian
    Replies: 3
    Last Post: 2005-09-09, 11:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×