MCPcopy Create free account
hub / github.com/catboost/catboost / main

Function main

library/cpp/testing/gbenchmark/main.cpp:7–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <util/generic/scope.h>
6
7int main(int argc, char** argv) {
8 ::benchmark::MaybeReenterWithoutASLR(argc, argv);
9 InitializeYt(argc, argv);
10 NTesting::THook::CallBeforeInit();
11 ::benchmark::Initialize(&argc, argv);
12 if (::benchmark::ReportUnrecognizedArguments(argc, argv)) {
13 return 1;
14 }
15 NTesting::THook::CallBeforeRun();
16 Y_DEFER { NTesting::THook::CallAfterRun(); };
17 ::benchmark::RunSpecifiedBenchmarks();
18 ::benchmark::Shutdown();
19 return 0;
20}

Callers

nothing calls this directly

Calls 6

MaybeReenterWithoutASLRFunction · 0.85
InitializeYtFunction · 0.85
RunSpecifiedBenchmarksFunction · 0.85
InitializeFunction · 0.50
ShutdownFunction · 0.50

Tested by

no test coverage detected