clocked_object.hh (11527:9007a9729815) clocked_object.hh (11532:05ac17048f55)
1/*
2 * Copyright (c) 2012-2013, 2015-2016 ARM Limited
3 * Copyright (c) 2013 Cornell University
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

259 * Record stats values like state residency by computing the time
260 * difference from previous update. Also, updates the previous evaluation
261 * tick once all stats are recorded.
262 * Usually called on power state change and stats dump callback.
263 */
264 void computeStats();
265
266 void pwrState(Enums::PwrState);
1/*
2 * Copyright (c) 2012-2013, 2015-2016 ARM Limited
3 * Copyright (c) 2013 Cornell University
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

259 * Record stats values like state residency by computing the time
260 * difference from previous update. Also, updates the previous evaluation
261 * tick once all stats are recorded.
262 * Usually called on power state change and stats dump callback.
263 */
264 void computeStats();
265
266 void pwrState(Enums::PwrState);
267 void regStats();
267 void regStats() override;
268
269 protected:
270
271 /** To keep track of the current power state */
272 Enums::PwrState _currPwrState;
273
274 Tick prvEvalTick;
275

--- 15 unchanged lines hidden ---
268
269 protected:
270
271 /** To keep track of the current power state */
272 Enums::PwrState _currPwrState;
273
274 Tick prvEvalTick;
275

--- 15 unchanged lines hidden ---