diff options
Diffstat (limited to 'source/ui/CodeView.mc')
| -rw-r--r-- | source/ui/CodeView.mc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/ui/CodeView.mc b/source/ui/CodeView.mc index 20b9bf2..efa23d2 100644 --- a/source/ui/CodeView.mc +++ b/source/ui/CodeView.mc @@ -179,6 +179,9 @@ class CodeView extends WatchUi.View { _code = new Codes.CodeError(err != null ? err : "could not encode"); } else { var cache = job.cache; + var ms = job.stageMs; + Diag.data("matrix_stages", "type=" + header.type + " cached=" + (cache == null) + " encode_ms=" + ms[0] + + " pack_ms=" + ms[1] + " runs_ms=" + ms[2]); if (cache != null) { Diag.data("matrix_encoded", "type=" + header.type + " size=" + runs.width + "x" + runs.height + " ms=" + (System.getTimer() - _startedAt)); |
