- Notifications
You must be signed in to change notification settings - Fork1
Expose the CPU cycle counter via `\rdtsc()` to user-land using a php extension
License
NotificationsYou must be signed in to change notification settings
edorian/php-ext-rdtsc
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Expose the__rdtsc CPU cycle counter to user-land using a php extension
- x64 platform
- gcc
phpize./configuremakephp -d extension=modules/rdtsc.so example.phpGiven thevarious caveats with__rdtsc this should be used with great care when trying to measure things.
There also is aPHP-FFI implementation that provides the same functionality available.
For most casesgetrusage() should be preferable.
About
Expose the CPU cycle counter via `\rdtsc()` to user-land using a php extension
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published