com.multicorebsp.bspedupack
Class BSPbench

java.lang.Object
  extended by java.lang.Thread
      extended by com.multicorebsp.core.BSP_PROGRAM
          extended by com.multicorebsp.bspedupack.BSPbench
All Implemented Interfaces:
java.lang.Runnable

public class BSPbench
extends com.multicorebsp.core.BSP_PROGRAM

BSPbench, a direct port from BSPEduPack for C


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
BSPbench()
           
 
Method Summary
protected  void main_part()
           
static void main(java.lang.String[] args)
           
protected  void parallel_part()
           
 
Methods inherited from class com.multicorebsp.core.BSP_PROGRAM
bsp_abort, bsp_begin, bsp_nprocs, bsp_pid, bsp_sync, getPid, run, waitForEnd
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BSPbench

public BSPbench()
Method Detail

main_part

protected void main_part()
                  throws java.lang.InterruptedException
Specified by:
main_part in class com.multicorebsp.core.BSP_PROGRAM
Throws:
java.lang.InterruptedException

parallel_part

protected void parallel_part()
                      throws java.lang.InterruptedException,
                             java.lang.IllegalAccessException
Specified by:
parallel_part in class com.multicorebsp.core.BSP_PROGRAM
Throws:
java.lang.InterruptedException
java.lang.IllegalAccessException

main

public static void main(java.lang.String[] args)
Parameters:
args - Program parameters.