1. 18 Dec, 2009 2 commits
    • Rafael J. Wysocki's avatar
      PM: Measure device suspend and resume times · ecf762b2
      Rafael J. Wysocki authored
      Measure and print the time of suspending and resuming all devices.
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      ecf762b2
    • Rafael J. Wysocki's avatar
      PM: Make the initcall_debug style timing for suspend/resume complete · 875ab0b7
      Rafael J. Wysocki authored
      Commit f2511774
      (PM: Add initcall_debug style timing for suspend/resume) introduced
      basic timing instrumentation, needed for a scritps/bootgraph.pl
      equivalent or humans, but it missed the fact that bus types and
      device classes which haven't been switched to using struct dev_pm_ops
      objects yet need special handling.  As a result, the suspend/resume
      timing information is only available for devices whose bus types or
      device classes use struct dev_pm_ops objects, so the majority of
      devices is not covered.
      
      Fix this by adding basic suspend/resume timing instrumentation for
      devices whose bus types and device classes still don't use struct
      dev_pm_ops objects for power management.  To reduce code duplication
      move the timing code to helper functions.
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      875ab0b7
  2. 17 Dec, 2009 38 commits