jist.minisim
Class proxy

java.lang.Object
  extended by jist.minisim.proxy

public class proxy
extends java.lang.Object

Measures event throughput for proxy entities in JiST.

Since:
JIST1.0
Version:
$Id: proxy.java,v 1.13 2004/04/06 16:07:42 barr Exp $
Author:
Rimon Barr <barr+jist@cs.cornell.edu>

Nested Class Summary
private static class proxy.cmdlineOpts
          Parsed command-line options.
static class proxy.entity
          Benchmark proxy entity.
static interface proxy.entityInterface
          Benchmark entity proxy interface.
 
Field Summary
private static int MODE_DOUBLE
          benchmark event types.
private static java.lang.String MODE_DOUBLE_STRING
          benchmark event type strings.
private static int MODE_INT
          benchmark event types.
private static java.lang.String MODE_INT_STRING
          benchmark event type strings.
private static int MODE_INVALID
          benchmark event types.
private static int MODE_NULL
          benchmark event types.
private static java.lang.String MODE_NULL_STRING
          benchmark event type strings.
private static int MODE_STRING
          benchmark event types.
private static java.lang.String MODE_STRING_STRING
          benchmark event type strings.
static java.lang.String VERSION
          benchmark version.
 
Constructor Summary
proxy()
           
 
Method Summary
static void main(java.lang.String[] args)
          Benchmark entry point: measure proxy event performance.
private static proxy.cmdlineOpts parseCommandLineOptions(java.lang.String[] args)
          Parse command-line options.
private static void showUsage()
          Print benchmark command-line syntax.
private static void showVersion()
          Print benchmark version information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static final java.lang.String VERSION
benchmark version.

See Also:
Constant Field Values

MODE_INVALID

private static final int MODE_INVALID
benchmark event types.

See Also:
Constant Field Values

MODE_NULL

private static final int MODE_NULL
benchmark event types.

See Also:
Constant Field Values

MODE_INT

private static final int MODE_INT
benchmark event types.

See Also:
Constant Field Values

MODE_DOUBLE

private static final int MODE_DOUBLE
benchmark event types.

See Also:
Constant Field Values

MODE_STRING

private static final int MODE_STRING
benchmark event types.

See Also:
Constant Field Values

MODE_NULL_STRING

private static final java.lang.String MODE_NULL_STRING
benchmark event type strings.

See Also:
Constant Field Values

MODE_INT_STRING

private static final java.lang.String MODE_INT_STRING
benchmark event type strings.

See Also:
Constant Field Values

MODE_DOUBLE_STRING

private static final java.lang.String MODE_DOUBLE_STRING
benchmark event type strings.

See Also:
Constant Field Values

MODE_STRING_STRING

private static final java.lang.String MODE_STRING_STRING
benchmark event type strings.

See Also:
Constant Field Values
Constructor Detail

proxy

public proxy()
Method Detail

showVersion

private static void showVersion()
Print benchmark version information.


showUsage

private static void showUsage()
Print benchmark command-line syntax.


parseCommandLineOptions

private static proxy.cmdlineOpts parseCommandLineOptions(java.lang.String[] args)
                                                  throws jargs.gnu.CmdLineParser.OptionException
Parse command-line options.

Parameters:
args - command-line parameters
Returns:
parsed command-line options
Throws:
CmdLineParser.OptionException - invalid option encountered

main

public static void main(java.lang.String[] args)
Benchmark entry point: measure proxy event performance.

Parameters:
args - command-line parameters