iew.hh (2702:8a3ee279559b) iew.hh (2727:91e17c7ee622)
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;

--- 423 unchanged lines hidden (view full) ---

432 /** Stat for total number of dispatched store instructions. */
433 Stats::Scalar<> iewDispStoreInsts;
434 /** Stat for total number of dispatched non speculative instructions. */
435 Stats::Scalar<> iewDispNonSpecInsts;
436 /** Stat for number of times the IQ becomes full. */
437 Stats::Scalar<> iewIQFullEvents;
438 /** Stat for number of times the LSQ becomes full. */
439 Stats::Scalar<> iewLSQFullEvents;
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;

--- 423 unchanged lines hidden (view full) ---

432 /** Stat for total number of dispatched store instructions. */
433 Stats::Scalar<> iewDispStoreInsts;
434 /** Stat for total number of dispatched non speculative instructions. */
435 Stats::Scalar<> iewDispNonSpecInsts;
436 /** Stat for number of times the IQ becomes full. */
437 Stats::Scalar<> iewIQFullEvents;
438 /** Stat for number of times the LSQ becomes full. */
439 Stats::Scalar<> iewLSQFullEvents;
440 /** Stat for total number of executed instructions. */
441 Stats::Scalar<> iewExecutedInsts;
442 /** Stat for total number of executed load instructions. */
443 Stats::Vector<> iewExecLoadInsts;
444 /** Stat for total number of executed store instructions. */
445// Stats::Scalar<> iewExecStoreInsts;
446 /** Stat for total number of squashed instructions skipped at execute. */
447 Stats::Scalar<> iewExecSquashedInsts;
448 /** Stat for total number of memory ordering violation events. */
449 Stats::Scalar<> memOrderViolationEvents;
450 /** Stat for total number of incorrect predicted taken branches. */
451 Stats::Scalar<> predictedTakenIncorrect;
452 /** Stat for total number of incorrect predicted not taken branches. */
453 Stats::Scalar<> predictedNotTakenIncorrect;
454 /** Stat for total number of mispredicted branches detected at execute. */
455 Stats::Formula branchMispredicts;
456
440 /** Stat for total number of memory ordering violation events. */
441 Stats::Scalar<> memOrderViolationEvents;
442 /** Stat for total number of incorrect predicted taken branches. */
443 Stats::Scalar<> predictedTakenIncorrect;
444 /** Stat for total number of incorrect predicted not taken branches. */
445 Stats::Scalar<> predictedNotTakenIncorrect;
446 /** Stat for total number of mispredicted branches detected at execute. */
447 Stats::Formula branchMispredicts;
448
449 /** Stat for total number of executed instructions. */
450 Stats::Scalar<> iewExecutedInsts;
451 /** Stat for total number of executed load instructions. */
452 Stats::Vector<> iewExecLoadInsts;
453 /** Stat for total number of squashed instructions skipped at execute. */
454 Stats::Scalar<> iewExecSquashedInsts;
457 /** Number of executed software prefetches. */
455 /** Number of executed software prefetches. */
458 Stats::Vector<> exeSwp;
456 Stats::Vector<> iewExecutedSwp;
459 /** Number of executed nops. */
457 /** Number of executed nops. */
460 Stats::Vector<> exeNop;
458 Stats::Vector<> iewExecutedNop;
461 /** Number of executed meomory references. */
459 /** Number of executed meomory references. */
462 Stats::Vector<> exeRefs;
460 Stats::Vector<> iewExecutedRefs;
463 /** Number of executed branches. */
461 /** Number of executed branches. */
464 Stats::Vector<> exeBranches;
465
466// Stats::Vector<> issued_ops;
467/*
468 Stats::Vector<> stat_fu_busy;
469 Stats::Vector2d<> stat_fuBusy;
470 Stats::Vector<> dist_unissued;
471 Stats::Vector2d<> stat_issued_inst_type;
472*/
473 /** Number of instructions issued per cycle. */
474 Stats::Formula issueRate;
462 Stats::Vector<> iewExecutedBranches;
475 /** Number of executed store instructions. */
476 Stats::Formula iewExecStoreInsts;
463 /** Number of executed store instructions. */
464 Stats::Formula iewExecStoreInsts;
477// Stats::Formula issue_op_rate;
478// Stats::Formula fu_busy_rate;
465 /** Number of instructions executed per cycle. */
466 Stats::Formula iewExecRate;
467
479 /** Number of instructions sent to commit. */
480 Stats::Vector<> iewInstsToCommit;
481 /** Number of instructions that writeback. */
482 Stats::Vector<> writebackCount;
483 /** Number of instructions that wake consumers. */
484 Stats::Vector<> producerInst;
485 /** Number of instructions that wake up from producers. */
486 Stats::Vector<> consumerInst;
487 /** Number of instructions that were delayed in writing back due
488 * to resource contention.
489 */
490 Stats::Vector<> wbPenalized;
468 /** Number of instructions sent to commit. */
469 Stats::Vector<> iewInstsToCommit;
470 /** Number of instructions that writeback. */
471 Stats::Vector<> writebackCount;
472 /** Number of instructions that wake consumers. */
473 Stats::Vector<> producerInst;
474 /** Number of instructions that wake up from producers. */
475 Stats::Vector<> consumerInst;
476 /** Number of instructions that were delayed in writing back due
477 * to resource contention.
478 */
479 Stats::Vector<> wbPenalized;
491
492 /** Number of instructions per cycle written back. */
493 Stats::Formula wbRate;
494 /** Average number of woken instructions per writeback. */
495 Stats::Formula wbFanout;
496 /** Number of instructions per cycle delayed in writing back . */
497 Stats::Formula wbPenalizedRate;
498};
499
500#endif // __CPU_O3_IEW_HH__
480 /** Number of instructions per cycle written back. */
481 Stats::Formula wbRate;
482 /** Average number of woken instructions per writeback. */
483 Stats::Formula wbFanout;
484 /** Number of instructions per cycle delayed in writing back . */
485 Stats::Formula wbPenalizedRate;
486};
487
488#endif // __CPU_O3_IEW_HH__