4 |
4 |
5 """ |
5 """ |
6 Module defining additions to the standard Python profile.py. |
6 Module defining additions to the standard Python profile.py. |
7 """ |
7 """ |
8 |
8 |
|
9 import atexit |
|
10 import contextlib |
|
11 import marshal |
9 import os |
12 import os |
10 import marshal |
13 import pickle # secok |
11 import profile |
14 import profile |
12 import atexit |
|
13 import pickle # secok |
|
14 import contextlib |
|
15 |
15 |
16 |
16 |
17 class PyProfile(profile.Profile): |
17 class PyProfile(profile.Profile): |
18 """ |
18 """ |
19 Class extending the standard Python profiler with additional methods. |
19 Class extending the standard Python profiler with additional methods. |