org.objectweb.cjdbc.scenario.standalone.jvm
Class HeapThread

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.objectweb.cjdbc.scenario.standalone.jvm.HeapThread
All Implemented Interfaces:
java.lang.Runnable

public class HeapThread
extends java.lang.Thread


Field Summary
private  int m_cpuCycles
           
private  int[] m_data
           
private  Node m_firstNode
           
private  Barrier m_goFlag
           
private  int m_heapCycles
           
private  int m_id
           
private  int m_numDataPoints
           
private  int m_numIterations
           
private  int m_numNodesToAlloc
           
private  int m_numThreads
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
HeapThread(int id, int numThreads, int[] data, int numDataPoints, int numIterations, int numNodesToAlloc, int heapCycles, int cpuCycles, Barrier goFlag)
           
 
Method Summary
(package private)  void doCPUBoundStuff(int[] data, int numDataPoints)
           
(package private)  void doHeapBoundStuff(int numNodesToAlloc)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_id

private int m_id

m_numThreads

private int m_numThreads

m_data

private int[] m_data

m_numDataPoints

private int m_numDataPoints

m_numIterations

private int m_numIterations

m_numNodesToAlloc

private int m_numNodesToAlloc

m_heapCycles

private int m_heapCycles

m_cpuCycles

private int m_cpuCycles

m_goFlag

private Barrier m_goFlag

m_firstNode

private Node m_firstNode
Constructor Detail

HeapThread

public HeapThread(int id,
                  int numThreads,
                  int[] data,
                  int numDataPoints,
                  int numIterations,
                  int numNodesToAlloc,
                  int heapCycles,
                  int cpuCycles,
                  Barrier goFlag)
Method Detail

run

public void run()
See Also:
Runnable.run()

doHeapBoundStuff

void doHeapBoundStuff(int numNodesToAlloc)

doCPUBoundStuff

void doCPUBoundStuff(int[] data,
                     int numDataPoints)


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.