Skip to content

Instantly share code, notes, and snippets.

@keeganbrown
Forked from kevin-w-osullivan/FrametimeResponse.Json
Last active June 20, 2019 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keeganbrown/18b34af1351080360b81085104c50e4e to your computer and use it in GitHub Desktop.
Save keeganbrown/18b34af1351080360b81085104c50e4e to your computer and use it in GitHub Desktop.
The frame times API has the following response if a session has been recorded with Frametimes enabled.
[
{
"vSync": 16666666,
"drawFinished": [
"val1",
"val2",
"....",
"valn"
],
"drawStarted": [
"val1",
"val2",
"....",
"valn"
],
"lastVsync": [
"val1",
"val2",
"....",
"valn"
]
},
{
"drawFinished": [
"val1",
"val2",
"....",
"valn"
],
"drawStarted": [
"val1",
"val2",
"....",
"valn"
],
"lastVsync": [
"val1",
"val2",
"....",
"valn"
]
},
"...."
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment