155a156,167
> // Set up instruction-count-based termination events for SimPoints
> // Typically, there are more than one action points.
> // Simulation.py is responsible to take the necessary actions upon
> // exitting the simulation loop.
> if (!p->simpoint_start_insts.empty()) {
> const char *cause = "simpoint starting point found";
> for (size_t i = 0; i < p->simpoint_start_insts.size(); ++i) {
> Event *event = new SimLoopExitEvent(cause, 0);
> comInstEventQueue[0]->schedule(event, p->simpoint_start_insts[i]);
> }
> }
>