pilot.ExecutionState

Class

ExecutionState contains information about the current state of the TaskHandler.

Inherits from pilot.Sample.

Fields

execution_state_e status

Current execution state, see pilot.execution_state_e.

Hash64 jobid

Current program execution id. See vnx.Hash64.

string program_name

Name of the running program.

Task *task

Current task being executed, if any. See pilot.Task.

vector<StackFrame> stack

Execution stack, most recent first. See pilot.StackFrame.

long time_started

POSIX time stamp when program was started in [usec].

long time_ended

POSIX time stamp when program has finised in [usec], zero otherwise (ie. still running).

bool is_minor

True if current task is nothing major, for example log message output, etc.