Repository navigation
iOS: OLED Driving Mode, Benchmark Dim Screen, and Core ML Placement - #31
Open
moltenglue wants to merge 1 commit into
Open
moltenglue wants to merge 1 commit into
moltenglue wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Split out from #30 as an independent iOS-only PR based on
main(214c31c/v0.10.4):RootView,StatusScreen,StatusContent,HeroCard):fps/P99, and thermal state without charts or bright UI cards.UIWindowScene's screen brightness to0.05and restores the user's previous brightness on exit or scene deactivation.BenchmarkScreen):.fullScreenCover) with brightness dimming (0.05+ restore) lifecycle handled cleanly on the overlay itself soBenchmarkScreen.onDisappearnever undoes it.isIdleTimerDisabled& OLED Poll Pacing (AppModel,JetlinkPhoneApp,DeviceMonitor):UIApplication.shared.isIdleTimerDisabled = truewhile Driving Mode, Benchmark Dim Screen, an active benchmark/comparison, or serving with Keep Screen On is in the foreground (only re-enabling auto-lock when actually entering.background, with afalse → truerefresh on activation/dimming so iOS never sleeps or locks while dimmed).os_proc_available_memorypolling while dimmed and quantizes routine memory updates (>= 8 MBdeltas above a256 MBlow watermark) to cut SwiftUI invalidations.PhoneServer,StatusState,StatusContent):meta["placement"]from the loaded engine's sidecar (already written byOrtBackendonmain) to display% ANE (N/total ops)in Display & Accelerator, plus an orange Core ML CPU Fallback banner when>= 10%of ops fall back to CPU.Verification
xcrun swift-format lint --strict --configuration macos/.swift-format --recursive ios/Jetlink: 0 errors.xcodebuild -project ios/Jetlink.xcodeproj -scheme Jetlink -destination 'generic/platform=iOS' CODE_SIGNING_ALLOWED=NO build:BUILD SUCCEEDED.How to Test