-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
Description
-
Functions
ParseEvents
andPrintProfiler
are only internally used and should be removed fromprofiler.h
:Paddle/paddle/fluid/platform/profiler.h
Lines 161 to 168 in 2bc5b08
// Parse the event list and output the profiling report void ParseEvents(std::vector<std::vector<Event>>&, EventSortingKey sorted_by = EventSortingKey::kDefault); // Print results void PrintProfiler(std::vector<std::vector<EventItem>>& events_table, std::string& sorted_domain, const size_t name_width, const size_t data_width); -
EventKind
is only internally used and should be renamedEvent::Type
.Paddle/paddle/fluid/platform/profiler.h
Line 26 in 2bc5b08
enum EventKind { kMark, kPushRange, kPopRange }; -
EventList
is only internally used and should be moved intoprofiler.cc
.Paddle/paddle/fluid/platform/profiler.h
Line 60 in 2bc5b08
struct EventList { -
EventItem
is only internally used and should be moved intoprofiler.cc