diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-03-05 20:54:36 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-03-05 20:54:36 -0500 |
commit | f776ec84c1431c89b33364a559af76360532a0e3 (patch) | |
tree | f11aa5eed6e15175311d7c69fd67e2bec5066b75 /util/statetrace/tracechild.hh | |
parent | 992fda55f91c652b1ced0ac50de9b6d647f1345f (diff) | |
parent | 9b72ff82907a1f3b0b740dcbceb462fb0fd7d8c3 (diff) | |
download | gem5-f776ec84c1431c89b33364a559af76360532a0e3.tar.xz |
Merge zizzer.eecs.umich.edu:/bk/newmem
into zower.eecs.umich.edu:/home/gblack/m5/newmem-statetrace
--HG--
extra : convert_revision : 0959fb162253ff1eed8da0a990f58897322f0e1f
Diffstat (limited to 'util/statetrace/tracechild.hh')
-rw-r--r-- | util/statetrace/tracechild.hh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/util/statetrace/tracechild.hh b/util/statetrace/tracechild.hh index f9c23b781..84fa595d8 100644 --- a/util/statetrace/tracechild.hh +++ b/util/statetrace/tracechild.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006 The Regents of The University of Michigan + * Copyright (c) 2006-2007 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -37,11 +37,13 @@ class TraceChild : public RegState { protected: int pid; + uint64_t instructions; bool tracing; public: - TraceChild() : tracing(false) + TraceChild() : tracing(false), instructions(0) {;} - virtual bool startTracing(const char * pathToFile, const char * arg); + virtual bool startTracing(const char * pathToFile, + char * const argv[]); virtual bool stopTracing(); virtual bool step(); virtual uint64_t getPC() = 0; |