simple_thread.cc (10905:a6ca6831e775) simple_thread.cc (11359:b0b976a1ceda)
1/*
2 * Copyright (c) 2001-2006 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;

--- 140 unchanged lines hidden (view full) ---

149SimpleThread::startup()
150{
151 isa->startup(tc);
152}
153
154void
155SimpleThread::dumpFuncProfile()
156{
1/*
2 * Copyright (c) 2001-2006 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;

--- 140 unchanged lines hidden (view full) ---

149SimpleThread::startup()
150{
151 isa->startup(tc);
152}
153
154void
155SimpleThread::dumpFuncProfile()
156{
157 std::ostream *os = simout.create(csprintf("profile.%s.dat",
158 baseCpu->name()));
159 profile->dump(tc, *os);
157 OutputStream *os(simout.create(csprintf("profile.%s.dat", baseCpu->name())));
158 profile->dump(tc, *os->stream());
159 simout.close(os);
160}
161
162void
163SimpleThread::activate()
164{
165 if (status() == ThreadContext::Active)
166 return;
167

--- 57 unchanged lines hidden ---
160}
161
162void
163SimpleThread::activate()
164{
165 if (status() == ThreadContext::Active)
166 return;
167

--- 57 unchanged lines hidden ---