from bge import logic
from timing import timing

res = timing()

# get the scene
scene = logic.getCurrentScene()

# coall the objects in the scene
for name in res.keys():
    scene.objects[name].color = (1, 0, 1, .7) \
                                if res[name] else (1, .5, 1, 1)