ThreadSchedule 3.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
thread_profile.hpp File Reference
#include "../result.hpp"
#include "../scheduling.hpp"
#include "../thread_affinity.hpp"
#include "../thread_config.hpp"
#include "polling_pool.hpp"
#include "raw_thread_pool.hpp"
#include "work_stealing_pool.hpp"
#include <optional>
#include <string>
#include <system_error>
#include <utility>
#include <vector>
Include dependency graph for thread_profile.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  threadschedule::advanced::thread_profile
 

Namespaces

namespace  threadschedule
 
namespace  threadschedule::advanced
 
namespace  threadschedule::advanced::profiles
 
namespace  threadschedule::advanced::profile_detail
 

Functions

auto threadschedule::advanced::profiles::realtime () -> thread_profile
 
auto threadschedule::advanced::profiles::low_latency () -> thread_profile
 
auto threadschedule::advanced::profiles::throughput () -> thread_profile
 
auto threadschedule::advanced::profiles::background () -> thread_profile
 
auto threadschedule::advanced::profile_detail::make_config (thread_profile const &profile, std::string name) -> thread_config
 
template<typename ThreadLike >
auto threadschedule::advanced::profile_detail::apply_to_thread (ThreadLike &value, thread_profile const &profile) -> result< void >
 
template<typename Pool >
auto threadschedule::advanced::profile_detail::apply_to_pool (Pool &pool, std::string name, thread_profile const &profile) -> result< void >
 
template<typename ThreadLike >
auto threadschedule::advanced::apply_profile (ThreadLike &value, thread_profile const &profile) -> result< void >
 
auto threadschedule::advanced::apply_profile (raw_thread_pool &pool, thread_profile const &profile) -> result< void >
 
auto threadschedule::advanced::apply_profile (polling_pool &pool, thread_profile const &profile) -> result< void >
 
auto threadschedule::advanced::apply_profile (work_stealing_pool &pool, thread_profile const &profile) -> result< void >
 
template<typename ThreadLike >
auto threadschedule::advanced::apply_profile_detailed (ThreadLike &value, thread_profile const &profile) -> std::vector< std::error_code >