def scan_for_benchmark_versions(bmkdir):
    """Scan subdirectories of a benchmark Directory 'bmkdir' to find
    benchmark versions.  Return a sequence containing all benchmark
    version names."""

    srcdir = bmkdir.getChildByName('src')
    srcdir.scan()
    return srcdir.getScannedChildren()