parameters: (title, name, base, stats)
docstring: Print the structures for the stat.h file.
docstring_summary: Print the structures for the stat.h file.
docstring_tokens: Print the structures for the stat . h file .
function: def print_struct(title, name, base, stats):
      '''Print the structures for the stat.h file.'''
      f.write('/*\n')
      f.write(' * Statistics entries for ' + title + '.\n')
      f.write(' */\n')
      f.write('#define\tWT_' + name.upper() + '_STATS_BASE\t' + str(base) + '\n')
      f.write('struct __wt_' + name + '_stats {\n')
  
      for l in stats:
          f.write('\tint64_t ' + l.name + ';\n')
      f.write('};\n\n')
function_tokens: def print_struct ( title , name , base , stats ) : f . write ( '/*\n' ) f . write ( ' * Statistics entries for ' + title + '.\n' ) f . write ( ' */\n' ) f . write ( '#define\tWT_' + name . upper ( ) + '_STATS_BASE\t' + str ( base ) + '\n' ) f . write ( 'struct __wt_' + name + '_stats {\n' ) for l in stats : f . write ( '\tint64_t ' + l . name + ';\n' ) f . write ( '};\n\n' )