diff options
author | John Reck <jreck@google.com> | 2015-06-02 15:58:43 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-06-02 15:58:43 -0700 |
commit | 4db3d17debef68f72d23999d69ae68b75f59dda3 (patch) | |
tree | e6458545b7dfedcb156ac33adba4b6162a3d09a9 /libs/hwui/FrameInfo.cpp | |
parent | 233241f13d5d7f841d3db80408429d4d0a528c78 (diff) |
FrameInfo header fixes
Bug: 21560187
Log column names as part of output in case of other such
issues
Change-Id: I16157ed968307e761d416ca54bd7af5453fe67bf
Diffstat (limited to 'libs/hwui/FrameInfo.cpp')
-rw-r--r-- | libs/hwui/FrameInfo.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/hwui/FrameInfo.cpp b/libs/hwui/FrameInfo.cpp index 6da1fa808d0a..c24833bf3509 100644 --- a/libs/hwui/FrameInfo.cpp +++ b/libs/hwui/FrameInfo.cpp @@ -20,6 +20,22 @@ namespace android { namespace uirenderer { +std::string FrameInfoNames[] = { + "Flags", + "IntendedVsync", + "Vsync", + "OldestInputEvent", + "NewestInputEvent", + "HandleInputStart", + "AnimationStart", + "PerformTraversalsStart", + "DrawStart", + "SyncStart", + "IssueDrawCommandsStart", + "SwapBuffers", + "FrameCompleted", +}; + void FrameInfo::importUiThreadInfo(int64_t* info) { memcpy(mFrameInfo, info, UI_THREAD_FRAME_INFO_SIZE * sizeof(int64_t)); } |