Revert "Bug 1928254 - pt 8. Improve the idle purge markers r=jstutte"

This reverts commit 990a75a96b.

Revert "Bug 1928254 - pt 7. Add more details to the Purge marker r=jstutte,profiler-reviewers,canaltinova"

This reverts commit c4b8597e6e.

Revert "Bug 1928254 - pt 6. Move PurgeResult to mozjemalloc_types.h r=jstutte"

This reverts commit 3f6a9d0a98.

Revert "Bug 1928254 - pt 5. Rename purge_result_t to avoid confusion with PurgeResult r=jstutte"

This reverts commit 5a56d09f72.

Revert "Bug 1928254 - pt 4. Add profiler markers for mozjemalloc's Purge() r=florian,profiler-reviewers"

This reverts commit e699aa7901.

Revert "Bug 1928254 - pt 3. Time the purge operation in mozjemalloc r=glandium"

This reverts commit 3b891ccfc3.

Revert "Bug 1928254 - pt 2. Add profiler callbacks for mozjemalloc r=glandium"

This reverts commit 362172ca5b.

Revert "Bug 1928254 - pt 1. Label arenas for the profiler r=glandium"

This reverts commit b1f31febeb.
This commit is contained in:
Atila Butkovits
2025-05-15 08:30:25 +03:00
committed by abutkovits@mozilla.com
parent f8f446b788
commit 77ba9a0aeb
17 changed files with 117 additions and 479 deletions

View File

@@ -48,9 +48,12 @@ SOURCES += [
"Debug.cpp",
"LoggingCore.cpp",
"MmapFaultHandler.cpp",
"Now.cpp",
"Printf.cpp",
"SIMD.cpp",
"StackWalk.cpp",
"TimeStamp.cpp",
"Uptime.cpp",
]
if CONFIG["TARGET_CPU"].startswith("x86"):
@@ -91,6 +94,7 @@ if CONFIG["OS_ARCH"] == "WINNT":
]
SOURCES += [
"GetKnownFolderPath.cpp",
"TimeStamp_windows.cpp",
"WindowsDiagnostics.cpp",
"WindowsDllMain.cpp",
"WindowsDpiInitialization.cpp",
@@ -108,6 +112,17 @@ if CONFIG["OS_ARCH"] == "WINNT":
"PreXULSkeletonUI.cpp",
]
elif CONFIG["OS_ARCH"] == "Darwin":
SOURCES += [
"TimeStamp_darwin.cpp",
]
elif CONFIG["HAVE_CLOCK_MONOTONIC"]:
SOURCES += [
"TimeStamp_posix.cpp",
]
elif CONFIG["COMPILE_ENVIRONMENT"]:
error("No TimeStamp implementation on this platform. Build will not succeed")
if CONFIG["OS_ARCH"] == "WINNT":
SOURCES += [
"ConditionVariable_windows.cpp",
@@ -142,5 +157,3 @@ if CONFIG["CC_TYPE"] in ("clang", "clang-cl"):
for var in ("MOZ_APP_BASENAME", "MOZ_APP_VENDOR"):
DEFINES[var] = '"%s"' % CONFIG[var]
include("/mozglue/misc/timestamp.mozbuild")

View File

@@ -1,25 +0,0 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
SOURCES += [
"/mozglue/misc/Now.cpp",
"/mozglue/misc/TimeStamp.cpp",
"/mozglue/misc/Uptime.cpp",
]
if CONFIG["OS_TARGET"] == "WINNT":
SOURCES += [
"/mozglue/misc/TimeStamp_windows.cpp",
]
elif CONFIG["OS_TARGET"] == "Darwin":
SOURCES += [
"/mozglue/misc/TimeStamp_darwin.cpp",
]
elif CONFIG["HAVE_CLOCK_MONOTONIC"]:
SOURCES += [
"/mozglue/misc/TimeStamp_posix.cpp",
]
elif CONFIG["COMPILE_ENVIRONMENT"]:
error("No TimeStamp implementation on this platform. Build will not succeed")