Modifier and Type | Field and Description |
---|---|
protected int |
count
The number of underlying coalesced hardware interrupts or software signals this event may
represent.
|
protected Device |
device
The
Device instance that fired this event or for which this event was fired. |
protected long |
lastTimeStamp
The time (in milliseconds) when the last coalesced event occurred.
|
protected int |
lastTimeStampMicros
The additional microseconds (in the range
[0 - 999] ) to the timestamp for when the last coalesced event occurred. |
protected long |
timeStamp
The time (in milliseconds) when this event (first) occurred.
|
protected int |
timeStampMicros
The additional microseconds (in the range
[0 - 999] ) to the timestamp for when this event (first) occurred. |
Constructor and Description |
---|
DeviceEvent() |
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Returns the number of underlying coalesced hardware interrupts or software signals this event
may represent.
|
Device |
getDevice()
Returns the
Device instance that fired this event or for which this event was
fired. |
long |
getLastTimeStamp()
Returns the time (in milliseconds) when the last coalesced event occurred.
|
int |
getLastTimeStampMicros()
Returns the additional microseconds to the timestamp for when the last coalesced event
occurred.
|
long |
getTimeStamp()
Returns the time (in milliseconds) when this event (first) occurred.
|
int |
getTimeStampMicros()
Returns the additional microseconds to the timestamp for when this event (first) occurred.
|
protected int count
protected long lastTimeStamp
protected int lastTimeStampMicros
[0 - 999]
) to the timestamp for when the last coalesced event occurred. If
events were not coalesced then this is the same as that of the first event.
The actual last timestamp in microseconds is equal to: (lastTimeStamp * 1000) + lastTimeStampMicros.
protected Device device
Device
instance that fired this event or for which this event was fired.protected long timeStamp
protected int timeStampMicros
[0 - 999]
) to the timestamp for when this event (first) occurred. If events
were coalesced then this is that of the first event.
The actual timestamp in microseconds is equal to: (timeStamp * 1000) + timeStampMicros.
public final int getCount()
1
if no coalescing occurred.public final long getLastTimeStamp()
public final int getLastTimeStampMicros()
[0 - 999]
) to the timestamp for when the last coalesced event
occurred.public final Device getDevice()
Device
instance that fired this event or for which this event was
fired.Device
instance that fired this event.public final long getTimeStamp()
public final int getTimeStampMicros()
[0 - 999]
) to the timestamp for when this event (first) occurred.