GoLang HRTime\PerformanceCounter::getFrequency

request it (342)
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 ]

HRTime\PerformanceCounter::getFrequency

(PECL hrtime >= 0.4.3)

HRTime\PerformanceCounter::getFrequencyTimer frequency in ticks per second

Description

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.

Parameters

This function has no parameters.

Return Values

Returns integer indicating the timer frequency.