simpoint.cc (10417:710ee116eb68) simpoint.cc (10651:333350e4e334)
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

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

74}
75
76void
77SimPoint::profile(const std::pair<SimpleThread*, StaticInstPtr>& p)
78{
79 SimpleThread* thread = p.first;
80 const StaticInstPtr &inst = p.second;
81
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

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

74}
75
76void
77SimPoint::profile(const std::pair<SimpleThread*, StaticInstPtr>& p)
78{
79 SimpleThread* thread = p.first;
80 const StaticInstPtr &inst = p.second;
81
82 if (inst->isMicroop() && !inst->isLastMicroop())
83 return;
84
82 if (!currentBBVInstCount)
83 currentBBV.first = thread->pcState().instAddr();
84
85 ++intervalCount;
86 ++currentBBVInstCount;
87
88 // If inst is control inst, assume end of basic block.
89 if (inst->isControl()) {

--- 56 unchanged lines hidden ---
85 if (!currentBBVInstCount)
86 currentBBV.first = thread->pcState().instAddr();
87
88 ++intervalCount;
89 ++currentBBVInstCount;
90
91 // If inst is control inst, assume end of basic block.
92 if (inst->isControl()) {

--- 56 unchanged lines hidden ---