#include <vector>
#include "base/containers/span.h"
#include "base/debug/stack_trace.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "base/timer/lap_timer.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/perf/perf_result_reporter.h"
namespace base {
namespace debug {
constexpr base::TimeDelta kTimeLimit = …;
constexpr int kWarmupRuns = …;
constexpr int kTimeCheckInterval = …;
constexpr char kMetricStackTraceDuration[] = …;
constexpr char kMetricStackTraceThroughput[] = …;
constexpr int kNumTracerObjAllocs = …;
perf_test::PerfResultReporter SetUpReporter(const std::string& story_name) { … }
class StackTracer { … };
void MultiObjTest(size_t trace_count) { … }
class StackTracePerfTest : public testing::TestWithParam<size_t> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(StackTracePerfTest, MultiObj) { … }
}
}