30 std::vector<std::vector<Profiling::Event>> events;
36 void FileSelected(
const std::string& filename);
39 void ParseEvent(ThreadView& threadView,
const Profiling::Event& event,
unsigned int line);
43 void ShowThreadNames();
46 void CalculateStatistics();
47 void ShowStatistics();
56 double pixelsPerSecond;
57 const float rulerHeight = 24.0f;
58 bool resetScroll =
false;
60 std::vector<ThreadView> threadViews;
64 double totalDuration = 0.0;
67 std::vector<std::vector<EventInfo>> statistics;
68 uint32_t frameCount = 0;
A window where a file can be selected.
Definition: FileSelector.hpp:9
Definition: LogView.hpp:8
Definition: ProfilingWindow.hpp:9
bool IsVisible() const
Get whether the window is visible.
Definition: ProfilingWindow.cpp:50
void SetVisible(bool visible)
Set whether the window should be visible.
Definition: ProfilingWindow.cpp:54
void Show()
Show profiling results.
Definition: ProfilingWindow.cpp:16
A profiling event on the timeline.
Definition: Event.hpp:10
A timeline.
Definition: Timeline.hpp:12
Definition: AssetEditor.hpp:9