* @return an IStatus object with validation result. Use severity OK to
* indicate success.
* @see TraceValidationStatus
- * @since 2.0
*/
IStatus validate(IProject project, String path);
*
* @param waitForCompletion
* Should we block the caller until indexing is finished, or not.
- * @since 2.0
*/
void indexTrace(boolean waitForCompletion);
/**
* @return the trace time range
- * @since 2.0
*/
TmfTimeRange getTimeRange();
/**
* @return the timestamp of the first trace event
- * @since 2.0
*/
ITmfTimestamp getStartTime();
/**
* @return the timestamp of the last trace event
- * @since 2.0
*/
ITmfTimestamp getEndTime();
/**
* @return the current trace location
- * @since 3.0
*/
ITmfLocation getCurrentLocation();
* @param location
* a trace specific location
* @return a floating-point number between 0.0 (beginning) and 1.0 (end)
- * @since 3.0
*/
double getLocationRatio(ITmfLocation location);
* @param location
* the trace specific location
* @return a context which can later be used to read the corresponding event
- * @since 3.0
*/
ITmfContext seekEvent(ITmfLocation location);
* @param timestamp
* the timestamp of desired event
* @return a context which can later be used to read the corresponding event
- * @since 2.0
*/
ITmfContext seekEvent(ITmfTimestamp timestamp);
* Returns the initial range offset
*
* @return the initial range offset
- * @since 2.0
*/
ITmfTimestamp getInitialRangeOffset();
* time, etc).
*
* @return The host id of this trace
- * @since 3.0
*/
@NonNull String getHostId();
* Returns the timestamp transformation for this trace
*
* @return the timestamp transform
- * @since 3.0
*/
ITmfTimestampTransform getTimestampTransform();
*
* @param tt
* The timestamp transform for all timestamps of this trace
- * @since 3.0
*/
void setTimestampTransform(final ITmfTimestampTransform tt);
* @param ts
* The time in nanoseconds with which to create the timestamp
* @return The new timestamp
- * @since 3.0
*/
ITmfTimestamp createTimestamp(long ts);