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 --- 29 unchanged lines hidden (view full) --- 38 * Curtis Dunham 39 */ 40 41#ifndef __CPU_SIMPLE_PROBES_SIMPOINT_HH__ 42#define __CPU_SIMPLE_PROBES_SIMPOINT_HH__ 43 44#include <unordered_map> 45 |
46#include "base/output.hh" |
47#include "cpu/simple_thread.hh" 48#include "params/SimPoint.hh" 49#include "sim/probe/probe.hh" 50 51/** 52 * Probe for SimPoints BBV generation 53 */ 54 --- 38 unchanged lines hidden (view full) --- 93 /** SimPoint profiling interval size in instructions */ 94 const uint64_t intervalSize; 95 96 /** Inst count in current basic block */ 97 uint64_t intervalCount; 98 /** Excess inst count from previous interval*/ 99 uint64_t intervalDrift; 100 /** Pointer to SimPoint BBV output stream */ |
101 OutputStream *simpointStream; |
102 103 /** Basic Block information */ 104 struct BBInfo { 105 /** Unique ID */ 106 uint64_t id; 107 /** Num of static insts in BB */ 108 uint64_t insts; 109 /** Accumulated dynamic inst count executed by BB */ --- 12 unchanged lines hidden --- |