Searched refs:StatsArray (Results 1 – 4 of 4) sorted by relevance
36 V += atomic_load_relaxed(&StatsArray[I]); in add()37 atomic_store_relaxed(&StatsArray[I], V); in add()41 V = atomic_load_relaxed(&StatsArray[I]) - V; in sub()42 atomic_store_relaxed(&StatsArray[I], V); in sub()45 void set(StatType I, uptr V) { atomic_store_relaxed(&StatsArray[I], V); } in set()47 uptr get(StatType I) const { return atomic_load_relaxed(&StatsArray[I]); } in get()53 atomic_uptr StatsArray[StatCount] = {};
36 V += atomic_load_relaxed(&StatsArray[I]); in add()37 atomic_store_relaxed(&StatsArray[I], V); in add()41 V = atomic_load_relaxed(&StatsArray[I]) - V; in sub()42 atomic_store_relaxed(&StatsArray[I], V); in sub()45 void set(StatType I, uptr V) { atomic_store_relaxed(&StatsArray[I], V); } in set()47 uptr get(StatType I) const { return atomic_load_relaxed(&StatsArray[I]); } in get()53 atomic_uptr StatsArray[StatCount];
35 StatsArray* stats;
131 typedef proba_t StatsArray[NUM_CTX][NUM_PROBAS]; typedef152 StatsArray stats_[NUM_TYPES][NUM_BANDS]; // 4224 bytes