cpu.hh (5958:2d9737bf3c2f) | cpu.hh (5999:3cf8e71257e0) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 741 unchanged lines hidden (view full) --- 750 } 751 752 Addr lockAddr; 753 754 /** Temporary fix for the lock flag, works in the UP case. */ 755 bool lockFlag; 756 757 /** Stat for total number of times the CPU is descheduled. */ | 1/* 2 * Copyright (c) 2004-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; --- 741 unchanged lines hidden (view full) --- 750 } 751 752 Addr lockAddr; 753 754 /** Temporary fix for the lock flag, works in the UP case. */ 755 bool lockFlag; 756 757 /** Stat for total number of times the CPU is descheduled. */ |
758 Stats::Scalar<> timesIdled; | 758 Stats::Scalar timesIdled; |
759 /** Stat for total number of cycles the CPU spends descheduled. */ | 759 /** Stat for total number of cycles the CPU spends descheduled. */ |
760 Stats::Scalar<> idleCycles; | 760 Stats::Scalar idleCycles; |
761 /** Stat for the number of committed instructions per thread. */ | 761 /** Stat for the number of committed instructions per thread. */ |
762 Stats::Vector<> committedInsts; | 762 Stats::Vector committedInsts; |
763 /** Stat for the total number of committed instructions. */ | 763 /** Stat for the total number of committed instructions. */ |
764 Stats::Scalar<> totalCommittedInsts; | 764 Stats::Scalar totalCommittedInsts; |
765 /** Stat for the CPI per thread. */ 766 Stats::Formula cpi; 767 /** Stat for the total CPI. */ 768 Stats::Formula totalCpi; 769 /** Stat for the IPC per thread. */ 770 Stats::Formula ipc; 771 /** Stat for the total IPC. */ 772 Stats::Formula totalIpc; 773}; 774 775#endif // __CPU_O3_CPU_HH__ | 765 /** Stat for the CPI per thread. */ 766 Stats::Formula cpi; 767 /** Stat for the total CPI. */ 768 Stats::Formula totalCpi; 769 /** Stat for the IPC per thread. */ 770 Stats::Formula ipc; 771 /** Stat for the total IPC. */ 772 Stats::Formula totalIpc; 773}; 774 775#endif // __CPU_O3_CPU_HH__ |