stat_control.cc (9262:547845010c08) stat_control.cc (9450:35d4879ad7c2)
1/*
2 * Copyright (c) 2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 239 unchanged lines hidden (view full) ---

248void
249schedStatEvent(bool dump, bool reset, Tick when, Tick repeat)
250{
251 dumpEvent = new StatEvent(dump, reset, repeat);
252 mainEventQueue.schedule(dumpEvent, when);
253}
254
255void
1/*
2 * Copyright (c) 2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 239 unchanged lines hidden (view full) ---

248void
249schedStatEvent(bool dump, bool reset, Tick when, Tick repeat)
250{
251 dumpEvent = new StatEvent(dump, reset, repeat);
252 mainEventQueue.schedule(dumpEvent, when);
253}
254
255void
256periodicStatDump(uint64_t period)
256periodicStatDump(Tick period)
257{
258 /*
259 * If the period is set to 0, then we do not want to dump periodically,
260 * thus we deschedule the event. Else, if the period is not 0, but the event
261 * has already been scheduled, we need to get rid of the old event before we
262 * create a new one, as the old event will no longer be moved forward in the
263 * event that we resume from a checkpoint.
264 */

--- 37 unchanged lines hidden ---
257{
258 /*
259 * If the period is set to 0, then we do not want to dump periodically,
260 * thus we deschedule the event. Else, if the period is not 0, but the event
261 * has already been scheduled, we need to get rid of the old event before we
262 * create a new one, as the old event will no longer be moved forward in the
263 * event that we resume from a checkpoint.
264 */

--- 37 unchanged lines hidden ---