-
Notifications
You must be signed in to change notification settings - Fork 297
Merge intel_mp into next #1086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Merge intel_mp into next #1086
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
…ometimes it runs slow in absolute terms which needs timeline for further investigation, hence the 400000pps test. The test was written on a very fast consumer CPU rather than a slower per core server CPU, 200000 should pass on E5 chips ok
The timer() function now sets its new deadline based on the current time rather than the previous deadline. This is more consistent with the documentation and prevents timeouts from being "saved up" in the style of a token bucket when the timer is not called for a period of time.
These are convenience functions for the most common timer use cases. timeout(seconds) returns true after the time has elapsed. throttle(seconds) returns true at regular intervals.
Fix a problem where engine.now() could return a stale value if the engine is not running i.e. timestamp of the last breath. Now the engine only uses its cached time value while the breathe loop is active and otherwise it fetches the current time from the time source. (Could also consider always returning the latest time without caching but this would potentially make engine.now() too expensive...?)
This function is unused due to the previous commits.
…tting counter registers
…xported, mac address is export via a counter
# Conflicts: # src/apps/intel_mp/intel_mp.lua
Merged, thanks! |
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.
Includes: #897
Cc @petebristow @lukego