|
|
#define | MIRML_MEMBENCH_BANDWIDTH_MAXTEST 15 |
| |
|
|
typedef struct mirml_membw_ctx_t_ | mirml_membw_ctx_t |
| | Context for memory bandwidth benchmarking.
|
| |
|
typedef struct mirml_memlat_ctx_t_ | mirml_memlat_ctx_t |
| | Context for memory latency benchmarking.
|
| |
Memory benchmarking. The basic idea and implementation from https://github.com/ssvb/tinymembench
◆ mirml_membench_bandwidth()
Function for the determination of memory bandwidth.
- Parameters
-
| [in] | test_number | Test number, valid values are in the range [1,MIRML_MEMBENCH_BANDWIDTH_MAXTEST] |
| [in,out] | ctx | Context. Can be used for fine tuning of testing by setting respective parameters. On output contains results. |
- Note
- On input set the required fields of context structure to zero for using default settings.
◆ mirml_membench_latency()
Function for the determination of memory latency.
- Parameters
-
| [in] | buf_size | Size of the test buffer in bytes. |
| [in,out] | ctx | Context. Can be used for fine tuning of testing by setting respective parameters. On output contains results. |
- Note
- On input set the required fields of context structure to zero for using default settings.