Flutter Engine
benchmarking.cc
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "benchmarking.h"
6 
7 #include "flutter/fml/backtrace.h"
8 #include "flutter/fml/icu_util.h"
9 
10 namespace benchmarking {
11 
12 int Main(int argc, char** argv) {
14  benchmark::Initialize(&argc, argv);
15  fml::icu::InitializeICU("icudtl.dat");
16  ::benchmark::RunSpecifiedBenchmarks();
17  return 0;
18 }
19 
20 } // namespace benchmarking
21 
22 int main(int argc, char** argv) {
23  return benchmarking::Main(argc, argv);
24 }
void InstallCrashHandler()
Definition: backtrace.cc:133
void InitializeICU(const std::string &icu_data_path)
Definition: icu_util.cc:103
int main(int argc, char **argv)
Definition: benchmarking.cc:22
void Initialize(fidl::InterfaceHandle< fuchsia::sys::Environment > environment, zx::channel directory_request, std::optional< zx::eventpair > view_ref)
Definition: fuchsia.cc:103
int Main(int argc, char **argv)
Definition: benchmarking.cc:12