thread_context.hh (2834:c8342a71404b) thread_context.hh (2875:9b6f6b75b187)
1/*
2 * Copyright (c) 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;

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

138 /// Set the status to Active. Optional delay indicates number of
139 /// cycles to wait before beginning execution.
140 virtual void activate(int delay = 1) = 0;
141
142 /// Set the status to Suspended.
143 virtual void suspend() = 0;
144
145 /// Set the status to Unallocated.
1/*
2 * Copyright (c) 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;

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

138 /// Set the status to Active. Optional delay indicates number of
139 /// cycles to wait before beginning execution.
140 virtual void activate(int delay = 1) = 0;
141
142 /// Set the status to Suspended.
143 virtual void suspend() = 0;
144
145 /// Set the status to Unallocated.
146 virtual void deallocate() = 0;
146 virtual void deallocate(int delay = 0) = 0;
147
148 /// Set the status to Halted.
149 virtual void halt() = 0;
150
151#if FULL_SYSTEM
152 virtual void dumpFuncProfile() = 0;
153#endif
154

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

313 /// Set the status to Active. Optional delay indicates number of
314 /// cycles to wait before beginning execution.
315 void activate(int delay = 1) { actualTC->activate(delay); }
316
317 /// Set the status to Suspended.
318 void suspend() { actualTC->suspend(); }
319
320 /// Set the status to Unallocated.
147
148 /// Set the status to Halted.
149 virtual void halt() = 0;
150
151#if FULL_SYSTEM
152 virtual void dumpFuncProfile() = 0;
153#endif
154

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

313 /// Set the status to Active. Optional delay indicates number of
314 /// cycles to wait before beginning execution.
315 void activate(int delay = 1) { actualTC->activate(delay); }
316
317 /// Set the status to Suspended.
318 void suspend() { actualTC->suspend(); }
319
320 /// Set the status to Unallocated.
321 void deallocate() { actualTC->deallocate(); }
321 void deallocate(int delay = 0) { actualTC->deallocate(); }
322
323 /// Set the status to Halted.
324 void halt() { actualTC->halt(); }
325
326#if FULL_SYSTEM
327 void dumpFuncProfile() { actualTC->dumpFuncProfile(); }
328#endif
329

--- 119 unchanged lines hidden ---
322
323 /// Set the status to Halted.
324 void halt() { actualTC->halt(); }
325
326#if FULL_SYSTEM
327 void dumpFuncProfile() { actualTC->dumpFuncProfile(); }
328#endif
329

--- 119 unchanged lines hidden ---