HEBench
hebench_report_compiler.h
Go to the documentation of this file.
1 
2 // Copyright (C) 2021 Intel Corporation
3 // SPDX-License-Identifier: Apache-2.0
4 
5 #ifndef _HEBench_ReportCompiler_H_0596d40a3cce4b108a81595c50eb286d
6 #define _HEBench_ReportCompiler_H_0596d40a3cce4b108a81595c50eb286d
7 
8 #include "stddef.h"
9 #include "stdint.h"
10 
11 extern "C"
12 {
13 
14  namespace hebench {
15  namespace ReportGen {
16  namespace Compiler {
17 
22  {
26  const char *input_file;
30  int32_t b_show_overview;
35  int32_t b_silent;
45  char time_unit;
58  };
59 
73  int32_t compile(const ReportCompilerConfigC *p_config, char *s_error, size_t s_error_size);
74 
75  } // namespace Compiler
76  } // namespace ReportGen
77  } // namespace hebench
78 }
79 
80 #endif // defined _HEBench_ReportCompiler_H_0596d40a3cce4b108a81595c50eb286d
char time_unit_overview
Time unit for report overview. If 0, the fallback time_unit will be used.
int32_t b_silent
If non-zero, the run details will be omited. Any warning, error, or important messages are directed t...
const char * input_file
C-string containing the input file name.
char time_unit_stats
Time unit for report statistics. If 0, the fallback time_unit will be used.
int32_t compile(const ReportCompilerConfigC *p_config, char *s_error, size_t s_error_size)
Runs the compiler using the specified configuration.
char time_unit_summary
Time unit for report summaries. If 0, the fallback time_unit will be used.
int32_t b_show_overview
If non-zero, the compiled overview will be output to stdout.
char time_unit
Fallback time unit when no time unit is specified for a specific output.