simpoint.hh (11168:f98eb2da15a4) simpoint.hh (11359:b0b976a1ceda)
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
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"
46#include "cpu/simple_thread.hh"
47#include "params/SimPoint.hh"
48#include "sim/probe/probe.hh"
49
50/**
51 * Probe for SimPoints BBV generation
52 */
53

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

92 /** SimPoint profiling interval size in instructions */
93 const uint64_t intervalSize;
94
95 /** Inst count in current basic block */
96 uint64_t intervalCount;
97 /** Excess inst count from previous interval*/
98 uint64_t intervalDrift;
99 /** Pointer to SimPoint BBV output stream */
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 */
100 std::ostream *simpointStream;
101 OutputStream *simpointStream;
101
102 /** Basic Block information */
103 struct BBInfo {
104 /** Unique ID */
105 uint64_t id;
106 /** Num of static insts in BB */
107 uint64_t insts;
108 /** Accumulated dynamic inst count executed by BB */

--- 12 unchanged lines hidden ---
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 ---