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

Merge max-next into next for v2018.08 #1375

merged 12 commits into from Aug 6, 2018


None yet
5 participants

eugeneia commented Aug 6, 2018

This includes: #1305 #1358 #1355 #1366

Cc @lukego

wingo and others added some commits Mar 20, 2018

Load potentially 64-bit values using mov64
When Snabb switches to LuaJIT's GC64, FFI allocations might be in the
64-bit range.  This commit adapts the memory references to immediate
addresses to account for 64-bit immediates.
Add support for RDTSC, apply to token bucket
The new module lib.tsc provides a generic Time Stamp Counter mechanism
for measuring time intervals based on different time sources.  One
such source makes use of the CPU's TSC register via the rdtsc
instruction for low-latency timing purposes.

The rdtsc method is made the default time source for the token bucket,
formerly provided by core.lib, now moved to a separate module
lib.token_bucket. The commit also includes documentation for the token
bucket, which was previously missing.

@lukego lukego merged commit c65c1f4 into next Aug 6, 2018

lukego added a commit that referenced this pull request Aug 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment