CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.
1pod
GPTimeProfiler is used to track the execution time of an arbitrary piece of code. The time is tracked during one
profile cycle. One cycle is the time between two method calls -start and -stop. The object of the GPTimeProfiler
class stores the total amount of profile cycles. With every call to the -stop method the amount of profile
cycles is increased by 1. GPTimeProfiler can be used to determine the overall time of execution or the average
time of one profile cycle. It can also be used to track the amount of profile cycles.
It has the convenience methods to get the tracked time in seconds and milliseconds as NSString.
The time tracking part of the GPTimeProfiler is based on the CFAbsoluteTimeGetCurrent() function.
The GPTimeProfiler can be used in Objective-C and Swift based applications.
License: MIT