def getabsfile(object, _filename=None):
    if _filename is None:
        _filename = getsourcefile(object) or getfile(object)
    return os.path.normcase(os.path.abspath(_filename))
When no samples have been collected, the rate is 0.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/inspect.py/getabsfile--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/benchmark/scenarios/test/test_rate_measurer.py/RateMeasurerTest.test_rate_is_zero_when_no_samples