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

Sector definitions. More...

#include <bactria/metrics/Plugin.hpp>
#include <bactria/metrics/Tags.hpp>
#include <functional>
#include <iostream>
#include <string>
#include <type_traits>
#include <utility>
Include dependency graph for Sector.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bactria::metrics::Sector< TTag >
 The sector class. More...
 

Macros

#define bactria_Sector(name, tag)
 A macro that creates a sector and immediately enters it. More...
 
#define bactria_Enter(sec)   sec.enter(__FILE__, __LINE__, __func__)
 Enter a phase or sector. More...
 
#define bactria_Leave(sec)   sec.leave(__FILE__, __LINE__, __func__)
 Leave a phase or sector. More...
 

Detailed Description

Sector definitions.

This file defines the interface for the Sector class. It should not be included directly by the user.