thread_state.hh (11886:43b882cada33) | thread_state.hh (13865:cca49fc49c57) |
---|---|
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; --- 113 unchanged lines hidden (view full) --- 122 } 123 } 124 125 SETranslatingPortProxy &getMemProxy(); 126 127 /** Reads the number of instructions functionally executed and 128 * committed. 129 */ | 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; --- 113 unchanged lines hidden (view full) --- 122 } 123 } 124 125 SETranslatingPortProxy &getMemProxy(); 126 127 /** Reads the number of instructions functionally executed and 128 * committed. 129 */ |
130 Counter readFuncExeInst() { return funcExeInst; } | 130 Counter readFuncExeInst() const { return funcExeInst; } |
131 132 /** Sets the total number of instructions functionally executed 133 * and committed. 134 */ 135 void setFuncExeInst(Counter new_val) { funcExeInst = new_val; } 136 137 /** Returns the status of this thread. */ 138 Status status() const { return _status; } --- 78 unchanged lines hidden --- | 131 132 /** Sets the total number of instructions functionally executed 133 * and committed. 134 */ 135 void setFuncExeInst(Counter new_val) { funcExeInst = new_val; } 136 137 /** Returns the status of this thread. */ 138 Status status() const { return _status; } --- 78 unchanged lines hidden --- |