System.Diagnostics.TStopwatch.Frequency

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class property Frequency: Int64 read FFrequency;

C++

/* static */ __property __int64 Frequency = {read=FFrequency};

Properties

Type Visibility Source Unit Parent
property public
System.Diagnostics.pas
System.Diagnostics.hpp
System.Diagnostics TStopwatch

Description

Specifies the frequency of the high-resolution timers.

Use the value of Frequency to obtain a value that measures the number of ticks per second supported by the current operating system. The value of Frequency is either obtained from the operating system or specified manually if the high-resolution timers are not available.

Do not change the value of Frequency field, because this might disrupt the normal functioning of all TStopwatch instances.

See Also