public final class ForkJoinRuntime extends BaseRuntime
ForkJoinRuntime class.
deadlockTracker, eventLogger, isolationManager, metricsManager, phaserManager
Constructor and Description |
---|
ForkJoinRuntime()
No-args constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ForkJoinThreadPool[] |
allocateExecutors(int numPlaces,
int numWorkers,
boolean asyncMode) |
void |
asyncSimt(long estimatedWorkInMiliseconds,
int maxParallelism,
int start,
int end,
HjSuspendingProcedureInt2D runnable)
asyncSimt
|
abort, abstractMetrics, asyncAwait, asyncPhased, asyncSeqAt, asyncSuspAt, asyncSuspAwait, asyncWhen, checkEureka, cleanup, currentActivity, currentHabaneroActivity, currentPlace, currentThread, doWait, doWork, dumpEventLog, emergencyShutdown, finish, finish, finish, futureAwait, futureSeq, futureSusp, futureSuspAwait, futureWhen, generateActivityName, initialize, isolated, isolated, isolated, isolatedWithReturn, isolatedWithReturn, isolatedWithReturn, isWorkerThread, newBinaryEureka, newConvergenceEureka, newCountEureka, newDataDrivenFuture, newEngineEureka, newEventCount, newExtremaEureka, newFastBarrierEureka, newFinishAccumulator, newPhaser, newSearchEureka, newTimerEureka, newVersionEureka, next, numWorkerThreads, offerEureka, readEureka, readMode, registerListenerForMetrics, retrieveEureka, retrieveEventLogger, runActivity, runKernel, scheduleActivity, scheduleActivity, signal, writeMode
protected ForkJoinThreadPool[] allocateExecutors(int numPlaces, int numWorkers, boolean asyncMode)
allocateExecutors
in class BaseRuntime
public void asyncSimt(long estimatedWorkInMiliseconds, int maxParallelism, int start, int end, HjSuspendingProcedureInt2D runnable)
asyncSimt
estimatedWorkInMiliseconds
- Amount of sequential work in ms estimated for this taskmaxParallelism
- Amount of parallelism present in the task (assumes linear speedup)start
- Start of range of iterationsend
- End of range of iterationsrunnable
- Body of the asyncCopyright © 2015 Rice University - Department of Computer Science. All rights reserved.