OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0_rc3/] [or1ksim/] [cpu/] [common/] [stats.c] - Diff between revs 1350 and 1428

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 1350 Rev 1428
Line 57... Line 57...
struct cachestats_entry dc_stats = {0};       /* data cache stats */
struct cachestats_entry dc_stats = {0};       /* data cache stats */
struct immustats_entry immu_stats = {0};      /* insn mmu stats */
struct immustats_entry immu_stats = {0};      /* insn mmu stats */
struct dmmustats_entry dmmu_stats = {0};      /* data mmu stats */
struct dmmustats_entry dmmu_stats = {0};      /* data mmu stats */
struct raw_stats raw_stats = {0};             /* RAW hazard stats */
struct raw_stats raw_stats = {0};             /* RAW hazard stats */
 
 
/* Dependency */
 
 
 
int check_depend()
 
{
 
  debug(5,"check_depend\n");
 
  return depend_operands(&icomplet[0], &iqueue[0]);
 
}
 
 
 
void addsstats(int item, int cnt_dynamic)
void addsstats(int item, int cnt_dynamic)
{
{
  int i = 0;
  int i = 0;
 
 
  while(sstats[i].insn != item && sstats[i].insn >= 0 && i < SSTATS_LEN) i++;
  while(sstats[i].insn != item && sstats[i].insn >= 0 && i < SSTATS_LEN) i++;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.