hpx/cache/statistics/no_statistics.hpp
hpx/cache/statistics/no_statistics.hpp#
See Public API for a list of names and headers that are part of the public HPX API.
Defines
-
HPX_CACHE_METHOD_UNSCOPED_ENUM_DEPRECATION_MSG#
-
namespace hpx
-
namespace util
-
namespace cache
-
namespace statistics
Enums
Variables
-
constexpr method method_insert_entry = method::insert_entry#
-
constexpr method method_update_entry = method::update_entry#
-
constexpr method method_erase_entry = method::erase_entry#
-
class no_statistics#
Subclassed by hpx::util::cache::statistics::local_statistics
Public Functions
-
inline constexpr void got_hit() const noexcept#
The function got_hit will be called by a cache instance whenever a entry got touched.
-
inline constexpr void got_miss() const noexcept#
The function got_miss will be called by a cache instance whenever a requested entry has not been found in the cache.
-
inline constexpr void got_insertion() const noexcept#
The function got_insertion will be called by a cache instance whenever a new entry has been inserted.
-
inline constexpr void got_eviction() const noexcept#
The function got_eviction will be called by a cache instance whenever an entry has been removed from the cache because a new inserted entry let the cache grow beyond its capacity.
-
inline constexpr void clear() const noexcept#
Reset all statistics.
-
inline constexpr std::int64_t get_get_entry_count(bool) const noexcept#
The function get_get_entry_count returns the number of invocations of the get_entry() API function of the cache.
-
inline constexpr std::int64_t get_insert_entry_count(bool) const noexcept#
The function get_insert_entry_count returns the number of invocations of the insert_entry() API function of the cache.
-
inline constexpr std::int64_t get_update_entry_count(bool) const noexcept#
The function get_update_entry_count returns the number of invocations of the update_entry() API function of the cache.
-
inline constexpr std::int64_t get_erase_entry_count(bool) const noexcept#
The function get_erase_entry_count returns the number of invocations of the erase() API function of the cache.
-
inline constexpr std::int64_t get_get_entry_time(bool) const noexcept#
The function get_get_entry_time returns the overall time spent executing of the get_entry() API function of the cache.
-
inline constexpr std::int64_t get_insert_entry_time(bool) const noexcept#
The function get_insert_entry_time returns the overall time spent executing of the insert_entry() API function of the cache.
-
struct update_on_exit#
- #include <no_statistics.hpp>
Helper class to update timings and counts on function exit.
Public Functions
-
inline constexpr update_on_exit(no_statistics const&, method) noexcept#
-
inline constexpr update_on_exit(no_statistics const&, method) noexcept#
-
inline constexpr void got_hit() const noexcept#
-
constexpr method method_insert_entry = method::insert_entry#
-
namespace statistics
-
namespace cache
-
namespace util