Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
M
P
R
S
A
add(Object)
- Method in class com.cogent.util.
MinHeap
addDestination(SimProcessingElement)
- Method in class com.cogent.
SimPacket
C
com.cogent
- package com.cogent
com.cogent.events
- package com.cogent.events
com.cogent.instructions
- package com.cogent.instructions
com.cogent.util
- package com.cogent.util
comparator
- Variable in class com.cogent.util.
MinHeap
compare(Object, Object)
- Method in class com.cogent.util.
MinHeap
compareTo(Object)
- Method in class com.cogent.
HeapElement
This method satisfies the Comparable interface and provides for an ordering between this element and the parameter.
D
dequeue()
- Method in class com.cogent.
SimEventQueue
Remove and return the next item from the priority queue.
dequeueNextPriorityLevel()
- Method in class com.cogent.
SimEventQueue
This method returns a vector of all events that occur with the next lowest priority, removing them all from the queue
dispatchMessage(SimPacketEvent)
- Method in class com.cogent.
SimDispatchElement
Find the destination of a SimPacketEvent and send the event to the appropriate processing element.
E
enqueue(SimEvent, long)
- Method in class com.cogent.
SimEventQueue
Adds a single event to the event queue with the given priority
F
finished()
- Method in class com.cogent.
SimPIM
G
getCreationTime()
- Method in class com.cogent.events.
SimEvent
getDestination()
- Method in class com.cogent.events.
SimPacketEvent
getDestinations()
- Method in class com.cogent.
SimPacket
getEvent()
- Method in class com.cogent.
HeapElement
Get the associated SimEvent
getInstance()
- Static method in class com.cogent.
SimDispatchElement
getMin()
- Method in class com.cogent.util.
MinHeap
getPacket()
- Method in class com.cogent.events.
SimPacketEvent
getPriority()
- Method in class com.cogent.
HeapElement
Get the associate priority
H
heap
- Variable in class com.cogent.util.
MinHeap
HeapElement
- class com.cogent.
HeapElement
.
Wrapper class to allow a Event and a priority to enter the queue.
HeapElement(SimEvent, long)
- Constructor for class com.cogent.
HeapElement
Constructs a heap element from an event and a priority
hello()
- Static method in class com.cogent.instructions.
PIM_instrs
I
INITIAL_CAPACITY
- Static variable in class com.cogent.util.
MinHeap
isEmpty()
- Method in class com.cogent.
SimEventQueue
Returns whether the queue has more elements or not
M
main(String[])
- Static method in class
Simulator
The entry point for the simulator.
MinHeap
- class com.cogent.util.
MinHeap
.
A Min Heap for a priority queue implementation.
MinHeap()
- Constructor for class com.cogent.util.
MinHeap
MinHeap(Comparator)
- Constructor for class com.cogent.util.
MinHeap
myActiveElements
- Variable in class com.cogent.
SimDispatchElement
myAnswerScore
- Variable in class com.cogent.
SimPacket
myAvailableResources
- Variable in class com.cogent.
SimPacket
myContext
- Variable in class com.cogent.
SimPacket
myCost
- Variable in class com.cogent.
SimPacket
myCreationTime
- Variable in class com.cogent.events.
SimEvent
myCriticality
- Variable in class com.cogent.
SimPacket
myCurrentTime
- Variable in class com.cogent.
SimDispatchElement
myDeadline
- Variable in class com.cogent.
SimPacket
myDestination
- Variable in class com.cogent.events.
SimPacketEvent
myDestinationNumbers
- Variable in class com.cogent.
SimPacket
myDestinations
- Variable in class com.cogent.
SimPacket
myEvent
- Variable in class com.cogent.
HeapElement
myEventQueue
- Variable in class com.cogent.
SimDispatchElement
myGoal
- Variable in class com.cogent.
SimPacket
myInstance
- Static variable in class com.cogent.
SimDispatchElement
myInstruction
- Variable in class com.cogent.
SimPacket
myMinHeap
- Variable in class com.cogent.
SimEventQueue
myPacket
- Variable in class com.cogent.events.
SimPacketEvent
myPacketQueue
- Variable in class com.cogent.
SimPIM
myPacketType
- Variable in class com.cogent.
SimPacket
myPriority
- Variable in class com.cogent.
SimPacket
myPriority
- Variable in class com.cogent.
HeapElement
myRecognitionScore
- Variable in class com.cogent.
SimPacket
myRespondTo
- Variable in class com.cogent.
SimPacket
myRespondToNumber
- Variable in class com.cogent.
SimPacket
mySource
- Variable in class com.cogent.
SimPacket
mySourceNumber
- Variable in class com.cogent.
SimPacket
myTimeStamp
- Variable in class com.cogent.
SimPacket
myUtility
- Variable in class com.cogent.
SimPacket
P
peek()
- Method in class com.cogent.
SimEventQueue
Return the next element in the queue by priority without removing it
percolateDown(int)
- Method in class com.cogent.util.
MinHeap
percolateUp()
- Method in class com.cogent.util.
MinHeap
PIM_instrs
- class com.cogent.instructions.
PIM_instrs
.
The base class of all PIM instructions.
PIM_instrs()
- Constructor for class com.cogent.instructions.
PIM_instrs
postEvent(SimEvent, long)
- Method in class com.cogent.
SimDispatchElement
Callback from Processing elements to add events to the event queue.
processEvent(SimEvent)
- Method in class com.cogent.
SimProcessingElement
processEvent(SimEvent)
- Method in class com.cogent.
SimPIM
Receives events from the dispatcher.
R
receive()
- Method in class com.cogent.
SimPIM
removeMin()
- Method in class com.cogent.util.
MinHeap
run()
- Method in class com.cogent.
SimHelloWorld
run()
- Method in interface com.cogent.
SimRunnable
Implement this method to define a program
run()
- Method in class com.cogent.
SimPIM
While the PIM is alive, sleep until the dispatcher sends an event.
run()
- Method in class com.cogent.
SimDispatchElement
While there are no events to process, wait.
S
send()
- Method in class com.cogent.
SimPIM
SimBootEvent
- class com.cogent.events.
SimBootEvent
.
Represents an simulator (Packetless) event that indicates the system has finished booting.
SimBootEvent()
- Constructor for class com.cogent.events.
SimBootEvent
SimDispatchElement
- class com.cogent.
SimDispatchElement
.
The dispatcher.
SimDispatchElement()
- Constructor for class com.cogent.
SimDispatchElement
Create a SimDispatchElement and start its thread.
SimElement
- class com.cogent.
SimElement
.
The base class of all simulation elements.
SimElement()
- Constructor for class com.cogent.
SimElement
SimEvent
- class com.cogent.events.
SimEvent
.
The base class of all events.
SimEvent()
- Constructor for class com.cogent.events.
SimEvent
SimEventQueue
- class com.cogent.
SimEventQueue
.
The event queue contains a MinHeap to implement a priority queue.
SimEventQueue()
- Constructor for class com.cogent.
SimEventQueue
Constructor, creates an empty EventQueue
SimHelloWorld
- class com.cogent.
SimHelloWorld
.
A simulated Hello World.
SimHelloWorld()
- Constructor for class com.cogent.
SimHelloWorld
SimInstrumentationEvent
- class com.cogent.events.
SimInstrumentationEvent
.
Skeleton for an instrumentation event to be logged
SimInstrumentationEvent()
- Constructor for class com.cogent.events.
SimInstrumentationEvent
SimNullEvent
- class com.cogent.events.
SimNullEvent
.
The base class of all simulator (Packetless) events.
SimNullEvent(long)
- Constructor for class com.cogent.events.
SimNullEvent
SimPacket
- class com.cogent.
SimPacket
.
Skeleton for a Hardware Packet - Still under construction
SimPacket()
- Constructor for class com.cogent.
SimPacket
SimPacketArriveEvent
- class com.cogent.events.
SimPacketArriveEvent
.
Indicates an message arrived at a processing element
SimPacketArriveEvent(SimPacket, long, SimProcessingElement)
- Constructor for class com.cogent.events.
SimPacketArriveEvent
SimPacketDepartEvent
- class com.cogent.events.
SimPacketDepartEvent
.
Indicates a message is leaving a processing element
SimPacketDepartEvent(SimPacket, long)
- Constructor for class com.cogent.events.
SimPacketDepartEvent
SimPacketEvent
- class com.cogent.events.
SimPacketEvent
.
The base class of all simulated (contain packet) events.
SimPacketEvent()
- Constructor for class com.cogent.events.
SimPacketEvent
SimPIM
- class com.cogent.
SimPIM
.
The PIM.
SimPIM()
- Constructor for class com.cogent.
SimPIM
Constructor, starts the thread running
SimProcessingElement
- class com.cogent.
SimProcessingElement
.
The base class of all simulation processing elements.
SimProcessingElement()
- Constructor for class com.cogent.
SimProcessingElement
SimProcessingElementFinishedEvent
- class com.cogent.events.
SimProcessingElementFinishedEvent
.
Simulator (packetless) event that indicates a processing element is done with its workload and has sent all messages that it needs to.
SimProcessingElementFinishedEvent(long)
- Constructor for class com.cogent.events.
SimProcessingElementFinishedEvent
SimRunnable
- interface com.cogent.
SimRunnable
.
This interface represents a program that can be run on a PIM.
Simulator
- class
Simulator
.
The driver for the simulation
Simulator()
- Constructor for class
Simulator
size
- Variable in class com.cogent.util.
MinHeap
A
C
D
E
F
G
H
I
M
P
R
S
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes