A C D E F G H I M N O P R S T U

A

addDest(int, int) - Method in class muskel.util.mdfis
adds a destination to the instruction currently being built
addInput() - Method in class muskel.util.mdfis
increments the number of input tokens (default is 1)
addInstruction(Mdfi) - Method in class muskel.MdfGraph
adds an instruction to the graph
addWorker(String) - Method in class muskel.DiscoveryService
used by the DiscoveryThread to place the name of a fresh host discovered in the discvored hosts vector.

C

clone() - Method in class muskel.MdfGraph
unused at the moment.
clone() - Method in class skeleton.Compute
just to be able to clone in case of usage of ObjectStreams
CodeStorage - Class in muskel
this is used to store the OpCodes in such a way that indexes are passed with MDFi, rather than serialized code (which can be huge) The code is serialized just once, at the very beginning of the computation
CodeStorage() - Constructor for class muskel.CodeStorage
 
compile(Compute, CodeStorage) - Static method in class muskel.Compiler
 
Compiler - Class in muskel
this is to compile skeletons to MDF graphs
Compiler() - Constructor for class muskel.Compiler
 
compute(Object[]) - Method in class muskel.MakeOpCode
 
compute() - Method in class muskel.Manager
the method starts the parallel computation of the program stored in the manager.
compute(Object) - Method in class muskel.MdfGraph
This is the method computing an MDF Graph on a given input token.
compute(CodeStorage) - Method in class muskel.Mdfi
Computes the MDF instruction, taking the opcode from the CodeStorage
compute(Object[]) - Method in interface muskel.OpCode
This is the method invoked to compute the MDF instruction.
compute(Mdfi) - Method in class muskel.RemoteInterpreter
 
compute(Mdfi) - Method in interface muskel.RemoteInterpreterInterface
 
Compute - Class in skeleton
This is the interface that has to be implemented by the sequential portions of code used in the program computation.
Compute() - Constructor for class skeleton.Compute
 
compute(Object) - Method in class skeleton.Compute
the method computes an Object result out of an Object input data set
compute(Object) - Method in class skeleton.Farm
computes a task sequentially.
compute(Object) - Method in class skeleton.ParCompute
This is the method that has to be computed in order to implement the Compute interface.
compute(Object) - Method in class skeleton.Pipeline
computes the pipeline sequentially.
ConsoleOutputManager - Class in muskel.util
This is used to deliver output tokens to the user Console toString() is used to print the items.
ConsoleOutputManager() - Constructor for class muskel.util.ConsoleOutputManager
 
Contract - Interface in muskel
this interface is used to model the performance contract aksed to the muskel runtime.
ControlThread - Class in muskel
used to check the compiler/storage/pool
ControlThread(CodeStorage, MdfiPool, OutputManager, String) - Constructor for class muskel.ControlThread
 
cs - Variable in class muskel.ControlThread
 
cs - Variable in class muskel.SeqControlThread
 

D

debug - Variable in class muskel.ControlThread
 
debug - Static variable in class muskel.Manager
 
debug - Variable in class muskel.MdfGraph
 
debug - Variable in class muskel.Mdfi
 
debug - Variable in class muskel.MdfiPool
 
deliver(Object) - Method in interface muskel.OutputManager
this is the method used to deliver a reuslt by the program manager
Users must supply an actual deliver method to properly handle the current result
deliver(Object) - Method in class muskel.util.ConsoleOutputManager
this is the method actually delivering the output token onto the user console, using a println and converting the object to a string with a call to toString() method.
Dest - Class in muskel
used to store a destination in compact form, basically and int tuple.
Dest(int, int, int) - Constructor for class muskel.Dest
The dest constructor
Dest(int, int) - Constructor for class muskel.Dest
The dest constructor, to be used when constructing MDF graphs.
DestToken - Class in muskel
This is the class hosting a destination token, as output from a MDF instruction it is a token with destination address embedded in
DestToken() - Constructor for class muskel.DestToken
 
DestToken(Object, int, int, int) - Constructor for class muskel.DestToken
 
DestToken(int, int, int) - Constructor for class muskel.DestToken
 
DestToken(Dest) - Constructor for class muskel.DestToken
 
DISCOVERYMESSAGE - Static variable in class muskel.PresenceThread
this is the muskel discovery message (ASCII protocol: send discovery message, receive name of the machine
DiscoveryService - Class in muskel
This class is used to maintain a list of available (discovered, actually) processing resources, that is processing elements in the portion of network accessible via multicast messages that currently run a muskel RemoteWorker RMI object.
DiscoveryService() - Constructor for class muskel.DiscoveryService
standard constructor initializes the vectors and starts the discovery thread
DiscoveryThread - Class in muskel
The discovery Thread always looks for new workers.
DiscoveryThread(DiscoveryService) - Constructor for class muskel.DiscoveryThread
constructor

E

equals(InstructionTag) - Method in class muskel.InstructionTag
 
extract(InstructionTag) - Method in class muskel.MdfiPool
 
extract(int, int) - Method in class muskel.MdfiPool
 

F

Farm - Class in skeleton
This is the "emabarassingly parallel" skeleton.
Farm(Compute) - Constructor for class skeleton.Farm
creates a new Farm skeleton.

G

getAverageTaskTc() - Method in class muskel.Stats
 
getCodeStorage() - Method in class muskel.Manager
this method returns a pointer to the CodeStorage.
getFireable() - Method in class muskel.MdfiPool
 
getFirstStage() - Method in class skeleton.Pipeline
this returns the first stage, used in the MDF conpiler
getGraphId() - Method in class muskel.Dest
accessory method
getGraphId() - Method in class muskel.DestToken
 
getGraphId() - Method in class muskel.MdfGraph
this is used to get the graph id.
getGt() - Method in class muskel.InstructionTag
 
getIdId() - Method in class muskel.Dest
accessory method
getInputInstrId() - Method in class muskel.MdfGraph
This is used to get the index of the input instruction, the one where the input token has to be stored
getInstrId() - Method in class muskel.DestToken
 
getIt() - Method in class muskel.InstructionTag
 
getMaxInstrId() - Method in class muskel.MdfGraph
used to understand how to relocate next graph in compositions
getMaxTimeCompute() - Method in class muskel.Stats
 
getMdfGraph() - Method in class skeleton.ParCompute
this is the method used to fetch the graph when compiling the class as a skeleton parameter
getMDFi() - Method in class muskel.util.mdfis
build the instruction as stored up to now
getMdfiNo() - Method in class muskel.Stats
 
getMinTimeCompute() - Method in class muskel.Stats
 
getNewWorker() - Method in class muskel.DiscoveryService
used from the StandardEval thread to get a fresh host to run a worker
getNWorkers(int) - Method in class muskel.DiscoveryService
used from within the Standard eval to get a set of workers
getOpCode(int) - Method in class muskel.CodeStorage
 
getParDegree() - Method in class muskel.ParDegree
allows the current implementation of the contract to be inspected
getPos() - Method in class muskel.Dest
returns the position in the dest instruction input token vector
getPos() - Method in class muskel.DestToken
 
getSecondStage() - Method in class skeleton.Pipeline
this returns the second stage, used in the MDF compiler
getStats() - Method in class muskel.RemoteInterpreter
 
getStats() - Method in interface muskel.RemoteInterpreterInterface
 
getValue() - Method in class muskel.DestToken
 
getValue() - Method in class muskel.Token
 
getWorker() - Method in class skeleton.Farm
this is only needed to compiler into MDF
getWorkerName() - Method in class muskel.Stats
 

H

hashCode() - Method in class muskel.InstructionTag
 
hasNext() - Method in interface muskel.InputManager
this is the method used to check whether there are other tasks available onto the input stream
hasNext() - Method in class muskel.util.IntegerStreamInputManager
 

I

IllegalMakeOpCodeException - Exception in muskel
 
IllegalMakeOpCodeException() - Constructor for exception muskel.IllegalMakeOpCodeException
 
IllegalMakeOpCodeException(String) - Constructor for exception muskel.IllegalMakeOpCodeException
 
IllegalMakeOpCodeException(String, Throwable) - Constructor for exception muskel.IllegalMakeOpCodeException
 
IllegalMakeOpCodeException(Throwable) - Constructor for exception muskel.IllegalMakeOpCodeException
 
InputManager - Interface in muskel
this is the interface that must be implemented to supply the class providing the program input stream
insert(Mdfi) - Method in class muskel.MdfiPool
 
insert(MdfGraph) - Method in class muskel.MdfiPool
 
InstructionTag - Class in muskel
This is used to hash the instructions in the pool
InstructionTag(int, int) - Constructor for class muskel.InstructionTag
 
IntegerStreamInputManager - Class in muskel.util
Sample input manager.
IntegerStreamInputManager(int) - Constructor for class muskel.util.IntegerStreamInputManager
creates a new IntegerStreamInputManager
isFireable() - Method in class muskel.Mdfi
test for fireable instruction

M

main(String[]) - Static method in class muskel.RemoteInterpreter
 
MakeOpCode - Class in muskel
this is used to compile muskel 1.0 seq code into OpCodes ...
MakeOpCode(Compute) - Constructor for class muskel.MakeOpCode
 
Manager - Class in muskel
takes care of a program execution request, with contract (#PEs).
Manager(Compute, InputManager, OutputManager) - Constructor for class muskel.Manager
This constructs the manager.
Manager() - Constructor for class muskel.Manager
this constructs the manager without giving all the parameters.
mdfClone() - Method in class muskel.DestToken
 
mdfClone() - Method in class muskel.MdfGraph
overrides the Object clone.
mdfClone() - Method in class muskel.Mdfi
This is used to clone an instruciton.
mdfClone() - Method in class muskel.Token
 
MdfGraph - Class in muskel
This is the class used to store a whole graph.
MdfGraph() - Constructor for class muskel.MdfGraph
standard constructor
MdfGraph(int) - Constructor for class muskel.MdfGraph
constructor with a given graph id (not used at the moment)
Mdfi - Class in muskel
This is the class of MDF instructions: each MDFi has a taskId instrId opCode tokenInVector tokenOutVector readyArgNo inTokenCount outTokenCount
Mdfi(int, int, int, int, int, int[], int[], int[]) - Constructor for class muskel.Mdfi
Deprecated. creates the instruction
Mdfi(Manager, int, Compute, int, int, Dest[]) - Constructor for class muskel.Mdfi
Creates a MDFi taking care of storing the code in the codestorage This is used only in case of user defined ParCompute code.
Mdfi(int, int, int, int, int, Dest[]) - Constructor for class muskel.Mdfi
Deprecated. Creates a MDFi taking care of storing the code in the codestorage This is used only in case of user defined ParCompute code. Same parmaters of the previous, complete constructor, but the GID, which is left undefined. Plus the manager, which is needed to access the global CodeStorage
Mdfi() - Constructor for class muskel.Mdfi
creates an empty MDF instruction
MdfiPool - Class in muskel
this is used to store Mdfi from graphs.
MdfiPool() - Constructor for class muskel.MdfiPool
 
mdfis - Class in muskel.util
 
mdfis(Manager, Compute, int) - Constructor for class muskel.util.mdfis
Used to incrementally build the instruction
multicastGroup - Static variable in class muskel.PresenceThread
this is the multicast group of the muskel package discovery service
multicastPort - Static variable in class muskel.PresenceThread
this is the port of the muskel discovery service
muskel - package muskel
 
muskel.util - package muskel.util
 

N

newGraph(Compute) - Method in class muskel.Manager
gives the programmer the ability to retrieve the compiler graph of a skeleton program.
This can be used to merge with ad hoc data flow graphs, provided by the user, that express parallelism exploitation patterns not provided within the native skeletons.
next() - Method in interface muskel.InputManager
this is the metod used by the manager to get the next task to compute, if any.
next() - Method in class muskel.util.IntegerStreamInputManager
delivers next item
NoGraphId - Static variable in class muskel.Mdfi
 
NoInstrId - Static variable in class muskel.Mdfi
 
NonFireableInstructionException - Exception in muskel
 
NonFireableInstructionException() - Constructor for exception muskel.NonFireableInstructionException
 
NonFireableInstructionException(String) - Constructor for exception muskel.NonFireableInstructionException
 
NonFireableInstructionException(String, Throwable) - Constructor for exception muskel.NonFireableInstructionException
 
NonFireableInstructionException(Throwable) - Constructor for exception muskel.NonFireableInstructionException
 
NoOpCode - Static variable in class muskel.Mdfi
 
NoTokId - Static variable in class muskel.Mdfi
 

O

OpCode - Interface in muskel
this is to model the function to be computed by a MDF instruction
OpCodeNotPresentException - Exception in muskel
 
OpCodeNotPresentException() - Constructor for exception muskel.OpCodeNotPresentException
 
OpCodeNotPresentException(String) - Constructor for exception muskel.OpCodeNotPresentException
 
OpCodeNotPresentException(String, Throwable) - Constructor for exception muskel.OpCodeNotPresentException
 
OpCodeNotPresentException(Throwable) - Constructor for exception muskel.OpCodeNotPresentException
 
OutputManager - Interface in muskel
this is the interface implemented to provide the class post processing the results computed by the skeleton program

P

ParCompute - Class in skeleton
This is the class used to provide user defined MDF graphs as (parts of) skeletons.
ParCompute(MdfGraph) - Constructor for class skeleton.ParCompute
ParCompute nodes are created by passing an MDF graph as the node "program"
ParDegree - Class in muskel
This is a contract that can be issued to a manager, specifying the amount of processing elements that have to be used to implement the manager controlled computation.
ParDegree(int) - Constructor for class muskel.ParDegree
constructor: sets up the initial value of the contract
parseTag(String) - Static method in class muskel.InstructionTag
 
Pipeline - Class in skeleton
This is the pipeline skeleton class.
Pipeline(Compute, Compute) - Constructor for class skeleton.Pipeline
constructs a two stage pipeline
pool - Variable in class muskel.ControlThread
 
pool - Variable in class muskel.SeqControlThread
 
Port - Static variable in class muskel.RemoteInterpreter
 
PresenceThread - Class in muskel
This is the thread run by the RMI RemoteWorker server to answer the request for presence issued by other StandardEval components.
It listens to a Multicast group and answers with the name of the machine where it is running.
PresenceThread() - Constructor for class muskel.PresenceThread
 
PrettyPrint - Class in muskel
 
PrettyPrint(Compute) - Constructor for class muskel.PrettyPrint
 
putToken(DestToken) - Method in class muskel.MdfiPool
 

R

reloc(int) - Method in class muskel.MdfGraph
used to move the instruction ids in a graph in a new range.
reloc(int) - Method in class muskel.Mdfi
this is used to relocate instructions within a graph
RemoteInterpreter - Class in muskel
 
RemoteInterpreter() - Constructor for class muskel.RemoteInterpreter
 
RemoteInterpreterInterface - Interface in muskel
 
run() - Method in class muskel.ControlThread
 
run() - Method in class muskel.DiscoveryThread
this is to find workers with the discovery mechanism instead.
run() - Method in class muskel.PresenceThread
the actual thread body: runs forever.
run() - Method in class muskel.SeqControlThread
 

S

SeqControlThread - Class in muskel
used to check the compiler/storage/pool
SeqControlThread(CodeStorage, MdfiPool, OutputManager) - Constructor for class muskel.SeqControlThread
 
setAverageTaskTc(long) - Method in class muskel.Stats
 
setContract(Contract) - Method in class muskel.Manager
the method is used to set up the performance contract with the manager.
setDest(int, Dest) - Method in class muskel.Mdfi
used to reloc output of the instruction
setDestGraphIds(int) - Method in class muskel.Mdfi
sets the graph id in the destination tokens
setGid(int) - Method in class muskel.MdfGraph
used to set graph id to a given value.
setGraphId(int) - Method in class muskel.DestToken
 
setGraphId(int) - Method in class muskel.Mdfi
assigns a graph id to the instruction, possbibly created with a Mdfi.NoGraphId value.
setId(int) - Method in class muskel.MdfGraph
used to set the graph id when the graph is instantiated
setInputManager(InputManager) - Method in class muskel.Manager
accessor method to set the input manager
setMaxTimeCompute(long) - Method in class muskel.Stats
 
setMdfiNo(int) - Method in class muskel.Stats
 
setMinTimeCompute(long) - Method in class muskel.Stats
 
setOutputInstrId(Dest) - Method in class muskel.MdfGraph
looks for the only one instruction whose unique output token dest is NoInstrId and stores in it the given destination (if not null)
setOutputManager(OutputManager) - Method in class muskel.Manager
accessor method to set the output manager
setParDegree(int) - Method in class muskel.ParDegree
sets the parallelism degree.
setProgram(Compute) - Method in class muskel.Manager
accessor method to set program
setProgram(CodeStorage) - Method in class muskel.RemoteInterpreter
 
setProgram(CodeStorage) - Method in interface muskel.RemoteInterpreterInterface
 
setWorkerName(String) - Method in class muskel.Stats
 
simpleMDFi(Manager, Compute, int, int, int) - Static method in class muskel.util.mdfis
prepares a new instruction, wiht a given code, identifier and destination (just one token in input and one in output)
skeleton - package skeleton
 
Stats - Class in muskel
 
Stats() - Constructor for class muskel.Stats
 
store(OpCode) - Method in class muskel.CodeStorage
 
storeOpCode(Compute) - Method in class muskel.Manager
sets a new Compute code in the CodeStorage, returning the index in the CodeStorage
storeToken(int, Object) - Method in class muskel.Mdfi
used to store an input token

T

Token - Class in muskel
This is the class for input tokens.
Token(Object) - Constructor for class muskel.Token
creates a token with a given value
Token() - Constructor for class muskel.Token
this is to create an empty token, just a placeholder
TokenNotPresentException - Exception in muskel
 
TokenNotPresentException() - Constructor for exception muskel.TokenNotPresentException
 
TokenNotPresentException(String) - Constructor for exception muskel.TokenNotPresentException
 
TokenNotPresentException(String, Throwable) - Constructor for exception muskel.TokenNotPresentException
 
TokenNotPresentException(Throwable) - Constructor for exception muskel.TokenNotPresentException
 
toString() - Method in class muskel.CodeStorage
 
toString() - Method in class muskel.Dest
overwrites Object toString method
toString() - Method in class muskel.DestToken
 
toString() - Method in class muskel.InstructionTag
 
toString() - Method in class muskel.MdfGraph
overrides Object toString
toString() - Method in class muskel.Mdfi
overrides the Object toString
toString() - Method in class muskel.MdfiPool
 
toString() - Method in class muskel.PrettyPrint
 
toString() - Method in class muskel.Stats
 
toString() - Method in class muskel.Token
 

U

updateToken(Object) - Method in class muskel.Token
this is to store a value in an empty token or in an already setup token

A C D E F G H I M N O P R S T U