• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #ifndef FLUTTER_RUNTIME_START_UP_H_
6 #define FLUTTER_RUNTIME_START_UP_H_
7 
8 #include <stdint.h>
9 
10 namespace flutter {
11 
12 // The earliest available timestamp in the application's lifecycle. The
13 // difference between this timestamp and the time we render the very first
14 // frame gives us a good idea about Flutter's startup time.
15 //
16 // This timestamp only covers Flutter's own startup. In an upside-down model
17 // it is possible that the first Flutter view is not initialized until some
18 // time later. In this case the timestamp may not cover the time spent in the
19 // user code prior to initializing Flutter.
20 extern int64_t engine_main_enter_ts;
21 
22 }  // namespace flutter
23 
24 #endif  // FLUTTER_RUNTIME_START_UP_H_
25