inst_pb_trace.hh (11168:f98eb2da15a4) | inst_pb_trace.hh (12615:ccdc49c36ad3) |
---|---|
1/* 2 * Copyright (c) 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 --- 79 unchanged lines hidden (view full) --- 88 InstPBTrace(const InstPBTraceParams *p); 89 virtual ~InstPBTrace(); 90 91 InstPBTraceRecord* getInstRecord(Tick when, ThreadContext *tc, const 92 StaticInstPtr si, TheISA::PCState pc, const 93 StaticInstPtr mi = NULL) override; 94 95 protected: | 1/* 2 * Copyright (c) 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 --- 79 unchanged lines hidden (view full) --- 88 InstPBTrace(const InstPBTraceParams *p); 89 virtual ~InstPBTrace(); 90 91 InstPBTraceRecord* getInstRecord(Tick when, ThreadContext *tc, const 92 StaticInstPtr si, TheISA::PCState pc, const 93 StaticInstPtr mi = NULL) override; 94 95 protected: |
96 std::unique_ptr<uint8_t []> buf; 97 size_t bufSize; 98 |
|
96 /** One output stream for the entire simulation. 97 * We encode the CPU & system ID so all we need is a single file 98 */ 99 static ProtoOutputStream *traceStream; 100 101 102 /** This is the message were working on writing. The majority of the message 103 * exists however the memory accesses will be delayed. --- 32 unchanged lines hidden --- | 99 /** One output stream for the entire simulation. 100 * We encode the CPU & system ID so all we need is a single file 101 */ 102 static ProtoOutputStream *traceStream; 103 104 105 /** This is the message were working on writing. The majority of the message 106 * exists however the memory accesses will be delayed. --- 32 unchanged lines hidden --- |