attribute_value.h |
|
2737 |
key_value_iterable.h |
Supports internal iteration over a collection of key-value pairs.
|
1703 |
key_value_iterable_view.h |
@brief Container for key-value pairs that can transform every value in it to one of types
listed in common::AttributeValue. It may contain value types that are not directly map'able
to primitive value types. In that case the `ForEachKeyValue` method acts as a transform to
convert the value type to one listed under AtributeValue (bool, int32_t, int64_t, uint32_t,
uint64_t, double, nostd::string_view, or arrays of primite types). For example, if UUID,
GUID, or UTF-16 string type is passed as one of values stored inside this container, the
container itself may provide a custom implementation of `ForEachKeyValue` to transform the
'non-standard' type to one of the standard types.
|
4727 |
kv_properties.h |
|
7394 |
macros.h |
OPENTELEMETRY_HAVE_BUILTIN&OPENTELEMETRY_HAVE_FEATURE
Checks whether the compiler supports a Clang Feature Checking Macro, and if
so, checks whether it supports the provided builtin function "x" where x
is one of the functions noted in
https://clang.llvm.org/docs/LanguageExtensions.html
Note: Use this macro to avoid an extra level of #ifdef __has_builtin check.
http://releases.llvm.org/3.3/tools/clang/docs/LanguageExtensions.html
|
17221 |
spin_lock_mutex.h |
A Mutex which uses atomic flags and spin-locks instead of halting threads.
This mutex uses an incremental back-off strategy with the following phases:
1. A tight spin-lock loop (pending: using hardware PAUSE/YIELD instructions)
2. A loop where the current thread yields control after checking the lock.
3. Issuing a thread-sleep call before starting back in phase 1.
This is meant to give a good balance of perofrmance and CPU consumption in
practice.
This mutex uses an incremental back-off strategy with the following phases:
1. A tight spin-lock loop (pending: using hardware PAUSE/YIELD instructions)
2. A loop where the current thread yields control after checking the lock.
3. Issuing a thread-sleep call before starting back in phase 1.
This is meant to give a good balance of perofrmance and CPU consumption in
practice.
This class implements the `BasicLockable` specification:
https://en.cppreference.com/w/cpp/named_req/BasicLockable
|
3969 |
string_util.h |
|
773 |
timestamp.h |
@brief A timepoint relative to the system clock epoch.
This is used for marking the beginning and end of an operation.
|
5995 |