/** * xe_gt_stats_incr - Increments the specified stats counter * @gt: GT structure * @id: xe_gt_stats_id type id that needs to be incremented * @incr: value to be incremented with * * Increments the specified stats counter.
*/ void xe_gt_stats_incr(struct xe_gt *gt, constenum xe_gt_stats_id id, int incr)
{ if (id >= __XE_GT_STATS_NUM_IDS) return;
/** * xe_gt_stats_print_info - Print the GT stats * @gt: GT structure * @p: drm_printer where it will be printed out. * * This prints out all the available GT stats.
*/ int xe_gt_stats_print_info(struct xe_gt *gt, struct drm_printer *p)
{ enum xe_gt_stats_id id;
for (id = 0; id < __XE_GT_STATS_NUM_IDS; ++id)
drm_printf(p, "%s: %lld\n", stat_description[id],
atomic64_read(>->stats.counters[id]));
return 0;
}
Messung V0.5
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet)
¤
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.