// // Copyright 2018 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // ResultPerf: // Performance test for ANGLE's Error result class. // #include "ANGLEPerfTest.h" #include "libANGLE/Error.h" volatile int gThing = …; namespace { constexpr int kIterationsPerStep = …; class ResultPerfTest : public ANGLEPerfTest { … }; ResultPerfTest::ResultPerfTest() : … { … } ANGLE_NOINLINE angle::Result ExternalCall() { … } angle::Result CallReturningResult(int depth) { … } void ResultPerfTest::step() { … } TEST_F(ResultPerfTest, Run) { … } } // anonymous namespace