Package ghidra.trace.model.time.schedule
Class TickStep
java.lang.Object
ghidra.trace.model.time.schedule.AbstractStep
ghidra.trace.model.time.schedule.TickStep
- All Implemented Interfaces:
Step,Comparable<Step>
A step of a given thread in a schedule: repeating some number of ticks
-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.trace.model.time.schedule.Step
Step.StepType -
Field Summary
Fields inherited from class ghidra.trace.model.time.schedule.AbstractStep
threadKey, tickCount -
Constructor Summary
ConstructorsConstructorDescriptionTickStep(long threadKey, long tickCount) Construct a tick step for the given thread with the given tick count -
Method Summary
Modifier and TypeMethodDescriptionclone()voidexecute(PcodeThread<?> emuThread, Stepper stepper, TaskMonitor monitor) longgetType()static TickStepparse(long threadKey, String stepSpec, TraceSchedule.TimeRadix radix) protected StringReturn the step portion ofAbstractStep.toString()Methods inherited from class ghidra.trace.model.time.schedule.AbstractStep
addTo, advance, coalescePatches, compareStep, equals, getPatchCount, getThreadKey, getTickCount, hashCode, isCompatible, isNop, rewind, toString, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ghidra.trace.model.time.schedule.Step
compareStepType, compareTo, execute, getThread, getTypeOrder, isEventThread
-
Constructor Details
-
TickStep
public TickStep(long threadKey, long tickCount) Construct a tick step for the given thread with the given tick count- Parameters:
threadKey- the key of the thread in the trace, -1 for the "last thread"tickCount- the number of ticks to step on the thread
-
-
Method Details
-
parse
-
getType
-
getSkipCount
public long getSkipCount() -
toStringStepPart
Description copied from class:AbstractStepReturn the step portion ofAbstractStep.toString()- Specified by:
toStringStepPartin classAbstractStep- Parameters:
radix- the radix- Returns:
- the string
-
clone
- Specified by:
clonein interfaceStep- Specified by:
clonein classAbstractStep
-
subtract
-
execute
public void execute(PcodeThread<?> emuThread, Stepper stepper, TaskMonitor monitor) throws CancelledException - Throws:
CancelledException
-