JCL Help:RoundFrequency

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Normalizes a frequency.


Pascal

 function RoundFrequency(const Frequency: Integer): Integer;


Parameters

Parameters Description
const Frequency: Integer The frequency to round (normalize) in MHz.


Return Value

The normalized frequency in MHz.


Description

RoundFrequency rounds a frequency as obtained from GetCpuSpeed to a normalized frequency. For example, if GetCpuSpeed returns a calculated frequency of 266.13 MHz then RoundFrequency will return the normalized 266 MHz.


About

Unit

JclSysInfo


Donator

Bryan Coutch


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page