Commit Graph

3 Commits

Author SHA1 Message Date
aarongreen
e596056be5 pw_perf_test: Reogranize source files
This CL moves `internal::Framework`, `internal::TestInfo`, and `State`
out of pw_perf_test.h and into their own separate files.

It also moves performance_test_generic.cc to
examples/example_perf_test.cc.

Finally, it removes perf_test_test.cc as this file created a no-op unit
test.

Change-Id: Id5e984cdf80bb7ed801be1f81ebb8cba8c05b91b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/178914
Reviewed-by: Armando Montanez <amontanez@google.com>
Commit-Queue: Aaron Green <aarongreen@google.com>
2023-11-10 22:56:41 +00:00
Brian Barcenas
35714d4ced pw_perf_test: Added PW_PERF_TEST macro and its supporting components
Change-Id: I7dd3e7a1b5a48b38457647fc3fdbc8dd422f1934
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/118111
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Brian Barcenas <bbarcenas@google.com>
2022-12-03 02:32:03 +00:00
Brian Barcenas
23304eb9d5 pw_perf_test: State object support
Introducing the state object, which manages iterations and timings of
the tests.

Change-Id: I3dca90878681ba816aa15d7ef85b6423a6391140
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/114550
Commit-Queue: Brian Barcenas <bbarcenas@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
2022-11-21 22:28:58 +00:00