mem_trace.hh (11001:80f018934c3a) | mem_trace.hh (11139:bd894d2bdd7c) |
---|---|
1/* 2 * Copyright (c) 2015 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 --- 38 unchanged lines hidden (view full) --- 47struct MemTraceProbeParams; 48 49class MemTraceProbe : public BaseMemProbe 50{ 51 public: 52 MemTraceProbe(MemTraceProbeParams *params); 53 54 protected: | 1/* 2 * Copyright (c) 2015 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 --- 38 unchanged lines hidden (view full) --- 47struct MemTraceProbeParams; 48 49class MemTraceProbe : public BaseMemProbe 50{ 51 public: 52 MemTraceProbe(MemTraceProbeParams *params); 53 54 protected: |
55 void handleRequest(const PacketPtr &pkt) M5_ATTR_OVERRIDE; | 55 void handleRequest(const ProbePoints::PacketInfo &pkt_info) \ 56 M5_ATTR_OVERRIDE; |
56 57 /** 58 * Callback to flush and close all open output streams on exit. If 59 * we were calling the destructor it could be done there. 60 */ 61 void closeStreams(); 62 63 protected: 64 65 /** Trace output stream */ 66 ProtoOutputStream *traceStream; 67}; 68 69#endif //__MEM_PROBES_MEM_TRACE_HH__ | 57 58 /** 59 * Callback to flush and close all open output streams on exit. If 60 * we were calling the destructor it could be done there. 61 */ 62 void closeStreams(); 63 64 protected: 65 66 /** Trace output stream */ 67 ProtoOutputStream *traceStream; 68}; 69 70#endif //__MEM_PROBES_MEM_TRACE_HH__ |