Timer problem/ want to note time below mili sec

actually i have to measure the time of an event so for this i need to start the timer when the event fired and stop the timer when it finishes.
I used system milli second time which always return 0, because the time is soo small.
how i can cater time which is less than milli sec ?

Look at System.nanoTime. Also note this disclaimer:
"This method provides nanosecond precision, but not necessarily nanosecond accuracy. No guarantees are made about how frequently values change"

Similar Messages

  • IPhone calendar time problem post daylight savings time change

    Addendum to the similar post about a one hour differential between iCal and iPhone. THis is not just iCal. I have the same problem on WIndows XP/Outlook 2003. Everythign worked fine until the time change last weekend. Now this is what happens:
    Any meeting set up in Outlook BEFORE Daylight Savings that has a start date BEFORE Daylight Savings appears properly on iPhone. FOr example, every Thursday beginning Nov 1 at 8am. THis shows up correct in iPhone at 8am for today, Nov 8.
    But, any meeting set up AFTER Daylight Savings shows up one hour later on the iPhone when I sync. SO a meeting I set up in OUtlook for 10am today shows up at 11am on the iPhone.
    And, any calendar event I set up on the iPhone AFTER Daylight Savings shows up one hour earlier in Outlook 2003.
    THis is a huge problem for me! Both of my calendars are wrong now. PLease help!!! I have tried everything I can:
    I tried setting up meetings with the OUtlook Daylight Savings setting enables and disabled: no change. No differnce whether I set up the meeting on my PC or it is an invitation from someone else. I lost all sync history. no change. I overwrote all calendar content (in iPhone advanced options) - no change.
    And, as my fellow poster mentions - the tiime on the two systems match.

    I think this problem is more complex. Background - UK clocks went back at the end of October; the USA went back one week later. I am in the UK and my Outlook calendar contains appointments created in the USA.
    Someone in the USA created a recurring appointment before any clocks went back. In Outlook everything is correct. The meeting times are the same each week except for the one week between the two clock changes when, quite correctly, the meeting shows up one hour earlier. When I sync with my iPhone, the meeting shows at the same time every week regardless - this is incorrect.
    Someone in the USA created a recurring appointment in the week after the UK clocks went back but before the USA clocks did. Outlook correctly shows the first occurrence as one hour earlier than all the following occurrences. Unfortunately - and this is the really nasty bit - the iPhone shows ALL the appointments one hour earlier than they should be. The only one that is correct is the first one.
    This is a nasty bug and something that Apple needs to fix.

  • SCEP scheduled scan time problem with daylight-saving time?

    Since the daylight-saving time change from last weekend (1 hour earlier) we see that a large group of SCEP clients start their scheduled scan at 11:00 where we have it set in the policy in SCCM2012 at 12:00.
    Most workstations still begin their scan at 12:00.
    Any idea?
    Regards, Bob

    I’m cleaning up old post, did you figure this out yet, if so what was the solution?
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Time machine seems to not be backing up everything

    Basically, after installing Yosemite I have this issue where most of the time I want to use Time Machine with my external HDD it says "Backing up... 1MB/6.35GB". It seems to be only backing up around about 6GB of my computer, where I know that there is definitely over 200GB of data that needs to be backed up. I have noticed that if I erase my backup HDD and then run a backup, it seems to work perfectly, however I do not want to erase my backup disk incase there happens to be a problem with the new backup which results with me not having a backup at all. Is this a bug or is it my hard disk drive? Is there a way I can fix this issue?
    Thanks
    I am running OS X Yosemite 10.10.1

    If this isn't the initial backup, Time Machine just backs up what has changed, which is a much smaller amount than the total data size.

  • Hello, I have a problem. Help me to solve it. The first time I want to buy the game and asks me to answer a security question that I do not remember. Discard them please that I introduced them to

    Hello, I have a problem. Help me to solve it. The first time I want to buy the game and asks me to answer a security question that I do not remember. Discard them please that I introduced them to

    See Kappy's great User Tips.
    See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities https://discussions.apple.com/docs/DOC-4551
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Send Apple an email request for help at: Apple - Support - iTunes Store - Contact Us http://www.apple.com/emea/support/itunes/contact.html
    Call Apple Support in your country: Customer Service: Contacting Apple for support and service http://support.apple.com/kb/HE57
     Cheers, Tom

  • Hello, I have problems with iCloud. I do not recognize the password and can neither a reset occurs every time I want to do something to stick to iCloud password but does not recognize, what to do? thank you

    Hello, I have problems with iCloud. I do not recognize the password and can neither a reset occurs every time I want to do something to stick to iCloud password but does not recognize, what to do? thank you

    Stop multiple posting

  • Is there really not an email address for tech support that you (or I, if absolutely need be) could forward my below email to?  ( I really do not want to waste time being put on hold on the phone.)  Issues times 3 - Regarding iPad 2 with IOS 7:  1.)  I can

    Is there really not an email address for tech support? ( I really do not want to waste time being put on hold on the phone.)
    However, I have 3 Issues Regarding iPad 2 with IOS 7:
    1.)  I can no longer open up the apps from the update page. (I used to be
    able to & it was a quick way of making certain that I wanted to keep an app
    before I updated it.
    2.)  I have many apps that I have updated since installing the new
    operating system & they now have "open" symbols next to them, but I don't
    know how to get them off of my update list (since that has already been
    done to them).
    3.)  My iPad has gotten stuck or frozen more in this last week since the
    new update then has in the last 2 years put together. (It seems to be stemming from the "Updates" page as sometimes  that page is just white & will not open, even though everything else opens & I have an internet connection.)

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430http://support.apple.com/kb/ht1430
     Cheers, Tom

  • I tries to backed up and storage on iCloud but its just shows down below "Estimating time remaining" but theres no time remaining !!! And i connect to the Wifi already and i buy a storage capacity !!! But its not backing so what should i do in that case !

    I tries to backed up and storage on iCloud but its just shows down below "Estimating time remaining" but theres no time remaining !!! And i connect to the Wifi already and i buy a storage capacity !!! But its not backing so what should i do in that case !!!?    

    Welcome to the Apple Community.
    First check that your device is correctly connected to the wifi/internet (settings > wifi)
    If your back up continually fails, you might try turning off back up on your mobile device (settings > iCloud > storage & backup) and then deleting the backup file from iCloud by swiping the backup file on the mobile device (settings > iCloud > storage & backup > manage…) and then turning back up on again.
    If this doesn't help, try turning off some items for back up in a pattern to try to establish if your problem is being caused by specific data on your device.
    Being able to back up to the cloud can be very useful, especially if you don't have access to a computer or have infrequent access to one, however unless you specifically need to use iCloud for back up, you will find backing up to iTunes significantly more convenient and possibly more reliable.

  • I loaded Mac OS X v10.7 Lion yesterday. Everything's running fine, except for a simple problem. Any time I want to copy a file, JPEG, etc., I am prompted "Finder wants to make changes. Type your password to allow this." I don't want this!! Is there a way

    I loaded Mac OS X v10.7 Lion yesterday. Everything’s running fine, except for a simple problem. Any time I want to copy a file, JPEG, etc., I am prompted “Finder wants to make changes. Type your password to allow this.” I don’t want this!! Is there a way to unlock “Finder” or rid this process?

    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. You can demote it back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:20 ~ $_ ; chmod -R -N ~ $_ 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you don’t have a login password, you’ll need to set one before you can run the command.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2
    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    resetpassword
    That's one word, all lower case, with no spaces. Then press return. A Reset Password window will open. You’re not going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • When i plug in the recharger, mofst of the time my ipad says not chrging. Does anyone else have the problem?

    Most of the time my charger does not work . IPAD indicates not charging when recgarger plugged in. Does antone else have the problem?

    If you continue to have the issue with a different charger and if you are having any issues syncing with your computer then you may want to take it into an apple store and have them look at it.
    The main reason I say this, I had the 30 pin dock die on my iPad, and the symptoms were that it would not charge when plugged into the wall - and with multiple chargers - and it would not sync.
    So keep an eye on it, especially if you are close to the end of your warranty.

  • Not able to make outgoing calls in iphone4. Regularly i face this problem, at the same time i receive incoming call, can do net surfing, can access email and sms, only outgoing calls get failed every time. please answer to solve this problem

    not able to make outgoing calls in iphone4. Regularly i face this problem, at the same time i receive incoming call, can do net surfing, can access email and sms, only outgoing calls get failed every time. please answer to solve this problem

    Good day Sidharth Namrta,
    It sounds like you are unable to make any calls, but you can recieve them, and everything else seems to work fine. I recommend you use the troubleshooting in the following article to help you get that resolved, named:
    iPhone: Troubleshooting issues making or receiving calls
    Follow the steps below to resolve this issue. Please test after each step.
    Toggle airplane mode: Tap Settings > Enable Airplane Mode, wait five seconds, then turn off airplane mode.
    Check your phone settings:
    Check your Do Not Disturb settings: Tap Settings > Do Not Disturb.
    Check for any blocked phone numbers: Tap Settings > Phone > Blocked.
    See if Call Forwarding is turned on: Tap Settings > Phone > Call Forwarding.
    Ensure that your software is up to date:
    Check for a carrier settings update.
    Check for an iOS software update. 
    Note: Some updates may require a Wi-Fi connection.
    If the iPhone has a SIM card, reseat the SIM card.
    If the iPhone 4 or iPhone 4s is on the Verizon network, dial *228 from the iPhone and select option 2 to update the Preferred Roaming List (PRL). The PRL determines the cellular towers the phone uses for cellular service, selecting those with the best signal strength.
    Reset the network settings: Tap  Settings > General > Reset > Reset Network Settings.
    Try to make or receive calls in another location.
    Attempt to isolate to one network band:
    If you're having the issue on LTE, disable LTE, if possible, and try again.
    If you're having the issue on 3G/4G, disable 3G/4G, if possible, and try again.
    Contact the carrier to check the following:
    Your account is properly configured to use the specific iPhone that has the issue.
    There are no localized service outages.
    Your account doesn't have a billing-related block.
    Your calls don't have errors on the carrier system.
    Restore the phone as new.
    If the above steps don't resolve the issue, go to an Apple Retail Store, carrier, Apple Authorized Reseller, or contact AppleCare to send the phone in for service.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • HT201210 every time i want to update my phone,  i see an alart message saying that the firmware file is corrupted...what do i do now....i am using 5.1.1 and it is jailbroked.......i face the same problem while restoring......plz help.....TOUFIQ

    every time i want to update my phone,  i see an alart message saying that the firmware file is corrupted...what do i do now....i am using 5.1.1 and it is jailbroked.......i face the same problem while restoring......plz help.....TOUFIQ

    Jailbroken phoned are not supported here. Anything could be wrong with it - it is jailbroken.

  • I still am having problems with Aperture not loading,  It just refuses to work, and I get the message saying it has encountered a problem, and I may need to re-install which I have done dozens of times. The fix mentioned on an earlier post wont work as it

    I still am having problems with Aperture not loading,  It just refuses to work, and I get the message saying it has encountered a problem, and I may need to re-install which I have done dozens of times. The fix mentioned on an earlier post doesn't work as it is for Ver 10.6.6 and I am running 10.6.7

    Do you have Final Cut installed on your machine?
    If so, you may want to look at this article: http://support.apple.com/kb/TS3528
    Let us know if that helps.

  • I have reinstalled snow leopard 10.6.8 and want to restore my i photos from time machine. can not find iphoto libary in time machine, can"t not find home-pict. iphoto lib.  in time machine

    i have reinstalled snow leopard 10.6.8,  and want to restore my i photos from time machine. Can not find i-photo libary in time machine, can't not find > home-pict. iphoto lib.  in time machine. Please help.

    On my HD it does not say ,restore, in yourname -pict. Iphoto lib.,
    On the time machine, it , yourname etc, oes not show up at all.
    Only right side of TM, your name etc. does not show.

  • TS2446 i have a problem in my account every time i want to install application from app Store on my iphone a message shows that my Apple ID has been disabled, what is the problem? what can i do ?

    i have a problem in my account every time i want to install application from app Store on my iphone a message shows that my Apple ID has been disabled, i creat a new password and still that message shoes ,what is the problem ?can you help me please???!!!!

    If your account is disabled then you might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
    You might then need to log out of your account on your phone by tapping on your id in Settings > iTunes & App Store and then log back in so as to 'refresh' the account on it
    If that doesn't fix it then you might need to contact iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

Maybe you are looking for

  • Macbook pro mid 2009, yosemite 10.10.2 bootcamp installation windows 7 problem

    i have a macbook pro mid 2009 and yosemite 10.10.2 installed. my bootcamp is 5.1.3 and i cant install windows 7. every time i create the usb installer and restart the mac to install windows the usb installer dont appear. what i do? I try to make a ue

  • Hyper V feature in Win 8.1 after getting installed , system is not able to boot up

    I am using Windows 8.1 professional x64 os in my Hp pavilion G6 laptop which has virtualisation technology enabled in the bios , but after enabling hyper v feature in the windows system is not able to boot up and circles around for a long time. I nee

  • Vendor publish not working from Sourcing to ECC

    Hello Experts, When we are publishing vendor from SAP Sourcing to ECC status becomes waiting for replicated and gives no error but XML is not getting created in FTP outbound folder and due to this vendors are not being able to published from sourcing

  • Sun One Java mobile Application start error

    Hi, I established sun one java mobile application builder but I coudn not start it . when it come to %27 it show me this messagebox "This application has unexpectedly has caused an ExceptionInInitializerError. This Application will now exit (LAX)" in

  • In urgent need of help regarding getting month name and dates

    Hi Experts I have a table called MONTHLYBILL with Column TRANSACTIONMONTH. I need one query / function / SP to do return ouput based on following combination. I am using Oracle 9i Have researched on various forums, documents but unable to get the des