Seastar
High performance C++ framework for concurrent servers
Classes | Namespaces | Macros | Functions
scheduling.hh File Reference
#include <typeindex>
#include <seastar/core/sstring.hh>
#include <seastar/core/function_traits.hh>
#include <seastar/util/concepts.hh>

Go to the source code of this file.

Classes

struct  seastar::scheduling_group_key_config
 
class  seastar::scheduling_group_key
 
class  seastar::scheduling_group
 Identifies function calls that are accounted as a group. More...
 
struct  std::hash< seastar::scheduling_group >
 

Namespaces

 seastar
 Seastar API namespace.
 

Functions

constexpr unsigned seastar::max_scheduling_groups ()
 
future< scheduling_group > seastar::create_scheduling_group (sstring name, float shares) noexcept
 
future seastar::destroy_scheduling_group (scheduling_group sg) noexcept
 
future seastar::rename_scheduling_group (scheduling_group sg, sstring new_name) noexcept
 
template<typename T , typename... ConstructorArgs>
scheduling_group_key_config seastar::make_scheduling_group_key_config (ConstructorArgs... args)
 
future< scheduling_group_key > seastar::scheduling_group_key_create (scheduling_group_key_config cfg) noexcept
 
template<typename T >
T & seastar::scheduling_group_get_specific (scheduling_group sg, scheduling_group_key key)
 
scheduling_group seastar::current_scheduling_group () noexcept
 Returns the current scheduling group.
 
scheduling_group seastar::default_scheduling_group () noexcept