Conversation
This introduces per-operation latency measurement under pathological scenarios to empirically bound the O(1) constant of TLSF malloc/free. - Four scenarios (malloc/free × worst/best case) with cycle-accurate timing (rdtsc on x86-64, cntvct_el0 on ARM64, mach_absolute_time on macOS). - Supports cold-cache mode (-C) with 64 MB thrash buffer to simulate interrupt-handler WCET. - Raw CSV output (-r) embeds the platform tick unit for correct plot labeling.
WCET Results (x86-64) |
WCET Results (arm64) |
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.
This introduces per-operation latency measurement under pathological scenarios to empirically bound the O(1) constant of TLSF malloc/free.
Summary by cubic
Adds a WCET measurement suite to validate TLSF’s O(1) malloc/free with worst/best case scenarios, plus plotting and CI automation. Runs on x86‑64, ARM64, and macOS to give clear latency bounds.
New Features
Dependencies
Written for commit bd05325. Summary will update on new commits.