bactria  0.0.1
The bactria library is a header-only C++14 library for profiling and tracing.
PluginInterface.hpp File Reference

Interface for plugin developers. More...

#include <cstdint>
Include dependency graph for PluginInterface.hpp:

Go to the source code of this file.

Functions

auto bactria_ranges_create_event (std::uint32_t color, char const *cat_name, std::uint32_t cat_id) noexcept -> void *
 Create an event handle. More...
 
auto bactria_ranges_destroy_event (void *event_handle) noexcept -> void
 Destroy an event handle. More...
 
auto bactria_ranges_fire_event (void *event_handle, char const *event_name, char const *source, std::uint32_t lineno, char const *caller) noexcept -> void
 Fire an event. More...
 
auto bactria_ranges_create_range (char const *name, std::uint32_t color, char const *cat_name, std::uint32_t cat_id) noexcept -> void *
 Create a range handle. More...
 
auto bactria_ranges_destroy_range (void *range_handle) noexcept -> void
 Destroy a range handle. More...
 
auto bactria_ranges_start_range (void *range_handle) noexcept -> void
 Start a range. More...
 
auto bactria_ranges_stop_range (void *range_handle) noexcept -> void
 Stop a range. More...
 

Detailed Description

Interface for plugin developers.

This is bactria's ranges plugin interface. Plugin developers should include this file and implement all functions declared by it.