Re: [PATCH] Export suspend statistics.

2008-01-21 Thread Sarah Sharp
Greg, Arjan wants the suspend statistics exported to userspace in msec, rather than jiffies. I'll send the two updated patches shortly. I grabbed the statistics patch from your tree before modifying. Sarah - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a m

Re: [PATCH] Export suspend statistics.

2008-01-16 Thread Greg KH
On Wed, Jan 16, 2008 at 08:48:00AM -0800, Greg KH wrote: > On Wed, Jan 16, 2008 at 03:56:06AM -0800, Andrew Morton wrote: > > On Fri, 11 Jan 2008 10:36:20 -0800 Greg KH <[EMAIL PROTECTED]> wrote: > > > > > On Fri, Dec 21, 2007 at 04:54:15PM -0800, Sarah Sharp wrote: > > > > This patch exports two

Re: [PATCH] Export suspend statistics.

2008-01-16 Thread Greg KH
On Wed, Jan 16, 2008 at 03:56:06AM -0800, Andrew Morton wrote: > On Fri, 11 Jan 2008 10:36:20 -0800 Greg KH <[EMAIL PROTECTED]> wrote: > > > On Fri, Dec 21, 2007 at 04:54:15PM -0800, Sarah Sharp wrote: > > > This patch exports two statistics to userspace: > > > /sys/bus/usb/device/.../power/connec

Re: [PATCH] Export suspend statistics.

2008-01-16 Thread Andrew Morton
On Fri, 11 Jan 2008 10:36:20 -0800 Greg KH <[EMAIL PROTECTED]> wrote: > On Fri, Dec 21, 2007 at 04:54:15PM -0800, Sarah Sharp wrote: > > This patch exports two statistics to userspace: > > /sys/bus/usb/device/.../power/connected_duration > > /sys/bus/usb/device/.../power/active_duration > > > > c

Re: [PATCH] Export suspend statistics.

2008-01-11 Thread Greg KH
On Fri, Dec 21, 2007 at 04:54:15PM -0800, Sarah Sharp wrote: > This patch exports two statistics to userspace: > /sys/bus/usb/device/.../power/connected_duration > /sys/bus/usb/device/.../power/active_duration > > connected_duration is the total time (in jiffies) that the device has > been connect

[PATCH] Export suspend statistics.

2007-12-21 Thread Sarah Sharp
This patch exports two statistics to userspace: /sys/bus/usb/device/.../power/connected_duration /sys/bus/usb/device/.../power/active_duration connected_duration is the total time (in jiffies) that the device has been connected. active_duration is the total time the device has not been suspended.