2018-07-08 15:38:05 +03:00
|
|
|
/*
|
|
|
|
* This file contains header information for support code that is only used within IOR.
|
|
|
|
* For code shared across benchmarks, see utilities.h
|
|
|
|
*/
|
|
|
|
#ifndef _IOR_INTERNAL_H
|
|
|
|
#define _IOR_INTERNAL_H
|
|
|
|
|
|
|
|
/* Part of ior-output.c */
|
|
|
|
void PrintHeader(int argc, char **argv);
|
2018-07-08 18:47:23 +03:00
|
|
|
void ShowTestStart(IOR_param_t *params);
|
2018-07-08 16:59:54 +03:00
|
|
|
void ShowTestEnd(IOR_test_t *tptr);
|
2018-07-08 15:38:05 +03:00
|
|
|
void ShowSetup(IOR_param_t *params);
|
2018-07-08 18:47:23 +03:00
|
|
|
void PrintRepeatEnd();
|
|
|
|
void PrintRepeatStart();
|
|
|
|
|
2018-07-08 15:38:05 +03:00
|
|
|
void PrintShortSummary(IOR_test_t * test);
|
|
|
|
void PrintLongSummaryAllTests(IOR_test_t *tests_head);
|
|
|
|
void PrintLongSummaryHeader();
|
|
|
|
void PrintLongSummaryOneTest(IOR_test_t *test);
|
|
|
|
void GetTestFileName(char *, IOR_param_t *);
|
|
|
|
void PrintRemoveTiming(double start, double finish, int rep);
|
2019-09-10 21:39:31 +03:00
|
|
|
void PrintReducedResult(IOR_test_t *test, int access, double bw, double iops, double latency,
|
|
|
|
double *diff_subset, double totalTime, int rep);
|
2018-07-08 15:47:55 +03:00
|
|
|
void PrintTestEnds();
|
|
|
|
void PrintTableHeader();
|
2018-07-08 15:38:05 +03:00
|
|
|
/* End of ior-output */
|
|
|
|
|
2020-11-06 13:27:11 +03:00
|
|
|
IOR_offset_t *GetOffsetArrayRandom(IOR_param_t * test, int pretendRank, IOR_offset_t * out_count);
|
2020-05-20 19:46:35 +03:00
|
|
|
|
2018-07-08 15:38:05 +03:00
|
|
|
struct results {
|
|
|
|
double min;
|
|
|
|
double max;
|
|
|
|
double mean;
|
|
|
|
double var;
|
|
|
|
double sd;
|
|
|
|
double sum;
|
|
|
|
double *val;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|