private static final String CHILD_TID = "child_tid"; //$NON-NLS-1$
private static final String PRIO = "prio"; //$NON-NLS-1$
private static final String NEW_PRIO = "newprio"; //$NON-NLS-1$
+ private static final String PREV_PRIO = "prev_prio"; //$NON-NLS-1$
private static final String NEXT_PRIO = "next_prio"; //$NON-NLS-1$
private static final String COMM = "comm"; //$NON-NLS-1$
private static final String NAME = "name"; //$NON-NLS-1$
return NEW_PRIO;
}
+ /**
+ * @since 2.0
+ */
+ @Override
+ public String fieldPrevPrio() {
+ return PREV_PRIO;
+ }
+
/** @since 1.0 */
@Override
public String fieldNextPrio() {
*/
String fieldNewPrio();
+ /**
+ * The field with the prev priority. This is used in the scheduler's switch
+ * event to show the priority of the thread being scheduled out.
+ *
+ * @return the name of the field with the priority of the previous thread
+ * @since 2.0
+ */
+ String fieldPrevPrio();
+
/**
* The field with the next priority. This is used in the scheduler's switch
* event to show the priority of the next thread or process.
private static final String CHILD_COMM = "child_comm";
private static final String CHILD_TID = "child_tid";
private static final String PRIO = "prio";
+ private static final String PREV_PRIO = "prev_prio";
private static final String NEXT_PRIO = "next_prio";
private static final String NEW_PRIO = "newprio";
private static final String COMM = "comm";
return NEW_PRIO;
}
+ @Override
+ public String fieldPrevPrio() {
+ return PREV_PRIO;
+ }
+
@Override
public String fieldNextPrio() {
return NEXT_PRIO;
return "newprio"; //$NON-NLS-1$
}
+ @Override
+ public String fieldPrevPrio() {
+ return "prev_prio"; //$NON-NLS-1$
+ }
+
@Override
public String fieldNextPrio() {
return "next_prio"; //$NON-NLS-1$