mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS) - Stub out several profiler-only functions.
This commit is contained in:
parent
3fe8aff3f5
commit
1a823f5ad6
113 changed files with 12 additions and 24501 deletions
|
|
@ -110,18 +110,6 @@ public:
|
|||
// We don't report SQLite I/O on Windows because we have a comprehensive
|
||||
// mechanism for intercepting I/O on that platform that captures a superset
|
||||
// of the data captured here.
|
||||
#if defined(MOZ_ENABLE_PROFILER_SPS) && !defined(XP_WIN)
|
||||
if (IOInterposer::IsObservedOperation(op)) {
|
||||
const char* main_ref = "sqlite-mainthread";
|
||||
const char* other_ref = "sqlite-otherthread";
|
||||
|
||||
// Create observation
|
||||
IOInterposeObserver::Observation ob(op, start, end,
|
||||
(mainThread ? main_ref : other_ref));
|
||||
// Report observation
|
||||
IOInterposer::Report(ob);
|
||||
}
|
||||
#endif /* defined(MOZ_ENABLE_PROFILER_SPS) && !defined(XP_WIN) */
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue