Mercurial > vim
comparison runtime/doc/repeat.txt @ 856:8cd729851562 v7.0g
updated for version 7.0g
author | vimboss |
---|---|
date | Sun, 30 Apr 2006 18:54:39 +0000 |
parents | a209672376fd |
children | 4bac29d27e2f |
comparison
equal
deleted
inserted
replaced
855:d2a4f08396fe | 856:8cd729851562 |
---|---|
1 *repeat.txt* For Vim version 7.0f. Last change: 2006 Apr 24 | 1 *repeat.txt* For Vim version 7.0g. Last change: 2006 Apr 30 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
604 2 Called 1 time ~ | 604 2 Called 1 time ~ |
605 3 Total time: 0.155251 ~ | 605 3 Total time: 0.155251 ~ |
606 4 Self time: 0.002006 ~ | 606 4 Self time: 0.002006 ~ |
607 5 ~ | 607 5 ~ |
608 6 count total (s) self (s) ~ | 608 6 count total (s) self (s) ~ |
609 7 9 0.000096 for i in range(8) ~ | 609 7 9 0.000096 for i in range(8) ~ |
610 8 8 0.153655 0.000410 call Test3() ~ | 610 8 8 0.153655 0.000410 call Test3() ~ |
611 9 8 0.000070 endfor ~ | 611 9 8 0.000070 endfor ~ |
612 10 " Ask a question ~ | 612 10 " Ask a question ~ |
613 11 1 0.001341 echo input("give me an answer: ") ~ | 613 11 1 0.001341 echo input("give me an answer: ") ~ |
614 | 614 |
615 The header (lines 1-4) gives the time for the whole function. The "Total" | 615 The header (lines 1-4) gives the time for the whole function. The "Total" |
616 time is the time passed while the function was executing. The "Self" time is | 616 time is the time passed while the function was executing. The "Self" time is |
617 the "Total" time reduced by time spent in: | 617 the "Total" time reduced by time spent in: |
618 - other user defined functions | 618 - other user defined functions |
647 - The time of the lines added up is mostly less than the time of the whole | 647 - The time of the lines added up is mostly less than the time of the whole |
648 function. There is some overhead in between. | 648 function. There is some overhead in between. |
649 | 649 |
650 - Functions that are deleted before Vim exits will not produce profiling | 650 - Functions that are deleted before Vim exits will not produce profiling |
651 information. You can check the |v:profiling| variable if needed: > | 651 information. You can check the |v:profiling| variable if needed: > |
652 :if !v:profiling | 652 :if !v:profiling |
653 : delfunc MyFunc | 653 : delfunc MyFunc |
654 :endif | 654 :endif |
655 < | 655 < |
656 - Profiling may give weird results on multi-processor systems, when sleep | 656 - Profiling may give weird results on multi-processor systems, when sleep |
657 mode kicks in or the processor frequency is reduced to save power. | 657 mode kicks in or the processor frequency is reduced to save power. |