All checks were successful
sm-rpc / build (Debug, aarch64-linux-gnu) (push) Successful in 1m7s
sm-rpc / build (Debug, arm-linux-gnueabihf) (push) Successful in 1m15s
sm-rpc / build (Debug, host.gcc) (push) Successful in 1m4s
sm-rpc / build (Debug, mipsel-linux-gnu) (push) Successful in 1m16s
sm-rpc / build (Release, aarch64-linux-gnu) (push) Successful in 1m34s
sm-rpc / build (Release, arm-linux-gnueabihf) (push) Successful in 1m33s
sm-rpc / build (Release, host.gcc) (push) Successful in 1m23s
sm-rpc / build (Release, mipsel-linux-gnu) (push) Successful in 1m30s
13 lines
153 B
C++
13 lines
153 B
C++
#include "add.h"
|
|
#include <benchmark/benchmark.h>
|
|
|
|
static void
|
|
BM_Add(benchmark::State &state)
|
|
{
|
|
Add(1, 2);
|
|
}
|
|
|
|
BENCHMARK(BM_Add);
|
|
|
|
BENCHMARK_MAIN();
|