struct dmc_counter {
u64 all_cnt; /* The count of all requests come in/out ddr controller */ union {
u64 all_req; struct {
u64 all_idle_cnt;
u64 all_16bit_cnt;
};
};
u64 channel_cnt[MAX_CHANNEL_NUM]; /* To save a DMC bandwidth-monitor channel counter */
};
struct dmc_hw_info { void (*enable)(struct dmc_info *info); void (*disable)(struct dmc_info *info); /* Bind an axi line to a bandwidth-monitor channel */ void (*set_axi_filter)(struct dmc_info *info, int axi_id, int chann); int (*irq_handler)(struct dmc_info *info, struct dmc_counter *counter); void (*get_counters)(struct dmc_info *info, struct dmc_counter *counter);
int dmc_nr; /* The number of dmc controller */ int chann_nr; /* The number of dmc bandwidth monitor channels */ struct attribute **fmt_attr; const u64 capability[2];
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.