summaryrefslogtreecommitdiff
path: root/include/mbgl/util
diff options
context:
space:
mode:
authorLloyd Sheng <i@lloydsheng.com>2018-06-21 11:24:14 +0800
committerGitHub <noreply@github.com>2018-06-21 11:24:14 +0800
commiteb70b8984901d8113f3a29d26cc355d5b3ed46fd (patch)
tree258ea32e9e7b9a29f3c861d83bc0674fd2a21603 /include/mbgl/util
parent2886aca3e29660df24ea4a089b1a4457404cdf75 (diff)
downloadqtlocation-mapboxgl-eb70b8984901d8113f3a29d26cc355d5b3ed46fd.tar.gz
[core] Measuring tiles requesting/parsing time using logging (#12152)
* Tile timing * Refactor logging code * Keep the scope of `messageStream` constrained * Make log message more clear * Fix crash issue if onlineResponse.data is null
Diffstat (limited to 'include/mbgl/util')
-rw-r--r--include/mbgl/util/event.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/util/event.hpp b/include/mbgl/util/event.hpp
index 5fe0baae3c..15583e956d 100644
--- a/include/mbgl/util/event.hpp
+++ b/include/mbgl/util/event.hpp
@@ -28,6 +28,7 @@ enum class Event : uint8_t {
Android,
Crash,
Glyph,
+ Timing
};
struct EventPermutation {