mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 1390683 - HTTP_*_COMPLETE_LOAD probes are used in nsLoadGroup::TelemetryReportChannel when using new cache, r=honzab
This commit is contained in:
parent
9a336f693d
commit
847ee6ab9d
@ -985,15 +985,17 @@ nsLoadGroup::TelemetryReportChannel(nsITimedChannel *aTimedChannel,
|
||||
} \
|
||||
\
|
||||
if (!cacheReadEnd.IsNull()) { \
|
||||
Telemetry::AccumulateTimeDelta( \
|
||||
Telemetry::HTTP_##prefix##_COMPLETE_LOAD, \
|
||||
asyncOpen, cacheReadEnd); \
|
||||
\
|
||||
if (!CacheObserver::UseNewCache()) { \
|
||||
Telemetry::AccumulateTimeDelta( \
|
||||
Telemetry::HTTP_##prefix##_COMPLETE_LOAD, \
|
||||
asyncOpen, cacheReadEnd); \
|
||||
Telemetry::AccumulateTimeDelta( \
|
||||
Telemetry::HTTP_##prefix##_COMPLETE_LOAD_CACHED, \
|
||||
asyncOpen, cacheReadEnd); \
|
||||
} else { \
|
||||
Telemetry::AccumulateTimeDelta( \
|
||||
Telemetry::HTTP_##prefix##_COMPLETE_LOAD_V2, \
|
||||
asyncOpen, cacheReadEnd); \
|
||||
Telemetry::AccumulateTimeDelta( \
|
||||
Telemetry::HTTP_##prefix##_COMPLETE_LOAD_CACHED_V2, \
|
||||
asyncOpen, cacheReadEnd); \
|
||||
|
Loading…
Reference in New Issue
Block a user