You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
758 B
22 lines
758 B
15 years ago
|
As the docu in kprofilemethod.h says:
|
||
|
|
||
|
Those macros help profiling using QTime.
|
||
|
They allow to sum up the time taken by a given bit of code
|
||
|
in a method called several times.
|
||
|
This way one can find out which low-level method used by a high-level
|
||
|
method is taking most of its time.
|
||
|
|
||
|
WARNING:
|
||
|
|
||
|
Please do not commit code that uses kprofilemethod.h
|
||
|
Since not everyone has kdesdk installed, it won't build for everyone.
|
||
|
This is a tool to be used for a one-time profiling, and then you need
|
||
|
to remove all its traces before committing.
|
||
|
|
||
|
TODO:
|
||
|
|
||
|
KDevelop, XEmacs and vi shortcuts to insert begin/end macros around a block
|
||
|
of code (e.g. after selecting it) - this macro would also insert the
|
||
|
int variable, and another shortcut for inserting the print macro.
|
||
|
|