perf(efficiency): 接入真实CPU能量并隔离展示与采样需求
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
CC1000000000000000000001 /* BoundedProcess.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC1000000000000000000002 /* BoundedProcess.swift */; };
|
||||
BB000000000000000000001E /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB000000000000000000000A /* main.swift */; };
|
||||
BB000000000000000000001F /* DiskSMARTReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB000000000000000000000B /* DiskSMARTReader.swift */; };
|
||||
BB0000000000000000000020 /* SMARTServiceProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB000000000000000000000C /* SMARTServiceProtocol.swift */; };
|
||||
@@ -16,6 +15,10 @@
|
||||
BB0000000000000000000023 /* DiskHealthReport.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB000000000000000000000F /* DiskHealthReport.swift */; };
|
||||
BB0000000000000000000024 /* SMARTService.xpc in Embed XPC Services */ = {isa = PBXBuildFile; fileRef = BB0000000000000000000002 /* SMARTService.xpc */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
|
||||
BB0000000000000000000025 /* CPUTemperatureMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB0000000000000000000010 /* CPUTemperatureMonitor.swift */; };
|
||||
CC1000000000000000000001 /* BoundedProcess.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC1000000000000000000002 /* BoundedProcess.swift */; };
|
||||
CC1000000000000000000003 /* ProcessMetrics.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC1000000000000000000004 /* ProcessMetrics.swift */; };
|
||||
CC1000000000000000000005 /* ProcessEnergy.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC1000000000000000000006 /* ProcessEnergy.swift */; };
|
||||
CC1000000000000000000007 /* ProcessEnergyReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC1000000000000000000008 /* ProcessEnergyReader.swift */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
@@ -41,7 +44,6 @@
|
||||
/* End PBXCopyFilesBuildPhase section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
CC1000000000000000000002 /* BoundedProcess.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = BoundedProcess.swift; path = kymo/Core/Services/BoundedProcess.swift; sourceTree = SOURCE_ROOT; };
|
||||
BB0000000000000000000002 /* SMARTService.xpc */ = {isa = PBXFileReference; explicitFileType = "wrapper.xpc-service"; includeInIndex = 0; path = SMARTService.xpc; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
BB000000000000000000000A /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = main.swift; path = SMARTService/main.swift; sourceTree = SOURCE_ROOT; };
|
||||
BB000000000000000000000B /* DiskSMARTReader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = DiskSMARTReader.swift; path = SMARTService/DiskSMARTReader.swift; sourceTree = SOURCE_ROOT; };
|
||||
@@ -51,6 +53,10 @@
|
||||
BB000000000000000000000F /* DiskHealthReport.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = DiskHealthReport.swift; path = kymo/Core/Monitors/DiskHealthReport.swift; sourceTree = SOURCE_ROOT; };
|
||||
BB0000000000000000000010 /* CPUTemperatureMonitor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = CPUTemperatureMonitor.swift; path = kymo/Core/Monitors/CPUTemperatureMonitor.swift; sourceTree = SOURCE_ROOT; };
|
||||
BB0000000000000000000016 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = SMARTService/Info.plist; sourceTree = SOURCE_ROOT; };
|
||||
CC1000000000000000000002 /* BoundedProcess.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = BoundedProcess.swift; path = kymo/Core/Services/BoundedProcess.swift; sourceTree = SOURCE_ROOT; };
|
||||
CC1000000000000000000004 /* ProcessMetrics.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ProcessMetrics.swift; path = kymo/Core/Models/ProcessMetrics.swift; sourceTree = SOURCE_ROOT; };
|
||||
CC1000000000000000000006 /* ProcessEnergy.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ProcessEnergy.swift; path = kymo/Core/Models/ProcessEnergy.swift; sourceTree = SOURCE_ROOT; };
|
||||
CC1000000000000000000008 /* ProcessEnergyReader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ProcessEnergyReader.swift; path = SMARTService/ProcessEnergyReader.swift; sourceTree = SOURCE_ROOT; };
|
||||
D9E51E73309338B0000608DE /* kymo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = kymo.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
@@ -108,6 +114,9 @@
|
||||
BB000000000000000000000C /* SMARTServiceProtocol.swift */,
|
||||
BB000000000000000000000D /* CodeIdentity.swift */,
|
||||
CC1000000000000000000002 /* BoundedProcess.swift */,
|
||||
CC1000000000000000000008 /* ProcessEnergyReader.swift */,
|
||||
CC1000000000000000000006 /* ProcessEnergy.swift */,
|
||||
CC1000000000000000000004 /* ProcessMetrics.swift */,
|
||||
BB000000000000000000000E /* DiskHealthMetrics.swift */,
|
||||
BB000000000000000000000F /* DiskHealthReport.swift */,
|
||||
BB0000000000000000000010 /* CPUTemperatureMonitor.swift */,
|
||||
@@ -226,6 +235,9 @@
|
||||
BB0000000000000000000020 /* SMARTServiceProtocol.swift in Sources */,
|
||||
BB0000000000000000000021 /* CodeIdentity.swift in Sources */,
|
||||
CC1000000000000000000001 /* BoundedProcess.swift in Sources */,
|
||||
CC1000000000000000000007 /* ProcessEnergyReader.swift in Sources */,
|
||||
CC1000000000000000000005 /* ProcessEnergy.swift in Sources */,
|
||||
CC1000000000000000000003 /* ProcessMetrics.swift in Sources */,
|
||||
BB0000000000000000000022 /* DiskHealthMetrics.swift in Sources */,
|
||||
BB0000000000000000000023 /* DiskHealthReport.swift in Sources */,
|
||||
BB0000000000000000000025 /* CPUTemperatureMonitor.swift in Sources */,
|
||||
@@ -380,11 +392,9 @@
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEPLOYMENT_POSTPROCESSING = YES;
|
||||
STRIP_INSTALLED_PRODUCT = YES;
|
||||
STRIP_STYLE = all;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
DEPLOYMENT_POSTPROCESSING = YES;
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||
@@ -402,6 +412,8 @@
|
||||
MTL_FAST_MATH = YES;
|
||||
SDKROOT = macosx;
|
||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||
STRIP_INSTALLED_PRODUCT = YES;
|
||||
STRIP_STYLE = all;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
};
|
||||
name = Release;
|
||||
|
||||
Reference in New Issue
Block a user