system.hh (11146:0fd6976303bc) system.hh (11168:f98eb2da15a4)
1/*
2 * Copyright (c) 2012, 2014 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

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

514 /// Allocate npages contiguous unused physical pages
515 /// @return Starting address of first page
516 Addr allocPhysPages(int npages);
517
518 ContextID registerThreadContext(ThreadContext *tc,
519 ContextID assigned = InvalidContextID);
520 void replaceThreadContext(ThreadContext *tc, ContextID context_id);
521
1/*
2 * Copyright (c) 2012, 2014 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

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

514 /// Allocate npages contiguous unused physical pages
515 /// @return Starting address of first page
516 Addr allocPhysPages(int npages);
517
518 ContextID registerThreadContext(ThreadContext *tc,
519 ContextID assigned = InvalidContextID);
520 void replaceThreadContext(ThreadContext *tc, ContextID context_id);
521
522 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
523 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
522 void serialize(CheckpointOut &cp) const override;
523 void unserialize(CheckpointIn &cp) override;
524
524
525 void drainResume() M5_ATTR_OVERRIDE;
525 void drainResume() override;
526
527 public:
528 Counter totalNumInsts;
529 EventQueue instEventQueue;
530 std::map<std::pair<uint32_t,uint32_t>, Tick> lastWorkItemStarted;
531 std::map<uint32_t, Stats::Histogram*> workItemStats;
532
533 ////////////////////////////////////////////

--- 38 unchanged lines hidden ---
526
527 public:
528 Counter totalNumInsts;
529 EventQueue instEventQueue;
530 std::map<std::pair<uint32_t,uint32_t>, Tick> lastWorkItemStarted;
531 std::map<uint32_t, Stats::Histogram*> workItemStats;
532
533 ////////////////////////////////////////////

--- 38 unchanged lines hidden ---