ó
wŰjc           @   s5   d  d l  Z  d  d l Z d   Z d   Z e   d S(   i˙˙˙˙Nc          C   sY   d d }  t  j d  } t d | j d |   t d | j |   t d | j |   d  S(   Ns   hello world ič  s
   ([\13\14])i
   t    (   t   ret   compilet   timefunct   subt   splitt   findall(   t   st   p(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/reperf.pyt   main   s
    
c         O   s}   t  j   } z. x# t |   D] } | | |   } q W| SWd  t  j   } |  d k r` |  Gd Gn  | j Gd | | Gd GHXd  S(   Ni   t   timess   %.3fs   CPU seconds(   t   timet   clockt   ranget   __name__(   t   nt   funct   argst   kwt   t0t   it   resultt   t1(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/reperf.pyR      s    (   R   R   R	   R   (    (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/reperf.pyt   <module>   s   		