commit.hh (5529:9ae69b9cd7fd) | commit.hh (5999:3cf8e71257e0) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 438 unchanged lines hidden (view full) --- 447 448 /** Rename map interface. */ 449 RenameMap *renameMap[Impl::MaxThreads]; 450 451 /** Updates commit stats based on this instruction. */ 452 void updateComInstStats(DynInstPtr &inst); 453 454 /** Stat for the total number of committed instructions. */ | 1/* 2 * Copyright (c) 2004-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; --- 438 unchanged lines hidden (view full) --- 447 448 /** Rename map interface. */ 449 RenameMap *renameMap[Impl::MaxThreads]; 450 451 /** Updates commit stats based on this instruction. */ 452 void updateComInstStats(DynInstPtr &inst); 453 454 /** Stat for the total number of committed instructions. */ |
455 Stats::Scalar<> commitCommittedInsts; | 455 Stats::Scalar commitCommittedInsts; |
456 /** Stat for the total number of squashed instructions discarded by commit. 457 */ | 456 /** Stat for the total number of squashed instructions discarded by commit. 457 */ |
458 Stats::Scalar<> commitSquashedInsts; | 458 Stats::Scalar commitSquashedInsts; |
459 /** Stat for the total number of times commit is told to squash. 460 * @todo: Actually increment this stat. 461 */ | 459 /** Stat for the total number of times commit is told to squash. 460 * @todo: Actually increment this stat. 461 */ |
462 Stats::Scalar<> commitSquashEvents; | 462 Stats::Scalar commitSquashEvents; |
463 /** Stat for the total number of times commit has had to stall due to a non- 464 * speculative instruction reaching the head of the ROB. 465 */ | 463 /** Stat for the total number of times commit has had to stall due to a non- 464 * speculative instruction reaching the head of the ROB. 465 */ |
466 Stats::Scalar<> commitNonSpecStalls; | 466 Stats::Scalar commitNonSpecStalls; |
467 /** Stat for the total number of branch mispredicts that caused a squash. */ | 467 /** Stat for the total number of branch mispredicts that caused a squash. */ |
468 Stats::Scalar<> branchMispredicts; | 468 Stats::Scalar branchMispredicts; |
469 /** Distribution of the number of committed instructions each cycle. */ | 469 /** Distribution of the number of committed instructions each cycle. */ |
470 Stats::Distribution<> numCommittedDist; | 470 Stats::Distribution numCommittedDist; |
471 472 /** Total number of instructions committed. */ | 471 472 /** Total number of instructions committed. */ |
473 Stats::Vector<> statComInst; | 473 Stats::Vector statComInst; |
474 /** Total number of software prefetches committed. */ | 474 /** Total number of software prefetches committed. */ |
475 Stats::Vector<> statComSwp; | 475 Stats::Vector statComSwp; |
476 /** Stat for the total number of committed memory references. */ | 476 /** Stat for the total number of committed memory references. */ |
477 Stats::Vector<> statComRefs; | 477 Stats::Vector statComRefs; |
478 /** Stat for the total number of committed loads. */ | 478 /** Stat for the total number of committed loads. */ |
479 Stats::Vector<> statComLoads; | 479 Stats::Vector statComLoads; |
480 /** Total number of committed memory barriers. */ | 480 /** Total number of committed memory barriers. */ |
481 Stats::Vector<> statComMembars; | 481 Stats::Vector statComMembars; |
482 /** Total number of committed branches. */ | 482 /** Total number of committed branches. */ |
483 Stats::Vector<> statComBranches; | 483 Stats::Vector statComBranches; |
484 485 /** Number of cycles where the commit bandwidth limit is reached. */ | 484 485 /** Number of cycles where the commit bandwidth limit is reached. */ |
486 Stats::Scalar<> commitEligibleSamples; | 486 Stats::Scalar commitEligibleSamples; |
487 /** Number of instructions not committed due to bandwidth limits. */ | 487 /** Number of instructions not committed due to bandwidth limits. */ |
488 Stats::Vector<> commitEligible; | 488 Stats::Vector commitEligible; |
489}; 490 491#endif // __CPU_O3_COMMIT_HH__ | 489}; 490 491#endif // __CPU_O3_COMMIT_HH__ |