This repository has been archived by the owner on Jan 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
A simple PHP extension to read the processor timestamp counter
canneverbe/php-rdtsc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
### A simple PHP extension to read the processor Time Stamp Counter. Requirements: - PHP 5.2 or later ### Installation # git clone git://github.com/canneverbe/php-rdtsc.git # cd php-rdtsc # phpize # ./configure # make # make install ### API Currently there is only one class with one static method, its prototype is: mixed public static Rdtsc::ticks(void) Returns the current processor timestamp Return values: An integer if value is less than LONG_MAX in your platform. An string otherwise.
About
A simple PHP extension to read the processor timestamp counter