GoLang HRTime\PerformanceCounter::getFrequency

request it (76)
GoLang replacement for PHP's HRTime\PerformanceCounter::getFrequency [edit | history]

Do you know a GoLang replacement for PHP's HRTime\PerformanceCounter::getFrequency? Write it!

PHP HRTime\PerformanceCounter::getFrequency

PHP original manual for HRTime\PerformanceCounter::getFrequency [ show | php.net ]


(PECL hrtime >= 0.4.3)

HRTime\PerformanceCounter::getFrequencyTimer frequency in ticks per second


public static int HRTime\PerformanceCounter::getFrequency ( void )

Returns the timer frequency in ticks per second. This value is constant after the system start on almost any operating system.


This function has no parameters.

Return Values

Returns integer indicating the timer frequency.