// If calls to prefetch methods are in a loop, the loop should be cloned // such that if Prefetch{Scan,Copy}Interval and/or PrefetchFieldInterval // say not to do prefetching, these methods aren't called. At the very // least, they take up a memory issue slot. They should be implemented // as inline assembly code: doing an actual call isn't worth the cost.
class Prefetch : AllStatic { public: enum style {
do_none, // Do no prefetching
do_read, // Do read prefetching
do_write // Do write prefetching
};
// Prefetch anticipating read; must not fault, semantically a no-op staticvoid read(constvoid* loc, intx interval);
// Prefetch anticipating write; must not fault, semantically a no-op staticvoid write(void* loc, intx interval);
};
#endif// SHARE_RUNTIME_PREFETCH_HPP
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-09-05)
¤
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.