mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG-- rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
This commit is contained in:
parent
9d12529d78
commit
fc10a7cfe4
@ -83,7 +83,7 @@
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/layout/RenderFrameParent.h"
|
||||
#include "nsIAppsService.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#include "jsapi.h"
|
||||
#include "mozilla/dom/HTMLIFrameElement.h"
|
||||
|
@ -67,7 +67,7 @@
|
||||
#include "nsIChannelPolicy.h"
|
||||
#include "nsChannelPolicy.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsObjectFrame.h"
|
||||
#include "nsDOMClassInfo.h"
|
||||
#include "nsWrapperCacheInlines.h"
|
||||
|
@ -69,7 +69,7 @@
|
||||
#include "nsIFileChannel.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
#include "jsfriendapi.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "mozilla/dom/EncodingUtils.h"
|
||||
#include "mozilla/dom/XMLHttpRequestBinding.h"
|
||||
#include "nsIDOMFormData.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "nsFrameLoader.h"
|
||||
#include "nsDOMTouchEvent.h"
|
||||
#include "nsDOMStorage.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "GeneratedEvents.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
@ -95,7 +95,7 @@
|
||||
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/LookAndFeel.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#include "nsIDOMClientRect.h"
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include "nsServiceManagerUtils.h"
|
||||
#include "nsIDOMApplicationRegistry.h"
|
||||
#include "nsIPermissionManager.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include "nsIPropertyBag2.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "nsObjectLoadingContent.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
@ -63,7 +63,7 @@
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/dom/indexedDB/FileInfo.h"
|
||||
#include "mozilla/dom/indexedDB/IndexedDatabaseManager.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsDOMBlobBuilder.h"
|
||||
#include "nsIDOMFileHandle.h"
|
||||
#include "nsPrintfCString.h"
|
||||
|
@ -81,7 +81,7 @@
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/dom/CanvasRenderingContext2DBinding.h"
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsPluginNativeWindow.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsPluginInstanceOwner.h"
|
||||
|
||||
#define MAGIC_REQUEST_CONTEXT 0x01020304
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "PluginHangUIParent.h"
|
||||
#include "mozilla/widget/AudioSession.h"
|
||||
#endif
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
using base::KillProcess;
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "mozilla/dom/ContentChild.h"
|
||||
#include "nsError.h"
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "mozilla/Telemetry.h"
|
||||
#include "nsThreadUtils.h"
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include "gfxFailure.h"
|
||||
#include "prenv.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
using namespace mozilla::gfx;
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "gfxUtils.h"
|
||||
#include "ipc/AutoOpenSurface.h"
|
||||
#include "nsDeviceContext.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include <algorithm>
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include "gfxPlatform.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
#include "RenderTrace.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#define PIXMAN_DONT_DEFINE_STDINT
|
||||
#include "pixman.h"
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "gfxUtils.h"
|
||||
#include "nsIWidget.h"
|
||||
#include "RenderTrace.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#include "prprf.h"
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "mozilla/MathAlgorithms.h"
|
||||
#include "BasicTiledThebesLayer.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "gfxPlatform.h"
|
||||
|
||||
#ifdef GFX_TILEDLAYER_DEBUG_OVERLAY
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxPlatform.h"
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
using namespace android;
|
||||
using namespace base;
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "ShadowLayerChild.h"
|
||||
#include "gfxipc/ShadowLayerUtils.h"
|
||||
#include "RenderTrace.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
|
||||
using namespace mozilla::ipc;
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include "gfxCrashReporterUtils.h"
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
#include <android/log.h>
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "gfxPattern.h"
|
||||
#include "gfxPlatform.h"
|
||||
#include "gfxTeeSurface.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include <algorithm>
|
||||
|
||||
#if CAIRO_HAS_DWRITE_FONT
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include "harfbuzz/hb.h"
|
||||
|
||||
#include "nsCRT.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "nsRegion.h"
|
||||
#include "yuv_convert.h"
|
||||
#include "ycbcr_to_rgb565.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#ifdef XP_WIN
|
||||
#include "gfxWindowsPlatform.h"
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsIConsoleService.h"
|
||||
#include "nsIScriptError.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace image {
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "mozilla/ClearOnShutdown.h"
|
||||
#include "mozilla/gfx/Scale.h"
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include <algorithm>
|
||||
|
||||
using namespace mozilla;
|
||||
|
@ -17,7 +17,7 @@
|
||||
static bool gDisableOptimize = false;
|
||||
|
||||
#include "cairo.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "mozilla/Likely.h"
|
||||
|
||||
#if defined(XP_WIN)
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "AccessCheck.h"
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsJSPrincipals.h"
|
||||
#include <algorithm>
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "nsSVGIntegrationUtils.h"
|
||||
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "mozilla/gfx/Tools.h"
|
||||
|
||||
#include "nsAnimationManager.h"
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "RestyleTracker.h"
|
||||
#include "nsCSSFrameConstructor.h"
|
||||
#include "nsStyleChangeList.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace css {
|
||||
|
@ -124,7 +124,7 @@
|
||||
|
||||
#include "nsRefreshDriver.h"
|
||||
#include "nsRuleProcessorData.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
|
@ -50,7 +50,7 @@
|
||||
#include "nsSVGEffects.h"
|
||||
#include "nsSVGIntegrationUtils.h"
|
||||
#include "gfxDrawable.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsCSSRenderingBorders.h"
|
||||
#include "mozilla/css/ImageLoader.h"
|
||||
#include "ImageContainer.h"
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "nsINameSpaceManager.h"
|
||||
#include "nsBlockFrame.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsExpirationTracker.h"
|
||||
#include "RoundedRect.h"
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "nsSVGEffects.h"
|
||||
#include "nsSVGElement.h"
|
||||
#include "nsSVGClipPathFrame.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsAnimationManager.h"
|
||||
#include "nsTransitionManager.h"
|
||||
#include "nsViewManager.h"
|
||||
|
@ -63,7 +63,7 @@
|
||||
|
||||
#include "nsFrameManager.h"
|
||||
#include "nsRuleProcessorData.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#ifdef ACCESSIBILITY
|
||||
#include "nsAccessibilityService.h"
|
||||
|
@ -88,7 +88,7 @@
|
||||
#include "nsXULPopupManager.h"
|
||||
#endif
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsAnimationManager.h"
|
||||
#include "nsTransitionManager.h"
|
||||
#include "nsViewportInfo.h"
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "mozilla/css/ImageLoader.h"
|
||||
|
||||
#include "Layers.h"
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include "nsContentUtils.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "nsViewManager.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsNPAPIPluginInstance.h"
|
||||
|
||||
using mozilla::TimeStamp;
|
||||
|
@ -67,7 +67,7 @@
|
||||
#include "nsIObserverService.h"
|
||||
#include "nsIScrollableFrame.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include <algorithm>
|
||||
|
||||
// headers for plugin scriptability
|
||||
|
@ -79,7 +79,7 @@
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/LookAndFeel.h"
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#undef NOISY_BLINK
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include "FrameLayerBuilder.h"
|
||||
#include "nsSubDocumentFrame.h"
|
||||
#include "nsAbsoluteContainingBlock.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "nsRuleNode.h"
|
||||
#include "nsStyleContext.h"
|
||||
#include "nsStyleAnimation.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
// #define NOISY_DEBUG
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "nsEventStates.h"
|
||||
#include "nsStyleSheetService.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include "nsThreadUtils.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "prlog.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include <algorithm>
|
||||
|
||||
static NS_DEFINE_CID(kStreamTransportServiceCID, NS_STREAMTRANSPORTSERVICE_CID);
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "nsIInputStream.h"
|
||||
#include "nsIChannel.h"
|
||||
#include "nsError.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
nsStreamLoader::nsStreamLoader()
|
||||
: mData(nullptr),
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "mozilla/TimeStamp.h"
|
||||
#include "nsError.h"
|
||||
#include "nsAlgorithm.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsIConsoleService.h"
|
||||
#include "base/compiler_specific.h"
|
||||
#include "NullHttpTransaction.h"
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "nsHtml5TreeBuilder.h"
|
||||
#include "nsHtml5StreamParser.h"
|
||||
#include "mozilla/css/Loader.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsIScriptError.h"
|
||||
#include "nsIScriptContext.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include "SQLCollations.h"
|
||||
#include "FileSystemModule.h"
|
||||
#include "mozStorageHelper.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#include "prlog.h"
|
||||
#include "prprf.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "mozStorageStatementParams.h"
|
||||
#include "mozStorageStatementRow.h"
|
||||
#include "mozStorageStatement.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#include "prlog.h"
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "nsVariant.h"
|
||||
#include "mozilla/storage.h"
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#include "nsNetCID.h"
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "mozilla/storage.h"
|
||||
#include "mozilla/Util.h"
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#define BOOKMARKS_TO_KEYWORDS_INITIAL_CACHE_SIZE 64
|
||||
#define RECENT_BOOKMARKS_INITIAL_CACHE_SIZE 10
|
||||
|
@ -23,7 +23,7 @@ mozilla_StartupTimeline_Event(FIRST_LOAD_URI, "firstLoadURI")
|
||||
|
||||
#include "prtime.h"
|
||||
#include "nscore.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#ifdef MOZ_LINKER
|
||||
extern "C" {
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsStringGlue.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#include "prprf.h"
|
||||
#include "nsCRT.h"
|
||||
|
@ -48,7 +48,7 @@
|
||||
* it took for the event to be serviced.
|
||||
*/
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#include "EventTracer.h"
|
||||
|
||||
@ -121,7 +121,7 @@ void TracerThread(void *arg)
|
||||
|
||||
while (!sExit) {
|
||||
TimeStamp start(TimeStamp::Now());
|
||||
SAMPLER_RESPONSIVENESS(start);
|
||||
profiler_responsiveness(start);
|
||||
PRIntervalTime next_sleep = interval;
|
||||
|
||||
//TODO: only wait up to a maximum of interval; return
|
||||
|
@ -2758,7 +2758,7 @@ static DWORD InitDwriteBG(LPVOID lpdwThreadParam)
|
||||
bool fire_glxtest_process();
|
||||
#endif
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
// Encapsulates startup and shutdown state for XRE_main
|
||||
class XREMain
|
||||
|
@ -74,7 +74,7 @@
|
||||
#include "mozilla/ipc/TestShellParent.h"
|
||||
#include "mozilla/ipc/XPCShellEnvironment.h"
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#ifdef MOZ_IPDL_TESTS
|
||||
#include "mozilla/_ipdltest/IPDLUnitTests.h"
|
||||
|
@ -137,7 +137,7 @@ static inline void profiler_unlock() {}
|
||||
|
||||
#else
|
||||
|
||||
#include "sps_sampler.h"
|
||||
#include "GeckoProfilerImpl.h"
|
||||
|
||||
#endif
|
||||
|
@ -69,8 +69,8 @@ void mozilla_sampler_stop2();
|
||||
bool mozilla_sampler_is_active1();
|
||||
bool mozilla_sampler_is_active2();
|
||||
|
||||
void mozilla_sampler_responsiveness1(TimeStamp time);
|
||||
void mozilla_sampler_responsiveness2(TimeStamp time);
|
||||
void mozilla_sampler_responsiveness1(const TimeStamp& time);
|
||||
void mozilla_sampler_responsiveness2(const TimeStamp& time);
|
||||
|
||||
void mozilla_sampler_frame_number1(int frameNumber);
|
||||
void mozilla_sampler_frame_number2(int frameNumber);
|
@ -14,11 +14,11 @@ XPCSHELL_TESTS = tests
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
EXPORTS = sampler.h
|
||||
EXPORTS = GeckoProfiler.h
|
||||
|
||||
ifdef MOZ_ENABLE_PROFILER_SPS
|
||||
EXPORTS += \
|
||||
sps_sampler.h \
|
||||
GeckoProfilerImpl.h \
|
||||
shared-libraries.h \
|
||||
$(NULL)
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include <iostream>
|
||||
#include "sps_sampler.h"
|
||||
#include "GeckoProfilerImpl.h"
|
||||
#include "platform.h"
|
||||
#include "nsThreadUtils.h"
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
#ifndef MOZ_PROFILE_ENTRY_H
|
||||
#define MOZ_PROFILE_ENTRY_H
|
||||
|
||||
#include "GeckoProfilerImpl.h"
|
||||
#include "mozilla/Mutex.h"
|
||||
|
||||
class ThreadProfile2;
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <stdio.h>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include "sps_sampler.h"
|
||||
#include "GeckoProfilerImpl.h"
|
||||
#include "platform.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
#include "nsThreadUtils.h"
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
// Profiler
|
||||
#include "PlatformMacros.h"
|
||||
#include "sps_sampler.h"
|
||||
#include "GeckoProfilerImpl.h"
|
||||
#include "platform.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
#include "nsThreadUtils.h"
|
||||
@ -45,7 +45,7 @@
|
||||
// JS
|
||||
#include "jsdbgapi.h"
|
||||
|
||||
// This file's exports are listed in sps_sampler.h.
|
||||
// This file's exports are listed in GeckoProfilerImpl.h.
|
||||
|
||||
// Pseudo backtraces are available on all platforms. Native
|
||||
// backtraces are available only on selected platforms. Breakpad is
|
||||
@ -961,7 +961,7 @@ bool mozilla_sampler_is_active2()
|
||||
|
||||
static double sResponsivenessTimes[100];
|
||||
static unsigned int sResponsivenessLoc = 0;
|
||||
void mozilla_sampler_responsiveness2(TimeStamp aTime)
|
||||
void mozilla_sampler_responsiveness2(const TimeStamp& aTime)
|
||||
{
|
||||
if (!sLastTracerEvent.IsNull()) {
|
||||
if (sResponsivenessLoc == 100) {
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "mozilla/StandardInteger.h"
|
||||
#include "PlatformMacros.h"
|
||||
|
||||
#include "sps_sampler.h"
|
||||
#include "platform.h"
|
||||
#include <iostream>
|
||||
|
||||
@ -67,7 +66,7 @@
|
||||
//////////////////////////////////////////////////////////
|
||||
//// BEGIN externally visible functions (WINDOWS STUBS)
|
||||
|
||||
// On Windows this will all need reworking. sps_sampler.h
|
||||
// On Windows this will all need reworking. GeckoProfilerImpl.h
|
||||
// will ensure these functions are never actually called,
|
||||
// so just provide no-op stubs for now.
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
#ifndef MOZ_UNWINDER_THREAD_2_H
|
||||
#define MOZ_UNWINDER_THREAD_2_H
|
||||
|
||||
#include "sps_sampler.h"
|
||||
#include "GeckoProfilerImpl.h"
|
||||
#include "ProfileEntry2.h"
|
||||
|
||||
/* Top level exports of UnwinderThread.cpp. */
|
||||
|
@ -8,7 +8,7 @@
|
||||
#ifdef MOZ_INSTRUMENT_EVENT_LOOP
|
||||
#include "EventTracer.h"
|
||||
#endif
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsProfiler.h"
|
||||
#include "nsMemory.h"
|
||||
#include "nsString.h"
|
||||
|
@ -59,7 +59,7 @@
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
#include "platform.h"
|
||||
#include "sps_sampler.h"
|
||||
#include "GeckoProfilerImpl.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "nsPresContext.h"
|
||||
#include "nsEventStateManager.h"
|
||||
#include "mozilla/StartupTimeline.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "nsRefreshDriver.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
#include "mozilla/dom/ScreenOrientation.h"
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#ifdef MOZ_ANDROID_HISTORY
|
||||
#include "nsNetUtil.h"
|
||||
#include "IHistory.h"
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "nsToolkit.h"
|
||||
#include "TextInputHandler.h"
|
||||
#include "mozilla/HangMonitor.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#include "npapi.h"
|
||||
|
||||
|
@ -64,7 +64,7 @@
|
||||
|
||||
#include <ApplicationServices/ApplicationServices.h>
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#include "nsIDOMWheelEvent.h"
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
||||
#include "libui/InputReader.h"
|
||||
#include "libui/InputDispatcher.h"
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
#define LOG(args...) \
|
||||
__android_log_print(ANDROID_LOG_INFO, "Gonk" , ## args)
|
||||
|
@ -126,7 +126,7 @@
|
||||
#include "nsMemoryInfoDumper.h"
|
||||
#include "xpcpublic.h"
|
||||
#include "nsXPCOMPrivate.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#ifdef WIN32
|
||||
|
@ -122,7 +122,7 @@ extern nsresult nsStringInputStreamConstructor(nsISupports *, REFNSIID, void **)
|
||||
|
||||
#include "mozilla/VisualEventTracer.h"
|
||||
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
using base::AtExitManager;
|
||||
using mozilla::ipc::BrowserProcessSubThread;
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "nsThreadManager.h"
|
||||
#include "nsThreadUtils.h"
|
||||
#include "plarena.h"
|
||||
#include "sampler.h"
|
||||
#include "GeckoProfiler.h"
|
||||
|
||||
using mozilla::TimeDuration;
|
||||
using mozilla::TimeStamp;
|
||||
|
Loading…
Reference in New Issue
Block a user