mbox series

[XTF,benchmark,v1,0/4] XTF: add micro benchmarks

Message ID 20200323133701.21728-1-nmanthey@amazon.de (mailing list archive)
Headers show
Series XTF: add micro benchmarks | expand

Message

Norbert Manthey March 23, 2020, 1:36 p.m. UTC
Dear all,

I added a benchmark category to XTF, and added functions to measure time in the
guest. Finally, I added a first micro benchmark that measures the time to call a
specified hypercall, and print the average time the hypercall takes.

The added category should be useful to implement further micro benchmarks. I
already implemented a few more that I will publish once the environment is
agreed on.

Best,
Norbert

Norbert Manthey (4):
  categories: add benchmark
  time: add stubs
  time: provide measurement template
  perf: measure MMUEXT_MARK_SUPER test

 build/common.mk                               |   2 +-
 build/files.mk                                |   1 +
 common/time.c                                 | 279 ++++++++++++++++++
 include/xtf/time.h                            |  81 +++++
 tests/perf-PV-MMUEXT_MARK_SUPER-noop/Makefile |   9 +
 tests/perf-PV-MMUEXT_MARK_SUPER-noop/main.c   |  80 +++++
 xtf-runner                                    |   2 +-
 7 files changed, 452 insertions(+), 2 deletions(-)
 create mode 100644 common/time.c
 create mode 100644 include/xtf/time.h
 create mode 100644 tests/perf-PV-MMUEXT_MARK_SUPER-noop/Makefile
 create mode 100644 tests/perf-PV-MMUEXT_MARK_SUPER-noop/main.c