base.hh (2680:246e7104f744) base.hh (2798:751e9170247e)
1/*
2 * Copyright (c) 2002-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;

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

143 virtual void regStats();
144
145 virtual void activateWhenReady(int tid) {};
146
147 void registerThreadContexts();
148
149 /// Prepare for another CPU to take over execution. When it is
150 /// is ready (drained pipe) it signals the sampler.
1/*
2 * Copyright (c) 2002-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;

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

143 virtual void regStats();
144
145 virtual void activateWhenReady(int tid) {};
146
147 void registerThreadContexts();
148
149 /// Prepare for another CPU to take over execution. When it is
150 /// is ready (drained pipe) it signals the sampler.
151 virtual void switchOut(Sampler *);
151 virtual void switchOut();
152
153 /// Take over execution from the given CPU. Used for warm-up and
154 /// sampling.
155 virtual void takeOverFrom(BaseCPU *);
156
157 /**
158 * Number of threads we're actually simulating (<= SMT_MAX_THREADS).
159 * This is a constant for the duration of the simulation.

--- 82 unchanged lines hidden ---
152
153 /// Take over execution from the given CPU. Used for warm-up and
154 /// sampling.
155 virtual void takeOverFrom(BaseCPU *);
156
157 /**
158 * Number of threads we're actually simulating (<= SMT_MAX_THREADS).
159 * This is a constant for the duration of the simulation.

--- 82 unchanged lines hidden ---