Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::PrintTimeScope Class Reference

#include <timer.h>

Inheritance diagram for dart::PrintTimeScope:
dart::ValueObject

Public Member Functions

 PrintTimeScope (const char *name)
 
 ~PrintTimeScope ()
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Detailed Description

Definition at line 196 of file timer.h.

Constructor & Destructor Documentation

◆ PrintTimeScope()

dart::PrintTimeScope::PrintTimeScope ( const char *  name)
inlineexplicit

Definition at line 198 of file timer.h.

198: name_(name) { timer_.Start(); }
void Start()
Definition timer.h:111
const char *const name

◆ ~PrintTimeScope()

dart::PrintTimeScope::~PrintTimeScope ( )

Definition at line 12 of file timer.cc.

12 {
13 timer_.Stop();
14 OS::PrintErr("%s %s\n", name_,
16}
static void static void PrintErr(const char *format,...) PRINTF_ATTRIBUTE(1
Zone * zone() const
static Thread * Current()
Definition thread.h:361
const char * FormatElapsedHumanReadable(Zone *zone) const
Definition timer.h:140
void Stop()
Definition timer.h:117

The documentation for this class was generated from the following files: