Home
last modified time | relevance | path

Searched refs:TestReporter (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Dreporter_test.cc36 TEST(TestReporter, NoLogging) { in TEST() argument
37 TestReporter test_reporter("b1"); in TEST()
42 TEST(TestReporter, UsesEnv) { in TEST() argument
43 const char* old_env = std::getenv(TestReporter::kTestReporterEnv); in TEST()
46 setenv(TestReporter::kTestReporterEnv, "/cant/find/me:!", 1); in TEST()
47 CHECK_EQ(string(std::getenv(TestReporter::kTestReporterEnv)), in TEST()
49 TestReporter test_reporter("b1"); in TEST()
54 unsetenv(TestReporter::kTestReporterEnv); in TEST()
55 CHECK_EQ(std::getenv(TestReporter::kTestReporterEnv), nullptr); in TEST()
56 TestReporter test_reporter_empty("b1"); in TEST()
[all …]
Dreporter.cc56 TestReporter::TestReporter(const string& fname, const string& test_name) in TestReporter() function in tensorflow::TestReporter
61 Status TestReporter::Close() { in Close()
72 Status TestReporter::Benchmark(int64_t iters, double cpu_time, double wall_time, in Benchmark()
82 Status TestReporter::SetProperty(const string& name, const string& value) { in SetProperty()
88 Status TestReporter::SetProperty(const string& name, double value) { in SetProperty()
94 Status TestReporter::AddMetric(const string& name, double value) { in AddMetric()
102 Status TestReporter::Initialize() { return report_file_.Initialize(); } in Initialize()
Dreporter.h80 class TestReporter {
85 explicit TestReporter(const string& test_name) in TestReporter() function
86 : TestReporter(GetLogEnv(), test_name) {} in TestReporter()
89 TestReporter(const string& fname, const string& test_name);
118 ~TestReporter() { Close().IgnoreError(); } // Autoclose in destructor. in ~TestReporter()
127 TF_DISALLOW_COPY_AND_ASSIGN(TestReporter);
/external/libcxx/utils/google-benchmark/test/
Dfilter_test.cc15 class TestReporter : public benchmark::ConsoleReporter { class
26 TestReporter() : count_(0) {} in TestReporter() function in __anondec09d7b0111::TestReporter
28 virtual ~TestReporter() {} in ~TestReporter()
76 TestReporter test_reporter; in main()
Dskip_with_error_test.cc11 class TestReporter : public benchmark::ConsoleReporter { class
22 TestReporter() {} in TestReporter() function in __anon11fed0f00111::TestReporter
23 virtual ~TestReporter() {} in ~TestReporter()
175 TestReporter test_reporter; in main()
Dregister_benchmark_test.cc11 class TestReporter : public benchmark::ConsoleReporter { class
136 TestReporter test_reporter; in RunTestOne()
159 TestReporter test_reporter; in RunTestTwo()
Doutput_test_helper.cc132 class TestReporter : public benchmark::BenchmarkReporter { class
134 TestReporter(std::vector<benchmark::BenchmarkReporter*> reps) in TestReporter() function in internal::__anon94eb62650111::TestReporter
409 internal::TestReporter test_rep({&CR, &JR, &CSVR}); in RunOutputTests()
/external/google-benchmark/test/
Dfilter_test.cc15 class TestReporter : public benchmark::ConsoleReporter { class
26 TestReporter() : count_(0) {} in TestReporter() function in __anonbfcdcfc20111::TestReporter
28 virtual ~TestReporter() {} in ~TestReporter()
76 TestReporter test_reporter; in main()
Dskip_with_error_test.cc11 class TestReporter : public benchmark::ConsoleReporter { class
22 TestReporter() {} in TestReporter() function in __anona0f283170111::TestReporter
23 virtual ~TestReporter() {} in ~TestReporter()
181 TestReporter test_reporter; in main()
Dregister_benchmark_test.cc11 class TestReporter : public benchmark::ConsoleReporter { class
136 TestReporter test_reporter; in RunTestOne()
159 TestReporter test_reporter; in RunTestTwo()
Doutput_test_helper.cc137 class TestReporter : public benchmark::BenchmarkReporter { class
139 TestReporter(std::vector<benchmark::BenchmarkReporter*> reps) in TestReporter() function in internal::__anon872e5ecc0111::TestReporter
420 internal::TestReporter test_rep({&CR, &JR, &CSVR}); in RunOutputTests()
/external/tensorflow/tensorflow/tools/benchmark/
Dbenchmark_model.cc229 TestReporter node_reporter(output_prefix, stream.str()); in RecordBenchmarkEntry()