def METHOD_NAME(self, threads=None, timefile=None, make_opts=None):
    """
    Time the building of the kernel
    """
    os.chdir(self.sourcedir)
    build.make(self.sourcedir, extra_args='clean')
    if self.config_path is None:
        build.make(self.sourcedir, extra_args='defconfig')
    else:
        build.make(self.sourcedir, extra_args='olddefconfig')
    self.kernel_config_fix()
    if make_opts:
        build_string = "yes \"\"|/usr/bin/time -o %s make %s -j %s vmlinux" % (
            timefile, make_opts, threads)
    else:
        build_string = "yes \"\"|/usr/bin/time -o %s make -j %s vmlinux" % (
            timefile, threads)
    process.system(build_string, ignore_status=True, shell=True)
    if not os.path.isfile('vmlinux'):
        self.fail("No vmlinux found, kernel build failed")