simulator: tracing of stack-cache states