appl.parallel.event
Class TimeEvent
java.lang.Object
appl.parallel.event.RemoteEvent
appl.parallel.event.CommEvent
appl.parallel.event.TimeEvent
- All Implemented Interfaces:
- Serializable
public class TimeEvent
- extends CommEvent
A TimeEvent
is a CommEvent
which is associated with a
execution time of a operation.
- Author:
- Dominik Appl
- See Also:
- Serialized Form
TimeEvent
public TimeEvent(long timeNanos,
String src,
String target,
CommEvent.CommType type)
- Parameters:
timeNanos
- the execution time to be associated with this event in nano
secondssrc
- the source of the eventtarget
- the target of the eventtype
- the type of the event- See Also:
System.nanoTime()
getTime
public long getTime()
- Returns:
- the execution time
toString
public String toString()
- Overrides:
toString
in class Object