Fix sb_counters declaration.

This commit is contained in:
Alexey Kopytov
2017-12-24 16:22:14 +03:00
parent 6972814378
commit 2cdb3adaa8
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,8 @@
#include "sb_util.h"
#include "sb_ck_pr.h"
sb_counters_t *sb_counters CK_CC_CACHELINE;
static sb_counters_t last_intermediate_counters;
static sb_counters_t last_cumulative_counters;

View File

@ -50,7 +50,7 @@ typedef uint64_t
sb_counters_t[SB_ALIGN(SB_CNT_MAX * sizeof(uint64_t), CK_MD_CACHELINE) /
sizeof(uint64_t)];
sb_counters_t *sb_counters CK_CC_CACHELINE;
extern sb_counters_t *sb_counters;
int sb_counters_init(void);