Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overflow in Python Profiler #39843

Closed
schiotz mannequin opened this issue Jan 21, 2004 · 2 comments
Closed

Overflow in Python Profiler #39843

schiotz mannequin opened this issue Jan 21, 2004 · 2 comments
Labels
stdlib Python modules in the Lib dir

Comments

@schiotz
Copy link
Mannequin

schiotz mannequin commented Jan 21, 2004

BPO 881261
Nosy @amauryfa
Superseder
  • bpo-645894: better timer resolution for profile.py
  • Files
  • fido: Output from profiler / pstat
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2009-01-12.13:31:00.977>
    created_at = <Date 2004-01-21.09:35:31.000>
    labels = ['library']
    title = 'Overflow in Python Profiler'
    updated_at = <Date 2009-01-12.13:31:00.938>
    user = 'https://bugs.python.org/schiotz'

    bugs.python.org fields:

    activity = <Date 2009-01-12.13:31:00.938>
    actor = 'amaury.forgeotdarc'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-01-12.13:31:00.977>
    closer = 'amaury.forgeotdarc'
    components = ['Library (Lib)']
    creation = <Date 2004-01-21.09:35:31.000>
    creator = 'schiotz'
    dependencies = []
    files = ['1175']
    hgrepos = []
    issue_num = 881261
    keywords = []
    message_count = 2.0
    messages = ['19736', '79675']
    nosy_count = 2.0
    nosy_names = ['amaury.forgeotdarc', 'schiotz']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = None
    status = 'closed'
    superseder = '645894'
    type = None
    url = 'https://bugs.python.org/issue881261'
    versions = ['Python 2.3']

    @schiotz
    Copy link
    Mannequin Author

    schiotz mannequin commented Jan 21, 2004

    When profiling code that runs very long (36 hours),
    negative times are reported. I suspect an integer
    overflow somewhere.

    @schiotz schiotz mannequin added stdlib Python modules in the Lib dir labels Jan 21, 2004
    @amauryfa
    Copy link
    Member

    on POSIX, clock() indeed wraps around after some time.
    This was corrected with bpo-645894, and is available since python 2.5.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant