Class CallStackSeries.CpuResolver
java.lang.Object
org.eclipse.tracecompass.incubator.callstack.core.instrumented.statesystem.CallStackSeries.CpuResolver
- All Implemented Interfaces:
CallStackSeries.IThreadIdResolver
- Enclosing class:
- CallStackSeries
public static final class CallStackSeries.CpuResolver
extends Object
implements CallStackSeries.IThreadIdResolver
This class will resolve the thread ID from the CPU on which the callstack was
running at a given time
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable CallStackSeries.IThreadIdProvider
resolve
(CallStackHostUtils.IHostIdProvider hostProvider, ICallStackElement element) Get the actual thread ID provider from this resolver
-
Constructor Details
-
CpuResolver
Constructor- Parameters:
path
- The path relative to the leaf element that will contain the CPU ID
-
-
Method Details
-
resolve
public @Nullable CallStackSeries.IThreadIdProvider resolve(CallStackHostUtils.IHostIdProvider hostProvider, ICallStackElement element) Description copied from interface:CallStackSeries.IThreadIdResolver
Get the actual thread ID provider from this resolver- Specified by:
resolve
in interfaceCallStackSeries.IThreadIdResolver
- Parameters:
hostProvider
- The provider of the host ID for the callstackelement
- The leaf element of the callstack- Returns:
- The thread ID provider
-