class_docstr: Run suites from a CMakeBuild. 
docstr: Returns the resulting benchmarks for a given suite. 
docstr_tok: ["Returns","the","resulting","benchmarks","for","a","given","suite","."]
code: def suite(self, name, suite_bin):
      """Returns the resulting benchmarks for a given suite."""
      suite_cmd = GoogleBenchmarkCommand(
          suite_bin, self.benchmark_filter, self.benchmark_extras
      )
  
      # Ensure there will be data
      benchmark_names = suite_cmd.list_benchmarks()
      if not benchmark_names:
          return None
  
      results = suite_cmd.results(
          repetitions=self.repetitions,
          repetition_min_time=self.repetition_min_time,
      )
      benchmarks = GoogleBenchmark.from_json(results.get("benchmarks"))
      return BenchmarkSuite(name, benchmarks)
  
imports: import glob
  import json
  import os
  import re
  from .core import BenchmarkSuite
  from .google import GoogleBenchmarkCommand, GoogleBenchmark
  from .jmh import JavaMicrobenchmarkHarnessCommand, JavaMicrobenchmarkHarness
  from ..lang.cpp import CppCMakeDefinition, CppConfiguration
  from ..lang.java import JavaMavenDefinition, JavaConfiguration
  from ..utils.cmake import CMakeBuild
  from ..utils.maven import MavenBuild
  from ..utils.logger import logger
label_desc: Use image node_id 4 for calling the CppBenchmarkRunner obj's underlying member method code with example usage: obj.suite(name, suite_bin) and returns: BenchmarkSuite, None