Created
June 23, 2016 13:56
-
-
Save epickrram/f1a0b8dc975d0fb64c240c1b65c78770 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Callback for statistics from /proc/net/softnet_stat. | |
*/ | |
@FunctionalInterface | |
public interface SoftnetStatsHandler | |
{ | |
/** | |
* Callback method. | |
* @param cpuId zero-based CPU that these statistics refer to | |
* @param processed softIRQ events processed | |
* @param squeezed squeeze events | |
* @param dropped dropped events | |
*/ | |
void perCpuStatistics(final int cpuId, final long processed, | |
final long squeezed, final long dropped); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment