gem5 v24.0.0.0
No Matches
memoizer.hh File Reference
#include <functional>
#include <map>
#include <type_traits>
#include <utility>

Go to the source code of this file.


class  gem5::Memoizer< Ret, Args >
 This class takes a function as a constructor argument and memoizes it: every time the function gets invoked through the Memoizer object (see operator()), the result gets saved in the internal cache, ready to be retrieved next time an invokation is made with the same arguments. More...


namespace  gem5
 Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.

Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0