bactria
0.0.1
The bactria library is a header-only C++14 library for profiling and tracing.
|
Typedefs | |
using | bactria::ranges::plugin::create_event_t = std::add_pointer_t< void *(std::uint32_t, char const *, std::uint32_t) noexcept > |
Signature for plugin function bactria_ranges_create_event(). More... | |
using | bactria::ranges::plugin::destroy_event_t = std::add_pointer_t< void(void *) noexcept > |
Signature for plugin function bactria_ranges_destroy_event(). More... | |
using | bactria::ranges::plugin::fire_event_t = std::add_pointer_t< void(void *, char const *, char const *, std::uint32_t, char const *) noexcept > |
Signature for plugin function bactria_ranges_fire_event(). More... | |
using | bactria::ranges::plugin::create_range_t = std::add_pointer_t< void *(char const *, std::uint32_t, char const *, std::uint32_t) noexcept > |
Signature for plugin function bactria_ranges_create_range(). More... | |
using | bactria::ranges::plugin::destroy_range_t = std::add_pointer_t< void(void *) noexcept > |
Signature for plugin function bactria_ranges_destroy_range(). More... | |
using | bactria::ranges::plugin::start_range_t = std::add_pointer_t< void(void *) noexcept > |
Signature for plugin function bactria_ranges_start_range(). More... | |
using | bactria::ranges::plugin::stop_range_t = std::add_pointer_t< void(void *) noexcept > |
Signature for plugin function bactria_ranges_stop_range(). More... | |
Functions | |
auto | bactria::ranges::plugin::activated () -> bool |
Checks for an active ranges plugin. More... | |
auto | bactria::ranges::plugin::load () -> plugin_handle_t |
Initializes the ranges plugin. More... | |
auto | bactria::ranges::plugin::create_event (std::uint32_t color, char const *cat_name, std::uint32_t cat_id) noexcept |
Creates a plugin-specific event handle. More... | |
auto | bactria::ranges::plugin::destroy_event (void *event_handle) noexcept |
Destroys a plugin-specific event handle. More... | |
auto | bactria::ranges::plugin::fire_event (void *event_handle, char const *event_name, char const *source, std::uint32_t lineno, char const *caller) noexcept |
Plugin-specific event firing. More... | |
auto | bactria::ranges::plugin::create_range (char const *name, std::uint32_t color, char const *cat_name, std::uint32_t cat_id) noexcept |
Creates a plugin-specific range handle. More... | |
auto | bactria::ranges::plugin::destroy_range (void *range_handle) noexcept |
Destroys a plugin-specific range handle. More... | |
auto | bactria::ranges::plugin::start_range (void *range_handle) noexcept |
Plugin-specific range starting. More... | |
auto | bactria::ranges::plugin::stop_range (void *range_handle) noexcept |
Plugin-specific range stopping. More... | |
Variables | |
auto | bactria::ranges::plugin::create_event_ptr = create_event_t{nullptr} |
Pointer to plugin function bactria_ranges_create_event(). More... | |
auto | bactria::ranges::plugin::destroy_event_ptr = destroy_event_t{nullptr} |
Pointer to plugin function bactria_ranges_destroy_event(). More... | |
auto | bactria::ranges::plugin::fire_event_ptr = fire_event_t{nullptr} |
Pointer to plugin function bactria_ranges_fire_event(). More... | |
auto | bactria::ranges::plugin::create_range_ptr = create_range_t{nullptr} |
Pointer to plugin function bactria_ranges_create_range(). More... | |
auto | bactria::ranges::plugin::destroy_range_ptr = destroy_range_t{nullptr} |
Pointer to plugin function bactria_ranges_destroy_range(). More... | |
auto | bactria::ranges::plugin::start_range_ptr = start_range_t{nullptr} |
Pointer to plugin function bactria_ranges_start_range(). More... | |
auto | bactria::ranges::plugin::stop_range_ptr = stop_range_t{nullptr} |
Pointer to plugin function bactria_ranges_stop_range(). More... | |
using bactria::ranges::plugin::create_event_t = typedef std::add_pointer_t<void*(std::uint32_t, char const*, std::uint32_t) noexcept> |
Signature for plugin function bactria_ranges_create_event().
Used internally by bactria during plugin initialization. Should never be used by the user.
using bactria::ranges::plugin::create_range_t = typedef std::add_pointer_t<void*(char const*, std::uint32_t, char const*, std::uint32_t) noexcept> |
Signature for plugin function bactria_ranges_create_range().
Used internally by bactria during plugin initialization. Should never be used by the user.
using bactria::ranges::plugin::destroy_event_t = typedef std::add_pointer_t<void(void*) noexcept> |
Signature for plugin function bactria_ranges_destroy_event().
Used internally by bactria during plugin initialization. Should never be used by the user.
using bactria::ranges::plugin::destroy_range_t = typedef std::add_pointer_t<void(void*) noexcept> |
Signature for plugin function bactria_ranges_destroy_range().
Used internally by bactria during plugin initialization. Should never be used by the user.
using bactria::ranges::plugin::fire_event_t = typedef std::add_pointer_t<void(void*, char const*, char const*, std::uint32_t, char const*) noexcept> |
Signature for plugin function bactria_ranges_fire_event().
Used internally by bactria during plugin initialization. Should never be used by the user.
using bactria::ranges::plugin::start_range_t = typedef std::add_pointer_t<void(void*) noexcept> |
Signature for plugin function bactria_ranges_start_range().
Used internally by bactria during plugin initialization. Should never be used by the user.
using bactria::ranges::plugin::stop_range_t = typedef std::add_pointer_t<void(void*) noexcept> |
Signature for plugin function bactria_ranges_stop_range().
Used internally by bactria during plugin initialization. Should never be used by the user.
|
inline |
Checks for an active ranges plugin.
This function checks for an activate ranges plugin. It should never be called by the user directly.
BACTRIA_DEACTIVATE
is NOT defined and BACTRIA_RANGES_PLUGIN
is defined. BACTRIA_DEACTIVATE
is defined or BACTRIA_RANGES_PLUGIN
is NOT defined.
|
inlinenoexcept |
Creates a plugin-specific event handle.
Used internally by the Event class. Users should not call this directly.
|
inlinenoexcept |
Creates a plugin-specific range handle.
Used internally by the Range class. Users should not call this directly.
|
inlinenoexcept |
Destroys a plugin-specific event handle.
Used internally by the Event class. Users should not call this directly.
|
inlinenoexcept |
Destroys a plugin-specific range handle.
Used internally by the Range class. Users should not call this directly.
|
inlinenoexcept |
Plugin-specific event firing.
Used internally by the Event class. Users should not call this directly.
|
inline |
Initializes the ranges plugin.
Used internally by bactria during plugin initialization. Should never be used by the user.
std::runtime_error | On failure during plugin initialization. |
|
inlinenoexcept |
Plugin-specific range starting.
Used internally by the Range class. Users should not call this directly.
|
inlinenoexcept |
Plugin-specific range stopping.
Used internally by the Range class. Users should not call this directly.
auto bactria::ranges::plugin::create_event_ptr = create_event_t{nullptr} |
Pointer to plugin function bactria_ranges_create_event().
Used internally by bactria during plugin initialization. Should never be used by the user.
auto bactria::ranges::plugin::create_range_ptr = create_range_t{nullptr} |
Pointer to plugin function bactria_ranges_create_range().
Used internally by bactria during plugin initialization. Should never be used by the user.
auto bactria::ranges::plugin::destroy_event_ptr = destroy_event_t{nullptr} |
Pointer to plugin function bactria_ranges_destroy_event().
Used internally by bactria during plugin initialization. Should never be used by the user.
auto bactria::ranges::plugin::destroy_range_ptr = destroy_range_t{nullptr} |
Pointer to plugin function bactria_ranges_destroy_range().
Used internally by bactria during plugin initialization. Should never be used by the user.
auto bactria::ranges::plugin::fire_event_ptr = fire_event_t{nullptr} |
Pointer to plugin function bactria_ranges_fire_event().
Used internally by bactria during plugin initialization. Should never be used by the user.
auto bactria::ranges::plugin::start_range_ptr = start_range_t{nullptr} |
Pointer to plugin function bactria_ranges_start_range().
Used internally by bactria during plugin initialization. Should never be used by the user.Internal documentation. Not intended or useful for the user.
auto bactria::ranges::plugin::stop_range_ptr = stop_range_t{nullptr} |
Pointer to plugin function bactria_ranges_stop_range().
Used internally by bactria during plugin initialization. Should never be used by the user.