Package jadex.rules.tools.profiler
Class ProfilingInfo
- java.lang.Object
-
- jadex.rules.tools.profiler.ProfilingInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class ProfilingInfo extends java.lang.Object implements java.io.Serializable
Struct for profiling information.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfilingInfo(java.lang.String type, java.lang.Object item, ProfilingInfo parent, long time, long inherent)
Create a new profiling info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Test, if two nodes are equal.int
hashCode()
Test, if two nodes are equal.java.lang.String
toString()
Create a string representation of the profile.protected java.lang.Object
writeReplace()
Close frame before serialization.
-
-
-
Field Detail
-
type
public java.lang.String type
The profiling event type.
-
item
public java.lang.Object item
The profiling item.
-
parent
public ProfilingInfo parent
The parent profiling info.
-
time
public long time
The total time.
-
inherent
public long inherent
The inherent total time.
-
-
Constructor Detail
-
ProfilingInfo
public ProfilingInfo(java.lang.String type, java.lang.Object item, ProfilingInfo parent, long time, long inherent)
Create a new profiling info.
-
-
Method Detail
-
toString
public java.lang.String toString()
Create a string representation of the profile.- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
Test, if two nodes are equal.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Test, if two nodes are equal.- Overrides:
hashCode
in classjava.lang.Object
-
writeReplace
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
Close frame before serialization.- Throws:
java.io.ObjectStreamException
-
-