def workerthread()

in application-workloads/python/vmss-bottle-autoscale/workserver.py [0:0]


def workerthread():
    # outer loop to run while waiting
    while (True):
        # main loop to thrash the CPI
        while (keepworking == True):
            for x in range(1, 69):
                math.factorial(x)
        time.sleep(3)