Yield and sleep

Hello!
I have some questions.
In the code below i use sleep instead of yield to make it look like both threads are executing at the same time because the yield function does not have that effect on a unix system.
It works even thougt i just sleep for 0 milliseconds. Is it correct to do it this way or are there any problems with it. I guess the program will be slower if i sleep for ie 50 ms.
Lets assume that i have two processors. Is it then unneccesary sleep?
Why does the yield function not work on sun os?
class Threads
                     public static void main(String[] args)
          Thread1 t1 = new Thread1();
          Thread2 t2 = new Thread2();
          Thread thread1 = new Thread(t1);
          thread1.start();
          Thread thread2 = new Thread(t2);
          thread2.start();
class Thread1 implements Runnable
         synchronized public void run()
          for (int i = 0; i < 10; i++)
                   System.out.println("Thread1");
                   try
                                                                Thread.sleep(0);
                   catch (InterruptedException e){}
                   //Thread.yield();
class Thread2 implements Runnable
         synchronized public void run()
          for (int i = 0; i < 10; i++)
                   System.out.println("Thread2");
                   try
                                                                  Thread.sleep(0);
                   catch (InterruptedException e){}
                   //Thread.yield();
}

The rules for threads don't state that threads of equal priority will be dispatched in a round-robin fashion, its strictly first come, first served, so if your initial thread is always ready to go again, yield may well not release control to the other thread. sleep - even sleep(0) apparently pauses the action long enough that the other thread is the only one despatchable and off it goes.
As hiwa mentioned, as soon as you have real logic in each thread this issue will probably go away.

Similar Messages

  • Thread yield() and sleep()

    what is the different bettween yield() and sleep() method
    in thread
    i think sleep() method make the called thread to wait then
    make the way to enter any other
    but yield() also do same but dont allow lower priority threads
    allow only higher priority thread.
    is this correct?

    Thread.yield() is used to give other threads a chance to get a processor time slice, according to the thread dispatcher rules. If there are no other threads ready to run, the current thread will gain the processor again.
    Thread.sleep() will always release the processor for at least the amount of time specified, even if there are no other threads requesting it.

  • Thread.yield() and Thread.sleep(), what's the difference

    Folks'es,
    can anyone enlighten me, as to the difference between yield() and sleep() in the Thread class?
    i know, with sleep, one can specify the amount of time to sleep, but does that mean the thread yields for that amount of time?
    if i use yield(), how long will my thread stop running?
    any information is appreciated
    thomas

    Thread.yield() is used to give other threads a chance to get a processor time slice, according to the thread dispatcher rules. If there are no other threads ready to run, the current thread will gain the processor again.
    Thread.sleep() will always release the processor for at least the amount of time specified, even if there are no other threads requesting it.

  • My iphone 4 wont turn on. it justr randomnly turned off and i have tried to hold the home and sleep buttons for a minute and also tried to put it into recovery mode but nothing is working?

    my iphone 4 wont turn on. it justr randomnly turned off and i have tried to hold the home and sleep buttons for a minute and also tried to put it into recovery mode but nothing is working?

    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    But... if the Device has been Modified... this will Not necessarily work.

  • Smartband and sleep as an droid

    Hi I just got an Z2 with an swr10 included, and I have used sleep as an droid  for a long time,I found that you are recommending "sleep as an droid" and even have it listed in "Sony select" that is why I was surprised that it do not support the swr10 smartband, so I posted a question on their forum ( https://groups.google.com/forum/embed/?parenturl=https%3A%2F%2Fsites.google.com%2Fsite%2Fsleepasandroid%2Fforum&service=jotspot&ul=1&place=forum%2Fsleep-as-an-droid&showpopout=true&showsearch=true#!topic/sleep-as-an-droid/NoBF7UV4m90 ) and to my suprize they do not have any api information on swr10 so it's not posible for them to support swr10 at the moment. Could you please provide them with the needed information to get Smartband and  sleep as an droid working together both with sensors and vibration alarm //Micke.

    I'd like to see integrtaion with myfitnesspal.com and similar sites.  They already support over 50 apps and fitness trackers, I'd like to see the SWR10 get added to that list.  I've heard (but not confitmed) that they (myfitnesspal) do the intergration, they just need the web API to get to the step and related data.

  • Ipod touch 4th gen needed a new screen and sleep/wake switch.  So, I replace them.  I was able to get to settings and do "erase all content and settings".  I am not able to totally shut this device off as it keeps restarting after a few seconds.

    Ipod touch 4th gen needed a new screen and sleep/wake switch.  So, I replace them.  I was able to get to settings and do "erase all content and settings".  I am not able to totally shut this device off as it keeps restarting after a few seconds.  I have used itunes to restore and also recover.  Device will actually shut off and stay shut off if I leave it connected to the computer.  The moment I unplug (3 seconds) the apple logo appears, it boots, unlock screen appears, I can unlock and operate normally, unplugged or not.  Just cant get it to completely shut down unplugged.  Any thoughts?

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer                            
      - If still not successful that usually indicates a hardware problem. Maybe you installed a bad component or damaged something during the repair/replacement.
    Apple will not help since you worked on the iPod yourself.

  • Lenovo G560 Hibernation AND Sleep DISABLED

    Hello !
    My Lenovo G560 laptop HIBERNATION and SLEEP modes availability are DISABLED and I cannot get my laptop into any of these modes !
    It used to work and stopped working all of a sudden ! I don't know why!!
    Please help me I have the onboard Intel graphics, 32bit version no bluetooth and the all regular simple Lenovo G560. I'm not a great computer informative so please don't ask any difficult questions but help me with working solutions !
    You must know how troublesome it is without these modes. Please help me !
    Thanks alot !!

    Hi Barakp.
    This short video will show you how to re-enable sleep/hybernate on your laptop!.
    It seems there is no option to add video so i will send send via PM.
    Tried to PM you but can`t add video... So here goes.
    Click start then open control panel.
    Once open Select Power options.
    On the left of the screen you will see the option (Choose what the power button does) Click on that.
    On the next screen that opens you will see all power options at the bottom. Those may be greyed out.
    To access them click (Change settings that are currenly unavailable) You will find that at the top of your screen.
    Check mark the boxes for Sleep & Hybernate, Then save changes, Those options should now be available.
    Hope thats helped!
    Catt

  • My iphone6 screen is off since last few days i have tried all the options like pressing the home and sleep button together but still its not switching it on before it was getting hanged quite often it had full battery charged but still it is off

    my iphone6 screen is off since last few days i have tried all the options like pressing the home and sleep button together but still its not switching it on before it was getting hanged quite often it had full battery charged but still it is off can anyone please help ......

    hi i m currently in pakistan and there is no apple store here . i will b back to australia after 2 weeks i was wondering if thei can b any fix as i have all my contacts and everything else in my mobile

  • Lines on screen, can't reset w home and sleep button at same time

    Lines on screen, can't reset w home and sleep button at same time. Any advise.  4th gen. 32g touch

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar

  • Thunderbolt Drives won't spin down and sleep in Mountain Lion

    In Lion when I put my iMac to sleep, the external Thunderbolt Drives would spin down and sleep as well. In Mountain Lion, when I put my iMac to sleep, the external Thunderbolt drives do NOT spin down and sleep. Can anyone confirm or duplicate this issue?

    I have the same behavior, however I'm using the TB to FW800 adapter. I have 6 FW800 drives in a chain. All would sleep when MBP was put to sleep under 10.8.5 (ironically fixed after 10.8.4, now broken in 10.9).
    Seeing the same issue with native TB drives makes me think it's a problem with TB software in general.

  • Bluetooth Not Available and Sleep Problem

    Please could somebody offer some suggestions for my problem.
    I have a similar problem to some posts on this forum. My bluetooth status becomes "not available" after differing amounts of time.
    I do not think it is linked with USB devices because it has happened without connecting devices. When this has happened and I close the lid, it turns off the screen but the white on the front stays solid (does not flash). After that, I cannot wake my macbook and have to hold the power to reset.
    When it has restarted the bluetooth and sleep work perfectly.
    Thanks in advance,
    H

    did you read this link yet:
    http://discussions.apple.com/thread.jspa?threadID=1172382&tstart=0

  • Parameters for Yield and Scrap quantities in BAPI MB_CREATE_GOODS_MOVEMENT

    Hi All,
    I am using BAPI MB_CREATE_GOODS_MOVEMENT and MB_POST_GOODS_MOVEMENT to carry out the confirmation and Unplanned Goods Reciept.
    Which parameters in MB_CREATE_GOODS_MOVEMENT i have to use for passing Yield and Scrap quantities.
    And from which table i can fetch the Material for the Order? Can i use AFKO for the material number.
    Please give some inputs on how to use these Function Modules.
    Can i use only MB_CREATE_GOODS_MOVEMENT for the confirmation.
    Thanks,
    Anil.

    Hi,
    I presume you are referring to production order confirmation. Refer these:
    BAPI_PRODORDCONF_CREATE_ACT    Enter activity confirmation
    BAPI_PRODORDCONF_CREATE_HDR    Enter Order Confirmations
    BAPI_PRODORDCONF_CREATE_TE     Enter Time Event Confirmation
    BAPI_PRODORDCONF_CREATE_TT     Enter Time Ticket Confirmation
    Regards

  • My computer won't shutdown and sleep

    I'm using Windows 8.1 Pro x64 and my computer won't shutdown and sleep. When i try to shutdown pc, everything shutsdown (hdd etc.) but only fans and led's stay on. I have to press power button to shut it down. Even i try to sleep the pc everything shutsdown
    but fans and stuff is still on i have to press power button to completely turn it off. I tried to write powercfg -energy code to command prompt and i got 8 errors and 7 warnings. How to solve that problem?
    This is what i got:
    Power Efficiency Diagnostics Report
    Computer Name
    DARKORION11
    Scan Time
    2014-08-13T14:06:49Z
    Scan Duration
    60 seconds
    System Manufacturer
    System manufacturer
    System Product Name
    System Product Name
    BIOS Date
    03/18/2014
    BIOS Version
    0805
    OS Build
    9600
    Platform Role
    PlatformRoleDesktop
    Plugged In
    true
    Process Count
    67
    Thread Count
    971
    Report GUID
    {ca7e44e7-3f05-4462-9ce9-72cb0493f6df}
    Analysis Results
    Errors
    System Availability Requests:System Required Request
    The program has made a request to prevent the system from automatically entering sleep.
    Requesting Process
    \Device\HarddiskVolume1\Program Files\Windows Media Player\wmpnetwk.exe
    System Availability Requests:System Required Request
    The device or driver has made a request to prevent the system from automatically entering sleep.
    Driver Name
    \FileSystem\srvnet
    USB Suspend:USB Device not Entering Selective Suspend
    This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.
    Device Name
    USB Composite Device
    Host Controller ID
    PCI\VEN_8086&DEV_1E26
    Host Controller Location
    PCI bus 0, device 29, function 0
    Device ID
    USB\VID_09DA&PID_90C0
    Port Path
    1,5
    USB Suspend:USB Device not Entering Selective Suspend
    This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.
    Device Name
    USB Root Hub
    Host Controller ID
    PCI\VEN_8086&DEV_1E26
    Host Controller Location
    PCI bus 0, device 29, function 0
    Device ID
    USB\VID_8086&PID_1E26
    Port Path
    USB Suspend:USB Device not Entering Selective Suspend
    This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.
    Device Name
    Generic USB Hub
    Host Controller ID
    PCI\VEN_8086&DEV_1E26
    Host Controller Location
    PCI bus 0, device 29, function 0
    Device ID
    USB\VID_8087&PID_0024
    Port Path
    1
    USB Suspend:USB Device not Entering Selective Suspend
    This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.
    Device Name
    USB Composite Device
    Host Controller ID
    PCI\VEN_8086&DEV_1E26
    Host Controller Location
    PCI bus 0, device 29, function 0
    Device ID
    USB\VID_09DA&PID_9090
    Port Path
    1,6
    CPU Utilization:Processor utilization is high
    The average processor utilization during the trace was high. The system will consume less power when the average processor utilization is very low. Review processor utilization for individual processes to determine which applications and services contribute
    the most to total processor utilization.
    Average Utilization (%)
    6.38
    Platform Power Management Capabilities:PCI Express Active-State Power Management (ASPM) Disabled
    PCI Express Active-State Power Management (ASPM) has been disabled due to a known incompatibility with the hardware in this computer.
    Warnings
    Platform Timer Resolution:Platform Timer Resolution
    The default platform timer resolution is 15.6ms (15625000ns) and should be used whenever the system is idle. If the timer resolution is increased, processor power management technologies may not be effective. The timer resolution may be increased due to
    multimedia playback or graphical animations.
    Current Timer Resolution (100ns units)
    10005
    Maximum Timer Period (100ns units)
    156250
    Platform Timer Resolution:Outstanding Timer Request
    A program or service has requested a timer resolution smaller than the platform maximum timer resolution.
    Requested Period
    10000
    Requesting Process ID
    4120
    Requesting Process Path
    \Device\HarddiskVolume1\Windows\System32\audiodg.exe
    CPU Utilization:Individual process with significant processor utilization.
    This process is responsible for a significant portion of the total processor utilization recorded during the trace.
    Process Name
    chrome.exe
    PID
    2428
    Average Utilization (%)
    1.21
    Module
    Average Module Utilization (%)
    \Program Files (x86)\Google\Chrome\Application\36.0.1985.125\chrome_child.dll
    0.96
    \SystemRoot\system32\ntoskrnl.exe
    0.10
    0.03
    CPU Utilization:Individual process with significant processor utilization.
    This process is responsible for a significant portion of the total processor utilization recorded during the trace.
    Process Name
    chrome.exe
    PID
    3096
    Average Utilization (%)
    1.14
    Module
    Average Module Utilization (%)
    \Device\HarddiskVolume1\Program Files (x86)\Google\Chrome\Application\36.0.1985.125\chrome.dll
    0.61
    \SystemRoot\system32\ntoskrnl.exe
    0.20
    \SystemRoot\System32\win32k.sys
    0.09
    CPU Utilization:Individual process with significant processor utilization.
    This process is responsible for a significant portion of the total processor utilization recorded during the trace.
    Process Name
    chrome.exe
    PID
    2956
    Average Utilization (%)
    0.61
    Module
    Average Module Utilization (%)
    \Device\HarddiskVolume1\Program Files (x86)\Google\Chrome\Application\36.0.1985.125\libglesv2.dll
    0.12
    \Device\HarddiskVolume1\Windows\SysWOW64\atidxx32.dll
    0.12
    \Device\HarddiskVolume1\Program Files (x86)\Google\Chrome\Application\36.0.1985.125\chrome_child.dll
    0.10
    CPU Utilization:Individual process with significant processor utilization.
    This process is responsible for a significant portion of the total processor utilization recorded during the trace.
    Process Name
    chrome.exe
    PID
    4512
    Average Utilization (%)
    0.45
    Module
    Average Module Utilization (%)
    \Program Files (x86)\Google\Chrome\Application\36.0.1985.125\chrome_child.dll
    0.36
    \SystemRoot\system32\ntoskrnl.exe
    0.04
    \SystemRoot\SysWOW64\ntdll.dll
    0.01
    CPU Utilization:Individual process with significant processor utilization.
    This process is responsible for a significant portion of the total processor utilization recorded during the trace.
    Process Name
    dwm.exe
    PID
    880
    Average Utilization (%)
    0.21
    Module
    Average Module Utilization (%)
    \SystemRoot\system32\ntoskrnl.exe
    0.04
    \Device\HarddiskVolume1\Windows\System32\dwmcore.dll
    0.04
    \Device\HarddiskVolume1\Windows\System32\atidxx64.dll
    0.03
    Information
    Platform Timer Resolution:Timer Request Stack
    The stack of modules responsible for the lowest platform timer setting in this process.
    Requested Period
    10000
    Requesting Process ID
    4120
    Requesting Process Path
    \Device\HarddiskVolume1\Windows\System32\audiodg.exe
    Calling Module Stack
    \Device\HarddiskVolume1\Windows\System32\ntdll.dll
    \Device\HarddiskVolume1\Windows\System32\AudioEng.dll
    \Device\HarddiskVolume1\Windows\System32\audiodg.exe
    \Device\HarddiskVolume1\Windows\System32\rpcrt4.dll
    \Device\HarddiskVolume1\Windows\System32\combase.dll
    \Device\HarddiskVolume1\Windows\System32\rpcrt4.dll
    \Device\HarddiskVolume1\Windows\System32\ntdll.dll
    \Device\HarddiskVolume1\Windows\System32\kernel32.dll
    \Device\HarddiskVolume1\Windows\System32\ntdll.dll
    Power Policy:Active Power Plan
    The current power plan in use
    Plan Name
    OEM Balanced
    Plan GUID
    {381b4222-f694-41f0-9685-ff5bb260df2e}
    Power Policy:Power Plan Personality (Plugged In)
    The personality of the current power plan when the system is plugged in.
    Personality
    Balanced
    Power Policy:802.11 Radio Power Policy is Maximum Performance (Plugged In)
    The current power policy for 802.11-compatible wireless network adapters is not configured to use low-power modes.
    Power Policy:Video quality (Plugged In)
    Enables Windows Media Player to optimize for quality or power savings when playing video.
    Quality Mode
    Optimize for Video Quality
    Battery:Analysis Success
    Analysis was successful. No energy efficiency problems were found. No information was returned.
    Platform Power Management Capabilities:Supported Sleep States
    Sleep states allow the computer to enter low-power modes after a period of inactivity. The S3 sleep state is the default sleep state for Windows platforms. The S3 sleep state consumes only enough power to preserve memory contents and allow the computer
    to resume working quickly. Very few platforms support the S1 or S2 Sleep states.
    S1 Sleep Supported
    false
    S2 Sleep Supported
    false
    S3 Sleep Supported
    true
    S4 Sleep Supported
    true
    Platform Power Management Capabilities:Connected Standby Support
    Connected standby allows the computer to enter a low-power mode in which it is always on and connected. If supported, connected standby is used instead of system sleep states.
    Connected Standby Supported
    false
    Platform Power Management Capabilities:Processor Power Management Capabilities
    Effective processor power management enables the computer to automatically balance performance and energy consumption.
    Group
    0
    Index
    0
    Idle State Count
    3
    Idle State Type
    ACPI Idle (C) States
    Nominal Frequency (MHz)
    3301
    Maximum Performance Percentage
    100
    Lowest Performance Percentage
    48
    Lowest Throttle Percentage
    48
    Performance Controls Type
    ACPI Performance (P) / Throttle (T) States
    Platform Power Management Capabilities:Processor Power Management Capabilities
    Effective processor power management enables the computer to automatically balance performance and energy consumption.
    Group
    0
    Index
    1
    Idle State Count
    3
    Idle State Type
    ACPI Idle (C) States
    Nominal Frequency (MHz)
    3301
    Maximum Performance Percentage
    100
    Lowest Performance Percentage
    48
    Lowest Throttle Percentage
    48
    Performance Controls Type
    ACPI Performance (P) / Throttle (T) States
    Platform Power Management Capabilities:Processor Power Management Capabilities
    Effective processor power management enables the computer to automatically balance performance and energy consumption.
    Group
    0
    Index
    2
    Idle State Count
    3
    Idle State Type
    ACPI Idle (C) States
    Nominal Frequency (MHz)
    3301
    Maximum Performance Percentage
    100
    Lowest Performance Percentage
    48
    Lowest Throttle Percentage
    48
    Performance Controls Type
    ACPI Performance (P) / Throttle (T) States
    Platform Power Management Capabilities:Processor Power Management Capabilities
    Effective processor power management enables the computer to automatically balance performance and energy consumption.
    Group
    0
    Index
    3
    Idle State Count
    3
    Idle State Type
    ACPI Idle (C) States
    Nominal Frequency (MHz)
    3301
    Maximum Performance Percentage
    100
    Lowest Performance Percentage
    48
    Lowest Throttle Percentage
    48
    Performance Controls Type
    ACPI Performance (P) / Throttle (T) States
    Device Drivers:Analysis Success
    Analysis was successful. No energy efficiency problems were found. No information was returned.

    I've just updated my LAN driver and tested again. This is what i got:
    Power Efficiency Diagnostics Report
    Computer Name
    DARKORION11
    Scan Time
    2014-08-14T09:48:32Z
    Scan Duration
    60 seconds
    System Manufacturer
    System manufacturer
    System Product Name
    System Product Name
    BIOS Date
    03/18/2014
    BIOS Version
    0805
    OS Build
    9600
    Platform Role
    PlatformRoleDesktop
    Plugged In
    true
    Process Count
    77
    Thread Count
    1286
    Report GUID
    {25c91f45-b37e-445f-89b7-e2425a6c60f9}
    Analysis Results
    Errors
    Power Policy:Disk idle is disabled (Plugged In)
    The disk is not configured to turn off after a period of disk inactivity.
    System Availability Requests:System Required Request
    The device or driver has made a request to prevent the system from automatically entering sleep.
    Requesting Driver Instance
    ROOT\MEDIA\0000
    Requesting Driver Device
    DFX Audio Enhancer 11.1
    System Availability Requests:System Required Request
    The device or driver has made a request to prevent the system from automatically entering sleep.
    Requesting Driver Instance
    HDAUDIO\FUNC_01&VEN_10EC&DEV_0887&SUBSYS_10438445&REV_1003\4&3ad857fa&0&0001
    Requesting Driver Device
    Realtek High Definition Audio
    USB Suspend:USB Device not Entering Selective Suspend
    This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.
    Device Name
    USB Root Hub
    Host Controller ID
    PCI\VEN_8086&DEV_1E26
    Host Controller Location
    PCI bus 0, device 29, function 0
    Device ID
    USB\VID_8086&PID_1E26
    Port Path
    USB Suspend:USB Device not Entering Selective Suspend
    This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.
    Device Name
    Generic USB Hub
    Host Controller ID
    PCI\VEN_8086&DEV_1E26
    Host Controller Location
    PCI bus 0, device 29, function 0
    Device ID
    USB\VID_8087&PID_0024
    Port Path
    1
    USB Suspend:USB Device not Entering Selective Suspend
    This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.
    Device Name
    USB Composite Device
    Host Controller ID
    PCI\VEN_8086&DEV_1E26
    Host Controller Location
    PCI bus 0, device 29, function 0
    Device ID
    USB\VID_09DA&PID_90C0
    Port Path
    1,5
    USB Suspend:USB Device not Entering Selective Suspend
    This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.
    Device Name
    USB Composite Device
    Host Controller ID
    PCI\VEN_8086&DEV_1E26
    Host Controller Location
    PCI bus 0, device 29, function 0
    Device ID
    USB\VID_09DA&PID_9090
    Port Path
    1,6
    USB Suspend:USB Device not Entering Selective Suspend
    This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.
    Device Name
    Xbox 360 Controller for Windows
    Host Controller ID
    PCI\VEN_8086&DEV_1E26
    Host Controller Location
    PCI bus 0, device 29, function 0
    Device ID
    USB\VID_046D&PID_C21F
    Port Path
    1,7
    CPU Utilization:Processor utilization is high
    The average processor utilization during the trace was high. The system will consume less power when the average processor utilization is very low. Review processor utilization for individual processes to determine which applications and services contribute
    the most to total processor utilization.
    Average Utilization (%)
    8.94
    Platform Power Management Capabilities:PCI Express Active-State Power Management (ASPM) Disabled
    PCI Express Active-State Power Management (ASPM) has been disabled due to a known incompatibility with the hardware in this computer.
    Warnings
    Platform Timer Resolution:Platform Timer Resolution
    The default platform timer resolution is 15.6ms (15625000ns) and should be used whenever the system is idle. If the timer resolution is increased, processor power management technologies may not be effective. The timer resolution may be increased due to
    multimedia playback or graphical animations.
    Current Timer Resolution (100ns units)
    10005
    Maximum Timer Period (100ns units)
    156250
    Platform Timer Resolution:Outstanding Timer Request
    A program or service has requested a timer resolution smaller than the platform maximum timer resolution.
    Requested Period
    10000
    Requesting Process ID
    5024
    Requesting Process Path
    \Device\HarddiskVolume4\Program Files (x86)\Google\Chrome\Application\chrome.exe
    Platform Timer Resolution:Outstanding Timer Request
    A program or service has requested a timer resolution smaller than the platform maximum timer resolution.
    Requested Period
    10000
    Requesting Process ID
    1120
    Requesting Process Path
    \Device\HarddiskVolume4\Windows\System32\audiodg.exe
    CPU Utilization:Individual process with significant processor utilization.
    This process is responsible for a significant portion of the total processor utilization recorded during the trace.
    Process Name
    chrome.exe
    PID
    4868
    Average Utilization (%)
    2.39
    Module
    Average Module Utilization (%)
    \Device\HarddiskVolume4\Program Files (x86)\Google\Chrome\Application\36.0.1985.143\chrome_child.dll
    1.97
    0.19
    \SystemRoot\system32\ntoskrnl.exe
    0.11
    CPU Utilization:Individual process with significant processor utilization.
    This process is responsible for a significant portion of the total processor utilization recorded during the trace.
    Process Name
    chrome.exe
    PID
    348
    Average Utilization (%)
    1.07
    Module
    Average Module Utilization (%)
    \Device\HarddiskVolume4\Program Files (x86)\Google\Chrome\Application\36.0.1985.143\chrome.dll
    0.64
    \SystemRoot\system32\ntoskrnl.exe
    0.17
    \SystemRoot\System32\win32k.sys
    0.07
    CPU Utilization:Individual process with significant processor utilization.
    This process is responsible for a significant portion of the total processor utilization recorded during the trace.
    Process Name
    DFX.exe
    PID
    1988
    Average Utilization (%)
    1.02
    Module
    Average Module Utilization (%)
    \Device\HarddiskVolume4\Program Files (x86)\DFX\DFX.exe
    0.75
    \SystemRoot\system32\ntoskrnl.exe
    0.15
    \Device\HarddiskVolume4\Windows\SysWOW64\AudioSes.dll
    0.02
    CPU Utilization:Individual process with significant processor utilization.
    This process is responsible for a significant portion of the total processor utilization recorded during the trace.
    Process Name
    chrome.exe
    PID
    4284
    Average Utilization (%)
    0.54
    Module
    Average Module Utilization (%)
    0.35
    \Device\HarddiskVolume4\Program Files (x86)\Google\Chrome\Application\36.0.1985.143\chrome_child.dll
    0.17
    \SystemRoot\system32\ntoskrnl.exe
    0.01
    CPU Utilization:Individual process with significant processor utilization.
    This process is responsible for a significant portion of the total processor utilization recorded during the trace.
    Process Name
    audiodg.exe
    PID
    1120
    Average Utilization (%)
    0.43
    Module
    Average Module Utilization (%)
    \SystemRoot\system32\ntoskrnl.exe
    0.13
    \Device\HarddiskVolume4\Windows\System32\RltkAPO64.dll
    0.09
    \Device\HarddiskVolume4\Windows\System32\AudioEng.dll
    0.09
    CPU Utilization:Individual process with significant processor utilization.
    This process is responsible for a significant portion of the total processor utilization recorded during the trace.
    Process Name
    WWAHost.exe
    PID
    4840
    Average Utilization (%)
    0.39
    Module
    Average Module Utilization (%)
    \Device\HarddiskVolume4\Windows\System32\MP3DMOD.DLL
    0.20
    \Device\HarddiskVolume4\Windows\System32\RESAMPLEDMO.DLL
    0.12
    \SystemRoot\system32\ntoskrnl.exe
    0.00
    CPU Utilization:Individual process with significant processor utilization.
    This process is responsible for a significant portion of the total processor utilization recorded during the trace.
    Process Name
    chrome.exe
    PID
    1944
    Average Utilization (%)
    0.33
    Module
    Average Module Utilization (%)
    \Device\HarddiskVolume4\Program Files (x86)\Google\Chrome\Application\36.0.1985.143\libglesv2.dll
    0.07
    \SystemRoot\system32\ntoskrnl.exe
    0.06
    \Device\HarddiskVolume4\Windows\SysWOW64\atidxx32.dll
    0.06
    CPU Utilization:Individual process with significant processor utilization.
    This process is responsible for a significant portion of the total processor utilization recorded during the trace.
    Process Name
    explorer.exe
    PID
    2972
    Average Utilization (%)
    0.25
    Module
    Average Module Utilization (%)
    \SystemRoot\system32\ntoskrnl.exe
    0.08
    \SystemRoot\System32\win32k.sys
    0.05
    \Device\HarddiskVolume4\Windows\System32\WindowsCodecs.dll
    0.04
    Information
    Platform Timer Resolution:Timer Request Stack
    The stack of modules responsible for the lowest platform timer setting in this process.
    Requested Period
    10000
    Requesting Process ID
    5024
    Requesting Process Path
    \Device\HarddiskVolume4\Program Files (x86)\Google\Chrome\Application\chrome.exe
    Calling Module Stack
    \Device\HarddiskVolume4\Windows\SysWOW64\ntdll.dll
    \Device\HarddiskVolume4\Windows\SysWOW64\kernel32.dll
    \Device\HarddiskVolume4\Program Files (x86)\Google\Chrome\Application\36.0.1985.143\chrome_child.dll
    \Device\HarddiskVolume4\Windows\SysWOW64\kernel32.dll
    \Device\HarddiskVolume4\Windows\SysWOW64\ntdll.dll
    Platform Timer Resolution:Timer Request Stack
    The stack of modules responsible for the lowest platform timer setting in this process.
    Requested Period
    10000
    Requesting Process ID
    1120
    Requesting Process Path
    \Device\HarddiskVolume4\Windows\System32\audiodg.exe
    Calling Module Stack
    \Device\HarddiskVolume4\Windows\System32\ntdll.dll
    \Device\HarddiskVolume4\Windows\System32\AudioEng.dll
    \Device\HarddiskVolume4\Windows\System32\audiodg.exe
    \Device\HarddiskVolume4\Windows\System32\rpcrt4.dll
    \Device\HarddiskVolume4\Windows\System32\combase.dll
    \Device\HarddiskVolume4\Windows\System32\rpcrt4.dll
    \Device\HarddiskVolume4\Windows\System32\ntdll.dll
    \Device\HarddiskVolume4\Windows\System32\kernel32.dll
    \Device\HarddiskVolume4\Windows\System32\ntdll.dll
    Power Policy:Active Power Plan
    The current power plan in use
    Plan Name
    OEM Balanced
    Plan GUID
    {381b4222-f694-41f0-9685-ff5bb260df2e}
    Power Policy:Power Plan Personality (Plugged In)
    The personality of the current power plan when the system is plugged in.
    Personality
    Balanced
    Power Policy:802.11 Radio Power Policy is Maximum Performance (Plugged In)
    The current power policy for 802.11-compatible wireless network adapters is not configured to use low-power modes.
    Power Policy:Video quality (Plugged In)
    Enables Windows Media Player to optimize for quality or power savings when playing video.
    Quality Mode
    Optimize for Video Quality
    Battery:Analysis Success
    Analysis was successful. No energy efficiency problems were found. No information was returned.
    Platform Power Management Capabilities:Supported Sleep States
    Sleep states allow the computer to enter low-power modes after a period of inactivity. The S3 sleep state is the default sleep state for Windows platforms. The S3 sleep state consumes only enough power to preserve memory contents and allow the computer
    to resume working quickly. Very few platforms support the S1 or S2 Sleep states.
    S1 Sleep Supported
    false
    S2 Sleep Supported
    false
    S3 Sleep Supported
    true
    S4 Sleep Supported
    true
    Platform Power Management Capabilities:Connected Standby Support
    Connected standby allows the computer to enter a low-power mode in which it is always on and connected. If supported, connected standby is used instead of system sleep states.
    Connected Standby Supported
    false
    Platform Power Management Capabilities:Processor Power Management Capabilities
    Effective processor power management enables the computer to automatically balance performance and energy consumption.
    Group
    0
    Index
    0
    Idle State Count
    3
    Idle State Type
    ACPI Idle (C) States
    Nominal Frequency (MHz)
    3301
    Maximum Performance Percentage
    100
    Lowest Performance Percentage
    48
    Lowest Throttle Percentage
    48
    Performance Controls Type
    ACPI Performance (P) / Throttle (T) States
    Platform Power Management Capabilities:Processor Power Management Capabilities
    Effective processor power management enables the computer to automatically balance performance and energy consumption.
    Group
    0
    Index
    1
    Idle State Count
    3
    Idle State Type
    ACPI Idle (C) States
    Nominal Frequency (MHz)
    3301
    Maximum Performance Percentage
    100
    Lowest Performance Percentage
    48
    Lowest Throttle Percentage
    48
    Performance Controls Type
    ACPI Performance (P) / Throttle (T) States
    Platform Power Management Capabilities:Processor Power Management Capabilities
    Effective processor power management enables the computer to automatically balance performance and energy consumption.
    Group
    0
    Index
    2
    Idle State Count
    3
    Idle State Type
    ACPI Idle (C) States
    Nominal Frequency (MHz)
    3301
    Maximum Performance Percentage
    100
    Lowest Performance Percentage
    48
    Lowest Throttle Percentage
    48
    Performance Controls Type
    ACPI Performance (P) / Throttle (T) States
    Platform Power Management Capabilities:Processor Power Management Capabilities
    Effective processor power management enables the computer to automatically balance performance and energy consumption.
    Group
    0
    Index
    3
    Idle State Count
    3
    Idle State Type
    ACPI Idle (C) States
    Nominal Frequency (MHz)
    3301
    Maximum Performance Percentage
    100
    Lowest Performance Percentage
    48
    Lowest Throttle Percentage
    48
    Performance Controls Type
    ACPI Performance (P) / Throttle (T) States
    Device Drivers:Analysis Success
    Analysis was successful. No energy efficiency problems were found. No information was returned.

  • When taking a picture with home button and sleep button can you get rid of the tool and task bar??

    When taking a picture with home and sleep button can you get rid of the tool and task bar?? (the search bars)

    No, but you can use any picture editing tool to crop out the bars.  (Many are free in the App Store.)  Me personally, I use PhotoPad, which I use to crop as well as rotate the screen shot.  Takes less than a minute to do both with PhotoPad.

  • My bookshelf and Facebook icons are stuck in "waiting" apparently updating for more than a week, but I don't remember trying to update them.  I tried pressing the home and sleep buttons in as suggested, but problem not fixed

    My bookshelf and Facebook icons are stuck in "waiting" apparently updating for more than a week, but I don't remember trying to update them.  I tried pressing the home and sleep buttons in as suggested, but problem not fixed

    Keep to one discussion only. Go back to this one,
    https://discussions.apple.com/message/21087117#21087117

Maybe you are looking for