diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-09-04 09:41:24 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-09-04 09:41:24 +0200 |
commit | d97716da19edea0f3d12e9a88e473f47a19bb447 (patch) | |
tree | 8809b848f23acede820937356df6083a3f57685c /storage | |
parent | 891f8942336bb54c88847c72ea52b35a703cea3a (diff) | |
download | aura-central-d97716da19edea0f3d12e9a88e473f47a19bb447.tar.gz |
Remove all C++ telemetry autotimers
Diffstat (limited to 'storage')
-rw-r--r-- | storage/TelemetryVFS.cpp | 2 | ||||
-rw-r--r-- | storage/mozStorageAsyncStatementExecution.cpp | 1 |
2 files changed, 0 insertions, 3 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; diff --git a/storage/mozStorageAsyncStatementExecution.cpp b/storage/mozStorageAsyncStatementExecution.cpp index 6d0682dc5..00f584f03 100644 --- a/storage/mozStorageAsyncStatementExecution.cpp +++ b/storage/mozStorageAsyncStatementExecution.cpp @@ -226,7 +226,6 @@ bool AsyncExecuteStatements::executeStatement(sqlite3_stmt *aStatement) { mMutex.AssertNotCurrentThreadOwns(); - Telemetry::AutoTimer<Telemetry::MOZ_STORAGE_ASYNC_REQUESTS_MS> finallySendExecutionDuration(mRequestStartDate); while (true) { // lock the sqlite mutex so sqlite3_errmsg cannot change SQLiteMutexAutoLock lockedScope(mDBMutex); |