Skip to content

feat: high precision nanosecond C/C++ timer wrapper#22

Open
Jags-08 wants to merge 1 commit into
mainfrom
feat/native-c-timer
Open

feat: high precision nanosecond C/C++ timer wrapper#22
Jags-08 wants to merge 1 commit into
mainfrom
feat/native-c-timer

Conversation

@Jags-08
Copy link
Copy Markdown
Owner

@Jags-08 Jags-08 commented May 13, 2026

Description

Because JVM bounds sometimes skew microbenchmarking, this adds a tiny JNI-compatible C-level CLOCK_MONOTONIC wrapper to ensure the highest possible precision when wrapping JVM instances externally.

@Jags-08
Copy link
Copy Markdown
Owner Author

Jags-08 commented May 13, 2026

The C-level timer implementation is extremely clean. Let's make sure the timespec structs compile accurately under MSVC before we let this hit the main trunk.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant