Line 31... |
Line 31... |
struct sstats_entry sstats[SSTATS_LEN]; /* single stats */
|
struct sstats_entry sstats[SSTATS_LEN]; /* single stats */
|
struct fstats_entry fstats[FSTATS_LEN]; /* functional units stats */
|
struct fstats_entry fstats[FSTATS_LEN]; /* functional units stats */
|
struct mstats_entry mstats; /* misc units stats */
|
struct mstats_entry mstats; /* misc units stats */
|
struct cachestats_entry ic_stats; /* instruction cache stats */
|
struct cachestats_entry ic_stats; /* instruction cache stats */
|
struct cachestats_entry dc_stats; /* data cache stats */
|
struct cachestats_entry dc_stats; /* data cache stats */
|
struct mmustats_entry dmmu_stats; /* data cache stats */
|
struct immustats_entry immu_stats; /* insn mmu stats */
|
|
struct dmmustats_entry dmmu_stats; /* data mmu stats */
|
struct raw_stats raw_stats; /* RAW hazard stats */
|
struct raw_stats raw_stats; /* RAW hazard stats */
|
struct slp_stats slp_stats; /* SLP stats */
|
struct slp_stats slp_stats; /* SLP stats */
|
|
|
/* Dependency */
|
/* Dependency */
|
|
|
Line 261... |
Line 262... |
printf("BPB: hit %d (correct %d%%), miss %d\n", mstats.bpb.hit, (mstats.bpb.correct * 100) / SD(mstats.bpb.hit), mstats.bpb.miss);
|
printf("BPB: hit %d (correct %d%%), miss %d\n", mstats.bpb.hit, (mstats.bpb.correct * 100) / SD(mstats.bpb.hit), mstats.bpb.miss);
|
printf("BTIC: hit %d(%d%%), miss %d\n", mstats.btic.hit, (mstats.btic.hit * 100) / SD(mstats.btic.hit + mstats.btic.miss), mstats.btic.miss);
|
printf("BTIC: hit %d(%d%%), miss %d\n", mstats.btic.hit, (mstats.btic.hit * 100) / SD(mstats.btic.hit + mstats.btic.miss), mstats.btic.miss);
|
printf("IC read: hit %d(%d%%), miss %d\n", ic_stats.readhit, (ic_stats.readhit * 100) / SD(ic_stats.readhit + ic_stats.readmiss), ic_stats.readmiss);
|
printf("IC read: hit %d(%d%%), miss %d\n", ic_stats.readhit, (ic_stats.readhit * 100) / SD(ic_stats.readhit + ic_stats.readmiss), ic_stats.readmiss);
|
printf("DC read: hit %d(%d%%), miss %d\n", dc_stats.readhit, (dc_stats.readhit * 100) / SD(dc_stats.readhit + dc_stats.readmiss), dc_stats.readmiss);
|
printf("DC read: hit %d(%d%%), miss %d\n", dc_stats.readhit, (dc_stats.readhit * 100) / SD(dc_stats.readhit + dc_stats.readmiss), dc_stats.readmiss);
|
printf("DC write: hit %d(%d%%), miss %d\n", dc_stats.writehit, (dc_stats.writehit * 100) / SD(dc_stats.writehit + dc_stats.writemiss), dc_stats.writemiss);
|
printf("DC write: hit %d(%d%%), miss %d\n", dc_stats.writehit, (dc_stats.writehit * 100) / SD(dc_stats.writehit + dc_stats.writemiss), dc_stats.writemiss);
|
|
printf("IMMU read: hit %d(%d%%), miss %d\n", immu_stats.fetch_tlbhit, (immu_stats.fetch_tlbhit * 100) / SD(immu_stats.fetch_tlbhit + immu_stats.fetch_tlbmiss), immu_stats.fetch_tlbmiss);
|
printf("DMMU read: hit %d(%d%%), miss %d\n", dmmu_stats.loads_tlbhit, (dmmu_stats.loads_tlbhit * 100) / SD(dmmu_stats.loads_tlbhit + dmmu_stats.loads_tlbmiss), dmmu_stats.loads_tlbmiss);
|
printf("DMMU read: hit %d(%d%%), miss %d\n", dmmu_stats.loads_tlbhit, (dmmu_stats.loads_tlbhit * 100) / SD(dmmu_stats.loads_tlbhit + dmmu_stats.loads_tlbmiss), dmmu_stats.loads_tlbmiss);
|
}
|
}
|
|
|
No newline at end of file
|
No newline at end of file
|