Uiinfrastructure API Docs  
 

TimeTracker Methods

The methods of the TimeTracker class are listed below. For a complete list of TimeTracker class members, see the TimeTracker Members topic.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetCheckpointTimeFromCheckpoint GetCheckpointTimeFromStart attempts to retrieve the two checkpoints with the keys given. It returns -1 if either of the checkpoints do not exist. It returns the time in milliseconds between the start checkpoint and the end checkpoint time.
GetCheckpointTimeFromStart GetCheckpointTimeFromStart attempts to retrieve a checkpoint with the key given. It returns -1 if there is no checkpoint by the given name. It returns the time in milliseconds between the creation of the TimeTracker or its last Reset() and the checkpoint time.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetTotalTime The time in milliseconds since the TimeTracker creation or the last Reset() is returned.
GetType (inherited from Object)Gets the Type of the current instance.
Reset The TimeTracker is reset. Alternative to creating a new one.
SetCheckpoint SetCheckpoint is used to create a time checkpiont for later retrieval. The checkpoint is identified by a string, and stored in an internal XPHashtable with that string as a key.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

TimeTracker Class | com.plumtree.uiinfrastructure.common Namespace