//===-- sanitizer_allocator_stats.h -----------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // Part of the Sanitizer Allocator. // //===----------------------------------------------------------------------===// #ifndef SANITIZER_ALLOCATOR_H #error This file must be included inside sanitizer_allocator.h #endif // Memory allocator statistics enum AllocatorStat { … }; AllocatorStatCounters; // Per-thread stats, live in per-thread cache. class AllocatorStats { … }; // Global stats, used for aggregation and querying. class AllocatorGlobalStats : public AllocatorStats { … };