// The Construct // // Copyright (C) The Construct Developers, Authors & Contributors // Copyright (C) 2016-2020 Jason Volk // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice is present in all copies. The // full license for this software is available in the LICENSE file. #pragma once #define HAVE_IRCD_IOS_EMPT_H /// Emption interface. /// /// On supporting systems and with the cooperation of libircd's embedder these /// items can aid with optimizing and/or profiling the boost::asio core event /// loop. See epoll.h for an epoll_wait(2) use of these items. This is a /// separate header/namespace so this can remain abstract and applied to /// different platforms. /// namespace ircd::ios::empt { extern conf::item freq; extern stats::item peek; extern stats::item skip; extern stats::item call; extern stats::item none; extern stats::item result; extern stats::item load_low; extern stats::item load_med; extern stats::item load_high; extern stats::item load_stall; }