Class JPerf


  • public class JPerf
    extends java.lang.Object
    Tool to measure TCP throughput, similar to iperf
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected static class  JPerf.Stats  
    • Constructor Summary

      Constructors 
      Constructor Description
      JPerf()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static void help()  
      static void main​(java.lang.String[] args)  
      private static void start​(boolean client, int length, java.lang.String bind_addr, java.lang.String host, int port, int window_size, int interval)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JPerf

        public JPerf()
    • Method Detail

      • start

        private static void start​(boolean client,
                                  int length,
                                  java.lang.String bind_addr,
                                  java.lang.String host,
                                  int port,
                                  int window_size,
                                  int interval)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • help

        protected static void help()
      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException