suramadu.tests.memory
Class ScopeMemoryTest

java.lang.Object
  extended bysuramadu.tests.memory.ScopeMemoryTest
All Implemented Interfaces:
java.lang.Runnable

public class ScopeMemoryTest
extends java.lang.Object
implements java.lang.Runnable

Tests the cost of entering and exiting ScopeMemory.

PURPOSE: Tests the cost of entering and exiting ScopeMemory.

DESIGN:

ASSUMPTIONS:

INPUTS:

Property Default Value Description
"iterations" "1000000" The number of test iterations to perform.
"priority" "???" ???
"threadType" "???" ???

OUTPUTS:

EXAMPLES: *

ORIGINS:

Version:
$Id: ScopeMemoryTest.html,v 1.1 2004/09/23 15:28:53 mbi Exp $
Author:
briang

Nested Class Summary
static class ScopeMemoryTest.TestProps
           
 
Field Summary
static MemoryType mt
          Memory type to use
static ScopeMemoryTest.TestProps testProps
          actual properties used by this test run.
static ThreadType tt
          Thread type to use.
 
Constructor Summary
ScopeMemoryTest()
          constructor for test class Instantiates testProperties.
ScopeMemoryTest(ScopeMemoryTest.TestProps props)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testProps

public static ScopeMemoryTest.TestProps testProps
actual properties used by this test run. Filled in from default and specified properties at class instantiation.


tt

public static ThreadType tt
Thread type to use.


mt

public static MemoryType mt
Memory type to use

Constructor Detail

ScopeMemoryTest

public ScopeMemoryTest()
                throws java.lang.Exception
constructor for test class Instantiates testProperties.

Throws:
java.lang.Throwable
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.Exception

ScopeMemoryTest

public ScopeMemoryTest(ScopeMemoryTest.TestProps props)
                throws java.lang.Exception
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args - the command line arguments

run

public void run()
Specified by:
run in interface java.lang.Runnable