)]}'
{
  "commit": "598991fda1ee852ef7fa38917e3e2198811fe4f9",
  "tree": "19ed5c54c3d2a0e6e914665043fb5b0823a134b9",
  "parents": [
    "150104648f713fcf45a1ea423468948d1dc509fc"
  ],
  "author": {
    "name": "Gabe Black",
    "email": "gabeblack@google.com",
    "time": "Thu Feb 14 01:46:54 2019 -0800"
  },
  "committer": {
    "name": "Gabe Black",
    "email": "gabeblack@google.com",
    "time": "Tue Feb 19 23:34:05 2019 +0000"
  },
  "message": "sim: Add a mechanism to exit the simulation loop immediately.\n\nThere are some cases, specifically when running systemc, that it\u0027s\nnecessary to exit the simulation loop immediately rather than finishing\nrunning events scheduled for the current Tick. When running under\nsc_main, sc_stop and sc_pause return control to sc_main which can\nhappen immediately. When running without sc_main, control needs to\nreturn to the python config script which needs to happen through a\nglobal exit event.\n\nSince sc_pause and sc_stop are supposed to stop simulation without\nnecessarily letting all the events at the current time run, we need\na way to schedule an exit event with a very high priority (rather than\na very low priority).\n\nThis change adds a new exitSimLoopNow function which does that, and\nadds a new constructor to the GlobalSimLoopExitEvent which uses that\npriority.\n\nAlso, a couple of cruft functions from the sim events are removed.\n\nChange-Id: Icfbec17fb10f98084a75740acd839dbf4096fbb3\nReviewed-on: https://gem5-review.googlesource.com/c/16444\nReviewed-by: Andreas Sandberg \u003candreas.sandberg@arm.com\u003e\nMaintainer: Andreas Sandberg \u003candreas.sandberg@arm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "23da8fd8de945d37b78e376c6602224bb86b5da5",
      "old_mode": 33188,
      "old_path": "src/sim/sim_events.cc",
      "new_id": "f9237e4ba053271db87458b1c79eb8ea328c3a1e",
      "new_mode": 33188,
      "new_path": "src/sim/sim_events.cc"
    },
    {
      "type": "modify",
      "old_id": "6343071dc53b1d387d129932d0efcdc1baa627a2",
      "old_mode": 33188,
      "old_path": "src/sim/sim_events.hh",
      "new_id": "8a4555212f296ad70dfbcea3ed52bdabdcccfa41",
      "new_mode": 33188,
      "new_path": "src/sim/sim_events.hh"
    },
    {
      "type": "modify",
      "old_id": "55db55ff2c879736dd3b39d84128f0beeba8d991",
      "old_mode": 33188,
      "old_path": "src/sim/sim_exit.hh",
      "new_id": "0a4634679c57aa192d0d371468ec0289ca4553f9",
      "new_mode": 33188,
      "new_path": "src/sim/sim_exit.hh"
    }
  ]
}
