1*58b9f456SAndroid Build Coastguard Worker // Copyright 2015 Google Inc. All rights reserved. 2*58b9f456SAndroid Build Coastguard Worker // 3*58b9f456SAndroid Build Coastguard Worker // Licensed under the Apache License, Version 2.0 (the "License"); 4*58b9f456SAndroid Build Coastguard Worker // you may not use this file except in compliance with the License. 5*58b9f456SAndroid Build Coastguard Worker // You may obtain a copy of the License at 6*58b9f456SAndroid Build Coastguard Worker // 7*58b9f456SAndroid Build Coastguard Worker // http://www.apache.org/licenses/LICENSE-2.0 8*58b9f456SAndroid Build Coastguard Worker // 9*58b9f456SAndroid Build Coastguard Worker // Unless required by applicable law or agreed to in writing, software 10*58b9f456SAndroid Build Coastguard Worker // distributed under the License is distributed on an "AS IS" BASIS, 11*58b9f456SAndroid Build Coastguard Worker // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*58b9f456SAndroid Build Coastguard Worker // See the License for the specific language governing permissions and 13*58b9f456SAndroid Build Coastguard Worker // limitations under the License. 14*58b9f456SAndroid Build Coastguard Worker 15*58b9f456SAndroid Build Coastguard Worker #include "benchmark/benchmark.h" 16*58b9f456SAndroid Build Coastguard Worker 17*58b9f456SAndroid Build Coastguard Worker namespace benchmark { 18*58b9f456SAndroid Build Coastguard Worker 19*58b9f456SAndroid Build Coastguard Worker // these counter-related functions are hidden to reduce API surface. 20*58b9f456SAndroid Build Coastguard Worker namespace internal { 21*58b9f456SAndroid Build Coastguard Worker void Finish(UserCounters* l, int64_t iterations, double time, double num_threads); 22*58b9f456SAndroid Build Coastguard Worker void Increment(UserCounters* l, UserCounters const& r); 23*58b9f456SAndroid Build Coastguard Worker bool SameNames(UserCounters const& l, UserCounters const& r); 24*58b9f456SAndroid Build Coastguard Worker } // end namespace internal 25*58b9f456SAndroid Build Coastguard Worker 26*58b9f456SAndroid Build Coastguard Worker } // end namespace benchmark 27