Searched refs:visitor (Results 1 - 11 of 11) sorted by relevance

/gem5/src/mem/cache/tags/
H A Dcompressed_tags.hh123 * Visit each sub-block in the tags and apply a visitor.
125 * The visitor should be a std::function that takes a cache block.
128 * @param visitor Visitor to call on each block.
130 void forEachBlk(std::function<void(CacheBlk &)> visitor) override;
135 * The visitor should be a std::function that takes a cache block
136 * reference as its parameter. The visitor will terminate the
139 * @param visitor Visitor to call on each block.
141 bool anyBlk(std::function<bool(CacheBlk &)> visitor) override;
H A Dbase_set_assoc.hh234 void forEachBlk(std::function<void(CacheBlk &)> visitor) override {
236 visitor(blk);
240 bool anyBlk(std::function<bool(CacheBlk &)> visitor) override {
242 if (visitor(blk)) {
H A Dcompressed_tags.cc188 CompressedTags::forEachBlk(std::function<void(CacheBlk &)> visitor) argument
191 visitor(blk);
196 CompressedTags::anyBlk(std::function<bool(CacheBlk &)> visitor) argument
199 if (visitor(blk)) {
H A Dsector_tags.hh179 * Visit each sub-block in the tags and apply a visitor.
181 * The visitor should be a std::function that takes a cache block.
184 * @param visitor Visitor to call on each block.
186 void forEachBlk(std::function<void(CacheBlk &)> visitor) override;
191 * The visitor should be a std::function that takes a cache block
192 * reference as its parameter. The visitor will terminate the
195 * @param visitor Visitor to call on each block.
197 bool anyBlk(std::function<bool(CacheBlk &)> visitor) override;
H A Dfa_lru.hh260 void forEachBlk(std::function<void(CacheBlk &)> visitor) override {
262 visitor(blks[i]);
266 bool anyBlk(std::function<bool(CacheBlk &)> visitor) override {
268 if (visitor(blks[i])) {
H A Dbase.hh326 * Visit each block in the tags and apply a visitor
328 * The visitor should be a std::function that takes a cache block
331 * @param visitor Visitor to call on each block.
333 virtual void forEachBlk(std::function<void(CacheBlk &)> visitor) = 0;
338 * The visitor should be a std::function that takes a cache block
339 * reference as its parameter. The visitor will terminate the
342 * @param visitor Visitor to call on each block.
344 virtual bool anyBlk(std::function<bool(CacheBlk &)> visitor) = 0;
H A Dsector_tags.cc286 SectorTags::forEachBlk(std::function<void(CacheBlk &)> visitor)
289 visitor(blk);
294 SectorTags::anyBlk(std::function<bool(CacheBlk &)> visitor)
297 if (visitor(blk)) {
/gem5/src/python/m5/stats/
H A D__init__.py59 # Dictionary of stat visitor factories populated by the _url_factory
60 # visitor.
126 fatal("Illegal stat visitor parameter specified")
191 """Add a stat visitor specified using a URL string
242 def _visit_groups(visitor, root=None):
246 visitor(group)
247 _visit_groups(visitor, root=group)
249 def _visit_stats(visitor, root=None):
252 visitor(g, stat)
328 def _dump_to_visitor(visitor, roo
[all...]
/gem5/ext/pybind11/tests/
H A Dtest_stl.cpp202 "visitor::result_type is required by boost::variant in C++11 mode");
204 struct visitor { struct
215 return py::detail::visit_helper<variant>::call(visitor(), v);
218 return py::detail::visit_helper<variant>::call(visitor(), v);
/gem5/src/base/stats/
H A Dinfo.hh137 virtual void visit(Output &visitor) = 0;
/gem5/src/base/
H A Dstatistics.hh109 visit(Output &visitor) argument
111 visitor.visit(*static_cast<Base *>(this));
783 void visit(Output &visitor) { visitor.visit(*this); }

Completed in 21 milliseconds