mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +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
|
|
@ -5,24 +5,6 @@
|
|||
#ifndef PROFILERIOINTERPOSEOBSERVER_H
|
||||
#define PROFILERIOINTERPOSEOBSERVER_H
|
||||
|
||||
#ifdef MOZ_ENABLE_PROFILER_SPS
|
||||
|
||||
#include "mozilla/IOInterposer.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
/**
|
||||
* This class is the observer that calls into the profiler whenever
|
||||
* main thread I/O occurs.
|
||||
*/
|
||||
class ProfilerIOInterposeObserver final : public IOInterposeObserver
|
||||
{
|
||||
public:
|
||||
virtual void Observe(Observation& aObservation);
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
||||
#endif // MOZ_ENABLE_PROFILER_SPS
|
||||
/*** STUB ***/
|
||||
|
||||
#endif // PROFILERIOINTERPOSEOBSERVER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue