Deleted Added
sdiff udiff text old ( 9253:e0d2a8e9f445 ) new ( 9254:f1b35c618252 )
full compact
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2010 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

250 */
251 virtual unsigned int drain(Event *drain_event);
252
253 /**
254 * Switch an object in the Drained stated into the Running state.
255 */
256 virtual void resume();
257
258#ifdef DEBUG
259 public:
260 bool doDebugBreak;
261 static void debugObjectBreak(const std::string &objs);
262#endif
263
264 /**
265 * Find the SimObject with the given name and return a pointer to
266 * it. Primarily used for interactive debugging. Argument is
267 * char* rather than std::string to make it callable from gdb.
268 */
269 static SimObject *find(const char *name);
270};
271
272#endif // __SIM_OBJECT_HH__