Did I find the right examples for you? yes no

All Samples(22)  |  Call(2)  |  Derive(0)  |  Import(20)

src/s/y/Sypy-HEAD/jit/backend/llgraph/llimpl.py   Sypy(Download)
    def op_debug_merge_point(self, _, *args):
        from pypy.jit.metainterp.warmspot import get_stats
        try:
            stats = get_stats()
        except AttributeError:

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/executor.py   plexnet(Download)
def do_debug_merge_point(cpu, box1):
    from pypy.jit.metainterp.warmspot import get_stats
    loc = box1._get_str()
    get_stats().add_merge_point_location(loc)
 

src/s/y/Sypy-HEAD/jit/metainterp/test/test_warmspot.py   Sypy(Download)
import py
from pypy.jit.metainterp.warmspot import get_stats
from pypy.rlib.jit import JitDriver, set_param, unroll_safe
from pypy.jit.backend.llgraph import runner
 

src/s/y/Sypy-HEAD/jit/metainterp/test/test_virtualizable.py   Sypy(Download)
from pypy.jit.metainterp.test.support import LLJitMixin, OOJitMixin
from pypy.rpython.rclass import FieldListAccessor
from pypy.jit.metainterp.warmspot import get_stats, get_translator
from pypy.jit.metainterp import history
from pypy.jit.metainterp.optimizeopt.test.test_util import LLtypeMixin

src/s/y/Sypy-HEAD/jit/metainterp/test/test_recursive.py   Sypy(Download)
from pypy.jit.codewriter.policy import StopAtXPolicy
from pypy.rpython.annlowlevel import hlstr
from pypy.jit.metainterp.warmspot import get_stats
 
class RecursiveTests:

src/s/y/Sypy-HEAD/jit/metainterp/test/test_quasiimmut.py   Sypy(Download)
        self.check_resops(guard_not_invalidated=2, getfield_gc=0)
        #
        from pypy.jit.metainterp.warmspot import get_stats
        loops = get_stats().loops
        for loop in loops:
        self.check_resops(guard_not_invalidated=0, getfield_gc=3)
        #
        from pypy.jit.metainterp.warmspot import get_stats
        loops = get_stats().loops
        for loop in loops:
                          getarrayitem_gc=0, getfield_gc=0)
        #
        from pypy.jit.metainterp.warmspot import get_stats
        loops = get_stats().loops
        for loop in loops:
                          arraylen_gc=0, getarrayitem_gc=0, getfield_gc=0)
        #
        from pypy.jit.metainterp.warmspot import get_stats
        loops = get_stats().loops
        for loop in loops:
                          getarrayitem_gc=0, getarrayitem_gc_pure=0)
        #
        from pypy.jit.metainterp.warmspot import get_stats
        loops = get_stats().loops
        for loop in loops:

src/s/y/Sypy-HEAD/jit/metainterp/test/test_memmgr.py   Sypy(Download)
from pypy.jit.metainterp.test.support import LLJitMixin
from pypy.rlib.jit import JitDriver, dont_look_inside
from pypy.jit.metainterp.warmspot import get_stats
from pypy.jit.metainterp.warmstate import JitCell
from pypy.rlib import rgc

src/s/y/Sypy-HEAD/jit/metainterp/test/test_loop.py   Sypy(Download)
import py
from pypy.rlib.jit import JitDriver, hint, set_param
from pypy.rlib.objectmodel import compute_hash
from pypy.jit.metainterp.warmspot import ll_meta_interp, get_stats
from pypy.jit.metainterp.test.support import LLJitMixin, OOJitMixin

src/s/y/Sypy-HEAD/jit/metainterp/test/test_jitdriver.py   Sypy(Download)
"""Tests for multiple JitDrivers."""
from pypy.rlib.jit import JitDriver, unroll_safe, set_param
from pypy.jit.metainterp.test.support import LLJitMixin, OOJitMixin
from pypy.jit.metainterp.warmspot import get_stats
 
        res = self.meta_interp(loop1, [10], inline=True, trace_limit=6)
        assert res == 10
        stats = get_stats()
        assert stats.aborted_keys == [None, None]
 

src/s/y/Sypy-HEAD/jit/metainterp/test/test_ajit.py   Sypy(Download)
from pypy.jit.metainterp.test.support import LLJitMixin, OOJitMixin, noConst
from pypy.jit.metainterp.typesystem import LLTypeHelper, OOTypeHelper
from pypy.jit.metainterp.warmspot import get_stats
from pypy.rlib import rerased
from pypy.rlib.jit import (JitDriver, we_are_jitted, hint, dont_look_inside,

  1 | 2  Next