jist.minisim
Class cont

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

public final class cont
extends java.lang.Object

Measures throughput of continuation calls in JiST.

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

Nested Class Summary
private static class cont.cmdlineOpts
          Parsed command-line options.
static class cont.entity
          Entity to test continuation entity calls.
 
Field Summary
private static int MODE_ARRAY
          benchmark event types.
private static java.lang.String MODE_ARRAY_STRING
          benchmark event type strings.
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_SHOW
          benchmark event types.
private static java.lang.String MODE_SHOW_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
cont()
           
 
Method Summary
static void main(java.lang.String[] args)
          Benchmark entry point: measure regular event performance.
private static cont.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_ARRAY

private static final int MODE_ARRAY
benchmark event types.

See Also:
Constant Field Values

MODE_SHOW

private static final int MODE_SHOW
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

MODE_ARRAY_STRING

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

See Also:
Constant Field Values

MODE_SHOW_STRING

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

See Also:
Constant Field Values
Constructor Detail

cont

public cont()
Method Detail

showVersion

private static void showVersion()
Print benchmark version information.


showUsage

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


parseCommandLineOptions

private static cont.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