Lines Matching refs:event
46 // Event level, indicating the level of an event, where each event is a sub-event of the nearest preceding level event.
47 // The top-level event's level is 0
58 // Holds pairs of {event, level} according to the order during compilation process.
80 typedef void (*TimeStartFunc)(const std::string_view event, std::string fileName);
81 typedef void (*TimeEndFunc)(const std::string_view event, std::string fileName);
91 std::string event;
104 static void TimerStartImpl(const std::string_view event, std::string fileName = "");
105 static void TimerEndImpl(const std::string_view event, std::string fileName = "");
106 static void TimerStartDoNothing(const std::string_view event, std::string fileName = "") {}
107 static void TimerEndDoNothing(const std::string_view event, std::string fileName = "") {}
109 static std::unordered_map<std::string_view, TimeRecord> timers_; // pair of {event, TimeRecord}