reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

utils/benchmark/src/string_util.h
   15 std::string StrFormat(const char* format, ...);

References

utils/benchmark/src/benchmark_register.cc
  181                   StrFormat("%s:", family->arg_names_[arg_i].c_str());
  185           instance.name += StrFormat("%d", arg);
  190           instance.name += StrFormat("/min_time:%0.3f", family->min_time_);
  192           instance.name += StrFormat("/iterations:%d", family->iterations_);
  194           instance.name += StrFormat("/repeats:%d", family->repetitions_);
  204           instance.name += StrFormat("/threads:%d", instance.threads);
utils/benchmark/src/json_reporter.cc
   35   return StrFormat("\"%s\": \"%s\"", key.c_str(), value.c_str());
   39   return StrFormat("\"%s\": \"%s\"", key.c_str(), value);
   43   return StrFormat("\"%s\": %s", key.c_str(), value ? "true" : "false");