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; --- 50 unchanged lines hidden (view full) --- 59 std::string name; 60 }; 61 62 enum State { 63 Running, 64 Draining, 65 Drained 66 }; |
67 68 enum MemoryMode { 69 Invalid=0, 70 Atomic, 71 Timing 72 }; 73 |
74 private: 75 State state; 76 77 protected: 78 Params *_params; 79 80 void changeState(State new_state) { state = new_state; } 81 --- 64 unchanged lines hidden --- |