Defined in header hpx/functional.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
struct scoped_annotation#
#include <scoped_annotation.hpp>

scoped_annotation associates a name with a section of code (scope). It can be used to visualize code execution in profiling tools like Intel VTune, Apex Profiler, etc. That allows analyzing performance to figure out which part(s) of code is (are) responsible for performance degradation, etc.

Public Functions

inline explicit constexpr scoped_annotation(char const*) noexcept#
template<typename F>
inline explicit constexpr scoped_annotation(F&&) noexcept#
inline ~scoped_annotation()#
namespace util


typedef hpx::scoped_annotation instead