sim_object.hh (5605:b194a80157e2) | sim_object.hh (7460:41550bb10e08) |
---|---|
1/* 2 * Copyright (c) 2001-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; --- 122 unchanged lines hidden (view full) --- 131#endif 132 133 /** 134 * Find the SimObject with the given name and return a pointer to 135 * it. Primarily used for interactive debugging. Argument is 136 * char* rather than std::string to make it callable from gdb. 137 */ 138 static SimObject *find(const char *name); | 1/* 2 * Copyright (c) 2001-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; --- 122 unchanged lines hidden (view full) --- 131#endif 132 133 /** 134 * Find the SimObject with the given name and return a pointer to 135 * it. Primarily used for interactive debugging. Argument is 136 * char* rather than std::string to make it callable from gdb. 137 */ 138 static SimObject *find(const char *name); |
139 140 public: 141 void recordEvent(const std::string &stat); | |
142}; 143 144#endif // __SIM_OBJECT_HH__ | 139}; 140 141#endif // __SIM_OBJECT_HH__ |