Searched refs:trace (Results 1 - 25 of 64) sorted by relevance

123

/gem5/util/
H A Dchecktrace.sh29 for trace in */ethertrace
31 bad=`tethereal -r $trace -q -z "io,stat,100,tcp.analysis.retransmission||tcp.analysis.fast_retransmission||tcp.analysis.out_of_order||tcp.analysis.lost_segment||tcp.analysis.ack_lost_segment||tcp.analysis.window_full||tcp.analysis.duplicate_ack||tcp.analysis.duplicate_ack_num||tcp.analysis.duplicate_ack_frame" | grep 000.000 | awk '{print $2}'`
32 name=`dirname $trace`
H A Do3-pipeview.py70 def process_trace(trace, outfile, cycle_time, width, color, timestamps,
86 line = trace.readline()
93 line = trace.readline()
99 line = trace.readline()
105 line = trace.readline()
146 line = trace.readline()
362 # Process trace
363 print 'Processing trace... ',
364 with open(args[0], 'r') as trace:
366 process_trace(trace, ou
[all...]
/gem5/src/python/m5/
H A Dtrace.py33 from _m5.trace import output, ignore, disable, enable
/gem5/ext/systemc/src/sysc/tracing/
H A Dsc_vcd_trace.h79 // Create a Vcd trace file.
92 void trace(const bool& object, const std::string& name);
95 virtual void trace( const sc_dt::sc_bit& object,
99 void trace(const sc_dt::sc_logic& object, const std::string& name);
102 void trace(const unsigned char& object, const std::string& name,
106 void trace(const unsigned short& object, const std::string& name,
110 void trace(const unsigned int& object, const std::string& name,
114 void trace(const unsigned long& object, const std::string& name,
118 void trace(const char& object, const std::string& name, int width);
121 void trace(cons
204 virtual void trace( sc_trace_file* ) const { sc_assert(false); } function in class:sc_core::vcd_trace_file
[all...]
H A Dsc_wif_trace.h77 // Create a wif trace file.
88 void trace(const bool& object, const std::string& name);
91 void trace(const sc_dt::sc_bit& object, const std::string& name);
94 void trace(const sc_dt::sc_logic& object, const std::string& name);
97 void trace(const unsigned char& object, const std::string& name,
101 void trace(const unsigned short& object, const std::string& name,
105 void trace(const unsigned int& object, const std::string& name,
109 void trace(const unsigned long& object, const std::string& name,
113 void trace(const char& object, const std::string& name, int width);
116 void trace(cons
199 virtual void trace( sc_trace_file* ) const { sc_assert(false); } function in class:sc_core::wif_trace_file
[all...]
H A Dsc_trace.cpp95 tf->trace( object.read(), name, width );
106 tf->trace( object.read(), name, width );
117 tf->trace( object.read(), name, width );
128 tf->trace( object.read(), name, width );
163 tf->trace( object, name ); \
172 tf->trace( *object, name ); \
212 if( tf ) tf->trace( object, name, enum_literals );
H A Dsc_trace.h81 // Base class for all kinds of trace files.
97 virtual void trace( const tp& object, \
101 virtual void trace( const tp& object, \
141 // literals in the trace file. Enum literals is a null terminated array
143 virtual void trace( const unsigned int& object,
147 // Output a comment to the trace file
154 // Also trace transitions between delta cycles if flag is true.
162 // Write trace info for cycle
219 tf->trace( object, name ); \
229 tf->trace( *objec
[all...]
/gem5/src/cpu/testers/traffic_gen/
H A Dtrace_gen.cc48 #include "base/trace.hh"
53 : trace(filename)
63 if (!trace.read(header_msg)) {
64 panic("Failed to read packet header from trace\n");
74 trace.reset();
82 if (trace.read(pkt_msg)) {
99 DPRINTF(TrafficGen, "No next tick as trace is finished\n");
101 // the trace Return MaxTick to signal that there will be no
121 // update the trace offset to the time where the state was entered.
128 traceComplete = !trace
[all...]
H A Dtrace_gen.hh45 * Declaration of the trace generator that reads a trace file
59 * The trace replay generator reads a trace file and plays
60 * back the transactions. The trace is offset with respect to
69 * This struct stores a line in the trace file.
106 * The InputStream encapsulates a trace file and the
115 /// Input file stream for the protobuf trace
116 ProtoInputStream trace; member in class:TraceGen::InputStream
121 * Create a trace inpu
187 InputStream trace; member in class:TraceGen
[all...]
/gem5/src/cpu/
H A Dprofile.hh70 TheISA::StackTrace trace; member in class:FunctionProfile
86 if (!trace.trace(tc, inst))
88 trace.dprintf();
89 return consume(trace.getstack());
/gem5/src/arch/alpha/
H A Dstacktrace.hh34 #include "base/trace.hh"
75 void trace(ThreadContext *tc, bool is_call);
90 bool trace(ThreadContext *tc, const StaticInstPtr &inst);
114 StackTrace::trace(ThreadContext *tc, const StaticInstPtr &inst) function in class:AlphaISA::StackTrace
122 trace(tc, !inst->isReturn());
/gem5/src/arch/arm/
H A Dstacktrace.hh34 #include "base/trace.hh"
77 void trace(ThreadContext *tc, bool is_call);
91 bool trace(ThreadContext *tc, const StaticInstPtr &inst);
109 StackTrace::trace(ThreadContext *tc, const StaticInstPtr &inst) function in class:ArmISA::StackTrace
117 trace(tc, !inst->isReturn());
/gem5/src/arch/mips/
H A Dstacktrace.hh34 #include "base/trace.hh"
74 void trace(ThreadContext *tc, bool is_call);
88 bool trace(ThreadContext *tc, const StaticInstPtr &inst);
110 StackTrace::trace(ThreadContext *tc, const StaticInstPtr &inst) function in class:MipsISA::StackTrace
118 trace(tc, !inst->isReturn());
/gem5/src/arch/sparc/
H A Dstacktrace.hh51 trace(ThreadContext *tc, const StaticInstPtr &inst) function in class:SparcISA::StackTrace
53 panic("StackTrace::trace not implemented for SPARC.\n");
/gem5/src/arch/x86/
H A Dstacktrace.hh34 #include "base/trace.hh"
74 void trace(ThreadContext *tc, bool is_call);
88 bool trace(ThreadContext *tc, const StaticInstPtr &inst);
110 StackTrace::trace(ThreadContext *tc, const StaticInstPtr &inst) function in class:X86ISA::StackTrace
118 trace(tc, !inst->isReturn());
/gem5/src/arch/riscv/
H A Dstacktrace.hh38 #include "base/trace.hh"
70 void trace(ThreadContext *tc, bool is_call);
90 bool trace(ThreadContext *tc, const StaticInstPtr &inst);
124 StackTrace::trace(ThreadContext *tc, const StaticInstPtr &inst) function in class:RiscvISA::StackTrace
132 trace(tc, !inst->isReturn());
/gem5/src/arch/power/
H A Dstacktrace.hh38 #include "base/trace.hh"
70 void trace(ThreadContext *tc, bool is_call);
90 bool trace(ThreadContext *tc, const StaticInstPtr &inst);
124 StackTrace::trace(ThreadContext *tc, const StaticInstPtr &inst) function in class:PowerISA::StackTrace
132 trace(tc, !inst->isReturn());
/gem5/ext/drampower/src/
H A DTraceParser.cc77 void TraceParser::parseFile(MemorySpecification memSpec, std::ifstream& trace, argument
88 cmdsched.transTranslation(memSpec, trace, grouping, interleaving, burst, powerdown);
89 pwr_trace.open("commands.trace", ifstream::in);
107 while (getline(trace, line)) {
122 trace.close();
H A DTraceParser.h55 // function for parsing one line of the trace
62 std::ifstream& trace,
/gem5/src/sim/
H A Deventq_impl.hh38 #include "base/trace.hh"
65 event->trace("scheduled");
81 event->trace("descheduled");
106 event->trace("rescheduled");
/gem5/ext/testlib/
H A Drunner.py90 def handle_error(self, trace):
91 self.testable.result = Result(Result.Errored, trace)
92 self.avoid_children(trace)
94 def handle_skip(self, trace):
95 self.testable.result = Result(Result.Skipped, trace)
96 self.avoid_children(trace)
172 def __init__(self, fixture, testitem, trace):
175 self.trace = trace
180 (trace, fixtur
[all...]
/gem5/src/arch/arm/tracers/
H A Dtarmac_parser.cc702 panic("Unknown TARMAC trace record type!");
730 exitSimLoop("a mismatch with the TARMAC trace has been detected "
733 exitSimLoop("a mismatch with the TARMAC trace has been detected "
749 outs << "\nMismatch between gem5 and TARMAC trace @ " << dec << curTick()
788 // TARMAC trace to next instruction
861 panic("Unknown TARMAC trace record type!");
865 // entries in the TARMAC trace have been parsed
873 exitSimLoop("a mismatch with the TARMAC trace has been detected "
884 ifstream& trace = parent.trace; local
[all...]
H A Dtarmac_parser.hh44 * takes a TARMAC trace as input, which is used to compare the architectural
55 #include "base/trace.hh"
71 * to handle some cases where registers are modified after the trace record
78 * Reference to the TARMAC trace object to which this record belongs.
152 * Advances the TARMAC trace up to the next instruction,
162 /** Buffer for instruction trace records. */
165 /** Buffer for register trace records. */
168 /** Buffer for memory access trace records (stores only). */
174 /** Buffer used for trace file parsing. */
207 * Tarmac Parser: this tracer parses an existing Tarmac trace an
262 std::ifstream trace; member in class:Trace::TarmacParser
[all...]
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dscfx_other_defs.h362 tf->trace( object, name );
371 tf->trace( *object, name );
380 tf->trace( object, name );
389 tf->trace( *object, name );
398 tf->trace( object, name );
407 tf->trace( *object, name );
416 tf->trace( object, name );
425 tf->trace( *object, name );
/gem5/tests/configs/
H A Dtgen-simple-mem.py58 # add a communication monitor, and also trace all the packets and
61 system.monitor.trace = MemTraceProbe(trace_file = "monitor.ptrc.gz")

Completed in 25 milliseconds

123