/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/lsprof.py

  • Committer: Ubuntu One Auto Copilot
  • Author(s): Jelmer Vernooij
  • Date: 2023-02-01 10:33:17 UTC
  • mfrom: (543.1.1 main)
  • Revision ID: otto-copilot@canonical.com-20230201103317-35lisym8pqw1w8y9
Add support for 'python -m loggerhead'

Merged from https://code.launchpad.net/~jelmer/loggerhead/main/+merge/436644

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
# instead of just the Stats object
7
7
 
8
8
import sys
 
9
from threading import get_ident
9
10
import threading
10
 
from threading import get_ident
11
 
 
12
11
from _lsprof import Profiler, profiler_entry
13
12
 
14
13
__all__ = ['profile', 'Stats']