Flutter Engine
The Flutter Engine
timer.cc
Go to the documentation of this file.
1// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5#include "vm/timer.h"
6#include "platform/globals.h"
7#include "vm/json_stream.h"
8#include "vm/thread.h"
9
10namespace dart {
11
13 timer_.Stop();
14 OS::PrintErr("%s %s\n", name_,
16}
17
18} // namespace dart
static void static void PrintErr(const char *format,...) PRINTF_ATTRIBUTE(1
Zone * zone() const
Definition: thread_state.h:37
static Thread * Current()
Definition: thread.h:362
const char * FormatElapsedHumanReadable(Zone *zone) const
Definition: timer.h:140
void Stop()
Definition: timer.h:117
Definition: dart_vm.cc:33