Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::DiffContext::Statistics Class Reference

#include <diff_context.h>

Public Member Functions

void AddNewPicture ()
 
void AddPictureTooComplexToCompare ()
 
void AddSameInstancePicture ()
 
void AddDeepComparePicture ()
 
void AddDifferentInstanceButEqualPicture ()
 
void LogStatistics ()
 

Detailed Description

Definition at line 171 of file diff_context.h.

Member Function Documentation

◆ AddDeepComparePicture()

void flutter::DiffContext::Statistics::AddDeepComparePicture ( )
inline

Definition at line 184 of file diff_context.h.

184{ ++deep_compare_pictures_; }

◆ AddDifferentInstanceButEqualPicture()

void flutter::DiffContext::Statistics::AddDifferentInstanceButEqualPicture ( )
inline

Definition at line 188 of file diff_context.h.

188 {
189 ++different_instance_but_equal_pictures_;
190 };

◆ AddNewPicture()

void flutter::DiffContext::Statistics::AddNewPicture ( )
inline

Definition at line 174 of file diff_context.h.

174{ ++new_pictures_; }

◆ AddPictureTooComplexToCompare()

void flutter::DiffContext::Statistics::AddPictureTooComplexToCompare ( )
inline

Definition at line 178 of file diff_context.h.

178{ ++pictures_too_complex_to_compare_; }

◆ AddSameInstancePicture()

void flutter::DiffContext::Statistics::AddSameInstancePicture ( )
inline

Definition at line 181 of file diff_context.h.

181{ ++same_instance_pictures_; };

◆ LogStatistics()

void flutter::DiffContext::Statistics::LogStatistics ( )

Definition at line 271 of file diff_context.cc.

271 {
272#if !FLUTTER_RELEASE
273 FML_TRACE_COUNTER("flutter", "DiffContext", reinterpret_cast<int64_t>(this),
274 "NewPictures", new_pictures_, "PicturesTooComplexToCompare",
275 pictures_too_complex_to_compare_, "DeepComparePictures",
276 deep_compare_pictures_, "SameInstancePictures",
277 same_instance_pictures_,
278 "DifferentInstanceButEqualPictures",
279 different_instance_but_equal_pictures_);
280#endif // !FLUTTER_RELEASE
281}
#define FML_TRACE_COUNTER(category_group, name, counter_id, arg1,...)
Definition: trace_event.h:85

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