/trunk/Examples/python/performance/hierarchy_operator/runme.py

# · Python · 12 lines · 8 code · 3 blank · 1 comment · 1 complexity · ad3da7bd67df88a747f638d1e4975c15 MD5 · raw file

  1. #!/usr/bin/env
  2. import sys
  3. sys.path.append('..')
  4. import harness
  5. def proc (mod) :
  6. x = mod.H()
  7. for i in range(10000000) :
  8. x += i
  9. harness.run(proc)