Skip to content

Latest commit

 

History

History
212 lines (120 loc) · 4.28 KB

Changelog.md

File metadata and controls

212 lines (120 loc) · 4.28 KB

CPUTune Changelog

v 2.2.6

  • Corrected the timeout unit from nano to second to fix the memory leak

v2.2.5

  • Added missing semicolon

v2.2.4

  • Fixed the type casting issue for buffer in readFileAsBytes()

v2.2.3

  • Attempt to fix the memory leak in readFileAsBytes()

v2.2.2

  • Renamed CPUTune.kext to CPUTuneCore.kext

v2.2.1

  • Fixed a kernel panic when resart the timer in readConfigAtRuntime()

v2.2.0

  • Fixed return status in start()
  • Reverted to less aggressive MSR writters with null pointer protection
  • Removed redudant log in setIfNotEqual

v2.1.9

  • Fixed some nits

v2.1.8

  • Protected against null pointer
  • Fixed the readConfigAtRuntime read and set logic (use setIfNotEqual)
  • Added Base to know region as new Xcode

v 2.1.7

  • Fixed the kernel panic at boostrap due to write log to filesystem

v 2.1.6

  • Fixed a kernel panic that reads MSR_IA32_HWP_REQUEST on CPUs unsupport HWP

v2.1.5

  • Fixed the NVRAM log string buffer

v2.1.4

  • Add version info for CPUTune; rename readFileNBytes to readFileAsBytes

v2.1.3

  • Add line number, better code style for LOG and DBGLOG

v2.1.2

  • Better logging with function name, more readable

v2.1.1

  • Fixed timer sounce timeout in CPUTune::start

v2.1.0

  • Introduce DBGLOG() macro to reduce the log noise
  • Rename myLOG() to LOG()

v2.0.9

  • Remove unused header in CPUInfo's header; bump to the right version

v2.0.8

  • Check turbo rate limit RW/RO before writting to MSR

v2.0.7

  • Fix memory leak by freeing buffer after use

v2.0.6

  • Tune turbo ratio limit at runtime when turbo is enabled

v2.0.5

  • Make code cleaner and shorter, remove unnecessary initKextPreferences()

v2.0.4

  • Make update timeout configurable so that we have a more looser/tigher control over the HWP request
  • Move the initKextPreferences() up to CPUTune::init()

v2.0.3

  • Decouple HWP information to CPUInfo

v2.0.2

  • Support no 0x/0X prefix hexadecimal constant (e.g. 0x800d3008 as 800d3008)

v2.0.1

  • Verify and surface invalid HWP request properly

v2.0.0

  • Major release, fix logging in current value after setIfNotEqual()

v1.9.9

  • Introduce HWP request at runtime

v1.9.8

  • Avoid construct objects twice

v1.9.7

  • Remove useless const qualifier + improved code style

v1.9.6

  • Added init/restore for BD_PROCHOT
  • Unified the log output for PROCHOT and use setIfNotEqual()
  • Fixed a bug in readConfigAtRuntime which was not restoring ProcHot correctly when coming out of sleep mode

v1.9.5

  • Fixed the return type of the setIfNotEqual()

v1.9.4

  • Simplify writing logic to MSR

v1.9.3

  • Avoid dynamic allocation for CPUInfo and SIPTune, which avoid indefine blocking in kernel space + avoid memory leak
  • Use type anotation

v1.9.2

  • More accurate logging for non-exist propreties in NVRAM

v1.9.1

  • Supports BD_PROCHOT signal on Intel CPU credits @christophe-duc
  • Update README.md

v1.9.0

  • Resolve linkage issue for kernel major/minor

v1.8.9

  • NVRAM protection

v1.8.8

  • Supported macOS Catalina

v1.8.7

  • Updated cpu info to xnu-4903.221.2

v1.8.6

  • Updated csr header to xnu-4903.221.2

v.1.8.5

  • Simplify the enable if-condition

v1.8.4

  • Removed unused variables
  • Corrected writeBufferToFile() return type

v1.8.1

  • Regularly checks profiles

v1.8.0

  • Allowed SIP control a bit easier via Info.plist tunning instead of reboot to recovery mode on a real mac
  • Simplify memory deallocate code blocks via deleter routine

v1.7.0

  • Fixed compatible issues (supported OS X Mountain Lion and Xcode 3.2)
  • Fixed code logic of HWP Enable, details can be found here

v1.6.5

  • Implemented Timer Event based feature for dynamic control CPU Performance at runtime
  • CPUInfo to detect cpu information

v1.1.1

  • Implemented write logs to file

v1.0.7

  • Boot arguments check
  • Unsupported version check
  • Fixed memeory leak

v1.0.1

  • Fixed enableTurboBoost().

v1.0.0

  • Initial release