jist.minisim
Class contproxy

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

public final class contproxy
extends java.lang.Object

Measures throughput of proxy entity continuation calls in JiST.

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

Nested Class Summary
private static class contproxy.cmdlineOpts
          Parsed command-line options.
static class contproxy.entity
          Benchmark proxy entity.
static interface contproxy.entityInterface
          Interface for benchmarking proxy entity.
 
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
contproxy()
           
 
Method Summary
static void main(java.lang.String[] args)
          Benchmark entry point: measure regular event performance.
private static contproxy.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

contproxy

public contproxy()
Method Detail

showVersion

private static void showVersion()
Print benchmark version information.


showUsage

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


parseCommandLineOptions

private static contproxy.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 regular event performance.

Parameters:
args - command-line parameters