summaryrefslogtreecommitdiffstats
path: root/storage/TelemetryVFS.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-04 10:06:24 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-04 10:07:40 +0200
commitb28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9 (patch)
tree0b6e4cfff6c1d4f699aa04c98c27744b4c0c481f /storage/TelemetryVFS.cpp
parent45ec2bceb4822646805136b8874a3681b14e78ef (diff)
parent93cae908bcbd063f21d5663a7d3149464af2ad20 (diff)
downloadUXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.tar
UXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.tar.gz
UXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.tar.lz
UXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.tar.xz
UXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.zip
Remove all C++ telemetry autotimers
Tag #21
Diffstat (limited to 'storage/TelemetryVFS.cpp')
-rw-r--r--storage/TelemetryVFS.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/storage/TelemetryVFS.cpp b/storage/TelemetryVFS.cpp
index 62f315ad0..eb102a046 100644
--- a/storage/TelemetryVFS.cpp
+++ b/storage/TelemetryVFS.cpp
@@ -407,7 +407,6 @@ xTruncate(sqlite3_file *pFile, sqlite_int64 size)
IOThreadAutoTimer ioTimer(Telemetry::MOZ_SQLITE_TRUNCATE_MS);
telemetry_file *p = (telemetry_file *)pFile;
int rc;
- Telemetry::AutoTimer<Telemetry::MOZ_SQLITE_TRUNCATE_MS> timer;
if (p->quotaObject) {
if (p->fileChunkSize > 0) {
// Round up to the smallest multiple of the chunk size that will hold all
@@ -609,7 +608,6 @@ xOpen(sqlite3_vfs* vfs, const char *zName, sqlite3_file* pFile,
{
IOThreadAutoTimer ioTimer(Telemetry::MOZ_SQLITE_OPEN_MS,
IOInterposeObserver::OpCreateOrOpen);
- Telemetry::AutoTimer<Telemetry::MOZ_SQLITE_OPEN_MS> timer;
sqlite3_vfs *orig_vfs = static_cast<sqlite3_vfs*>(vfs->pAppData);
int rc;
telemetry_file *p = (telemetry_file *)pFile;