libProfile

From WiiBrew
Jump to navigation Jump to search

LibProfile
General
Author(s)nuke
TypeLibrary
Version1.0
Links
Download
Website

LibProile is a very light weight code profiler which supports the Nintendo Wii and Gamecube platforms. It is currently a very basic profiler but useful for optimizing and finding bottlenecks.

LibProfile allows for an unlimited number of profile jobs to be run at any time and ‘currently’ outputs results in Number of Clock cycles taken and Microseconds (us). Profile jobs will also record the minimum and maximum execution time spent in your code and the total duration.

The code is written in C with a few lines of inline assembly language to read the time base registers of the CPU.

Instructions

See Readme.txt in the docs folder for instructions

Contact

Any suggestions, feedback, issues you can contact me at ian (at) unrom (dot) com


Credits