system.hh (9294:8fb03b13de02) system.hh (9342:6fec8f26e56d)
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

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

377 /// @return Starting address of first page
378 Addr allocPhysPages(int npages);
379
380 int registerThreadContext(ThreadContext *tc, int assigned=-1);
381 void replaceThreadContext(ThreadContext *tc, int context_id);
382
383 void serialize(std::ostream &os);
384 void unserialize(Checkpoint *cp, const std::string &section);
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

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

377 /// @return Starting address of first page
378 Addr allocPhysPages(int npages);
379
380 int registerThreadContext(ThreadContext *tc, int assigned=-1);
381 void replaceThreadContext(ThreadContext *tc, int context_id);
382
383 void serialize(std::ostream &os);
384 void unserialize(Checkpoint *cp, const std::string &section);
385 virtual void resume();
386
385
386 unsigned int drain(DrainManager *dm);
387 void drainResume();
388
387 public:
388 Counter totalNumInsts;
389 EventQueue instEventQueue;
390 std::map<std::pair<uint32_t,uint32_t>, Tick> lastWorkItemStarted;
391 std::map<uint32_t, Stats::Histogram*> workItemStats;
392
393 ////////////////////////////////////////////
394 //

--- 36 unchanged lines hidden ---
389 public:
390 Counter totalNumInsts;
391 EventQueue instEventQueue;
392 std::map<std::pair<uint32_t,uint32_t>, Tick> lastWorkItemStarted;
393 std::map<uint32_t, Stats::Histogram*> workItemStats;
394
395 ////////////////////////////////////////////
396 //

--- 36 unchanged lines hidden ---