#include <compiler_timings.h>
Definition at line 68 of file compiler_timings.h.
◆ TimerId
Definition at line 80 of file compiler_timings.h.
80 {
81#define DECLARE_TIMER_ID(Name) k##Name,
83#undef DECLARE_TIMER_ID
84 };
#define DECLARE_TIMER_ID(Name)
#define COMPILER_TIMERS_LIST(V)
◆ CompilerTimings()
dart::CompilerTimings::CompilerTimings |
( |
| ) |
|
|
inline |
◆ Print()
void dart::CompilerTimings::Print |
( |
| ) |
|
Definition at line 93 of file compiler_timings.cc.
93 {
95
98
99 PrintTimers(zone, root_, total_, 0);
100
101 OS::PrintErr(
"Inlining by outcome\n Success: %s\n Failure: %s\n",
104}
static void static void PrintErr(const char *format,...) PRINTF_ATTRIBUTE(1
static Thread * Current()
const char * FormatElapsedHumanReadable(Zone *zone) const
◆ RecordInliningStatsByOutcome()
void dart::CompilerTimings::RecordInliningStatsByOutcome |
( |
bool |
success, |
|
|
const Timer & |
timer |
|
) |
| |
|
inline |
Definition at line 120 of file compiler_timings.h.
120 {
121 if (success) {
122 try_inlining_success_.
AddTotal(timer);
123 } else {
124 try_inlining_failure_.
AddTotal(timer);
125 }
126 }
void AddTotal(const Timer &other)
The documentation for this class was generated from the following files: