<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write(self, fb):
 """Write a single function benchmark. Args: fb (FunctionBenchmark):
 FunctionBenchmark class instance. Before passing to this, you should call ``fb.benchmark()``. """

        print('[{}.{}]'.format(fb.module, fb.func.__name__), file=self.file)
        print('class = {}'.format(fb.func_ins.name), file=self.file)
        print('inspecs = {}'.format(repr(fb.inspecs)), file=self.file)
        print('func_args = {}'.format(repr(fb.func_args)), file=self.file)
        print('func_kwargs = {}'.format(repr(fb.func_kwargs)), file=self.file)
        print('ext = ({}, {})'.format(
            repr(fb.ext), repr(fb.ext_kwargs)), file=self.file)
        if self.setup_stat is not None:
            self._write_a_stat('setup', self.setup_stat)
        if self.foward_stat is not None:
            self._write_a_stat('forward', self.forward_stat)
        if self.backward_stat is not None:
            self._write_a_stat('backward', self.backward_stat)