|
|
|
@ -61,7 +61,13 @@ class StatisticsImpl : public Statistics { |
|
|
|
|
char padding[64 - sizeof(std::atomic_uint_fast64_t)]; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
Ticker tickers_[INTERNAL_TICKER_ENUM_MAX] __attribute__((aligned(64))); |
|
|
|
|
static_assert(sizeof(Ticker) == 64, "Expecting to fit into 64 bytes"); |
|
|
|
|
|
|
|
|
|
// Attributes expand to nothing depending on the platform
|
|
|
|
|
__declspec(align(64)) |
|
|
|
|
Ticker tickers_[INTERNAL_TICKER_ENUM_MAX] |
|
|
|
|
__attribute__((aligned(64))); |
|
|
|
|
__declspec(align(64)) |
|
|
|
|
HistogramImpl histograms_[INTERNAL_HISTOGRAM_ENUM_MAX] |
|
|
|
|
__attribute__((aligned(64))); |
|
|
|
|
}; |
|
|
|
|