Package org.onosproject.net.packet
Interface PacketProcessorEntry
-
public interface PacketProcessorEntryPacket processor entry tracking the processor, its priority and time consumption.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longaverageNanos()Returns the average time, in nanoseconds, spent processing packets.longinvocations()Returns the number of invocations.intpriority()Returns the packet processor priority.PacketProcessorprocessor()Returns the packet processor.longtotalNanos()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
-
-