Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 652
    • Issues 652
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyPy
  • pypypypy
  • Issues
  • #2250

Closed
Open
Created Mar 03, 2016 by Bitbucket Importer@bitbucket_importerMaintainer

Result of jit_hooks.stats_get_loop_run_times is always empty

Created originally on Bitbucket by magnusmorton_old (Magnus Morton)

I've noticed that the result of jit_hooks.stats_get_loop_run_times(None) is always empty now, even when jit_hooks.stats_set_debug(None, True) has been called and some loops have been compiled and executed.

I suspect the problem is that the appropriate debug instructions are not getting injected into the traces in the first place. in jit/backend/x86/assembler.py in assemble_loop:

#!python

if log:
    operations = self._inject_debugging_code(looptoken, operations,
                                             'e', looptoken.number)

log seems to always be false.

The latest revision I know for sure had the correct behaviour was 79086:32f5175b444e

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking