зеркало из https://github.com/mozilla/gecko-dev.git
4b364cf3f3
This patch reduces the differences between builds where the profiler is enabled and those where the profiler is disabled. It does this by removing numerous MOZ_GECKO_PROFILER checks. These changes have the following consequences. - Various functions and classes are now defined in all builds, and so can be used unconditionally: profiler_add_marker(), profiler_set_js_context(), profiler_clear_js_context(), profiler_get_pseudo_stack(), AutoProfilerLabel. (They are effectively no-ops in non-profiler builds, of course.) - The no-op versions of PROFILER_* are now gone. The remaining versions are almost no-ops when the profiler isn't built. --HG-- extra : rebase_source : 8fb5e8757600210c2f77865694d25162f0b7698a |
||
---|---|---|
.. | ||
AutoProfilerLabel.cpp | ||
AutoProfilerLabel.h | ||
ConditionVariable_posix.cpp | ||
ConditionVariable_windows.cpp | ||
MutexPlatformData_posix.h | ||
MutexPlatformData_windows.h | ||
Mutex_posix.cpp | ||
Mutex_windows.cpp | ||
PlatformConditionVariable.h | ||
PlatformMutex.h | ||
Printf.cpp | ||
Printf.h | ||
StackWalk.cpp | ||
StackWalk.h | ||
StackWalk_windows.h | ||
TimeStamp.cpp | ||
TimeStamp.h | ||
TimeStamp_darwin.cpp | ||
TimeStamp_posix.cpp | ||
TimeStamp_windows.cpp | ||
TimeStamp_windows.h | ||
moz.build |