Package org.onosproject.net.packet
Interface PacketProcessorEntry
-
public interface PacketProcessorEntry
Packet processor entry tracking the processor, its priority and time consumption.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
averageNanos()
Returns the average time, in nanoseconds, spent processing packets.long
invocations()
Returns the number of invocations.int
priority()
Returns the packet processor priority.PacketProcessor
processor()
Returns the packet processor.long
totalNanos()
Returns the total time, in nanoseconds, spent processing packets.
-
-
-
Method Detail
-
processor
PacketProcessor processor()
Returns the packet processor.- Returns:
- packet processor
-
priority
int priority()
Returns the packet processor priority.- Returns:
- processor priority
-
invocations
long invocations()
Returns the number of invocations.- Returns:
- number of invocations
-
totalNanos
long totalNanos()
Returns the total time, in nanoseconds, spent processing packets.- Returns:
- total time in nanos
-
averageNanos
long averageNanos()
Returns the average time, in nanoseconds, spent processing packets.- Returns:
- average time in nanos
-
-