Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Classes | Namespaces | Typedefs | Functions
scheduling.hh File Reference
#include <chrono>
#include <concepts>
#include <functional>
#include <typeindex>
#include <seastar/core/sstring.hh>
#include <seastar/core/function_traits.hh>
#include <seastar/util/modules.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

namespace  seastar
 Seastar API namespace.
 
namespace  std
 STL namespace.
 

Typedefs

using seastar::sched_clock = std::chrono::steady_clock
 

Functions

constexpr unsigned seastar::max_scheduling_groups ()
 
future< scheduling_group > seastar::create_scheduling_group (sstring name, float shares) noexcept
 
future< scheduling_group > seastar::create_scheduling_group (sstring name, sstring shortname, float shares) noexcept
 
future seastar::destroy_scheduling_group (scheduling_group sg) noexcept
 
future seastar::rename_scheduling_group (scheduling_group sg, sstring new_name) noexcept
 
future seastar::rename_scheduling_group (scheduling_group sg, sstring new_name, sstring new_shortname) 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