summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b158889)
This will simplify parsing slightly for the graphing program.
/* We've waited one frame to ensure we have a timestamp
* result. So the time we've actually measured here is
* for the previous frame. */
/* We've waited one frame to ensure we have a timestamp
* result. So the time we've actually measured here is
* for the previous frame. */
- printf ("Frame %d: %.2f ms (latency: %.2f ms)\n",
- frames - 1, frame_time_ns / 1e6, latency_ns / 1e6);
+ printf ("frame-time: %d %" PRId64 "\n",
+ frames - 1, frame_time_ns);
+
+ printf ("frame-latency: %d %" PRId64 "\n",
+ frames - 1, latency_ns);
+
}
metrics->previous_swap_end_timestamp = swap_end_timestamp;
}
metrics->previous_swap_end_timestamp = swap_end_timestamp;