exetrace.cc (5791:3d417492668d) | exetrace.cc (5866:303e409d88d9) |
---|---|
1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 32 unchanged lines hidden (view full) --- 41#include "enums/OpClass.hh" 42 43using namespace std; 44using namespace TheISA; 45 46namespace Trace { 47 48void | 1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 32 unchanged lines hidden (view full) --- 41#include "enums/OpClass.hh" 42 43using namespace std; 44using namespace TheISA; 45 46namespace Trace { 47 48void |
49ExeTracerRecord::dumpTicks(ostream &outs) 50{ 51 ccprintf(outs, "%7d: ", when); 52} 53 54void |
|
49Trace::ExeTracerRecord::traceInst(StaticInstPtr inst, bool ran) 50{ 51 ostream &outs = Trace::output(); 52 53 if (IsOn(ExecTicks)) | 55Trace::ExeTracerRecord::traceInst(StaticInstPtr inst, bool ran) 56{ 57 ostream &outs = Trace::output(); 58 59 if (IsOn(ExecTicks)) |
54 ccprintf(outs, "%7d: ", when); | 60 dumpTicks(outs); |
55 56 outs << thread->getCpuPtr()->name() << " "; 57 58 if (IsOn(ExecSpeculative)) 59 outs << (misspeculating ? "-" : "+") << " "; 60 61 if (IsOn(ExecThread)) 62 outs << "T" << thread->threadId() << " : "; --- 90 unchanged lines hidden --- | 61 62 outs << thread->getCpuPtr()->name() << " "; 63 64 if (IsOn(ExecSpeculative)) 65 outs << (misspeculating ? "-" : "+") << " "; 66 67 if (IsOn(ExecThread)) 68 outs << "T" << thread->threadId() << " : "; --- 90 unchanged lines hidden --- |