Difference between revisions of "API debugprofilestart"
(Point out that start() never needs to be called. It's probably better to just call stop() multiple times.) |
(Boldize "never call this function") |
||
Line 5: | Line 5: | ||
Note that the timer does not actually need to be started. This is more of a global "reset" of the timer. |
Note that the timer does not actually need to be started. This is more of a global "reset" of the timer. |
||
− | Since it is global, it is probably best to |
+ | Since it is global, it is probably best to '''never call this function'''. Rather just call debugprofilestop() 2 times and compare the difference. |
== See also == |
== See also == |
Latest revision as of 03:12, 31 October 2014
Starts the profiling timer.
debugprofilestart();
Note that the timer does not actually need to be started. This is more of a global "reset" of the timer.
Since it is global, it is probably best to never call this function. Rather just call debugprofilestop() 2 times and compare the difference.