benchmarks: fix #include issue in benchmark_tools.h
This commit is contained in:
parent
38bfdb6e72
commit
151948846a
@ -261,7 +261,8 @@ static size_t find_maxlen_cmp_result_ratio(
|
|||||||
return max_len;
|
return max_len;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void update_benchmark_cmp_result_ratio(struct benchmark_cmp_result* result)
|
static void update_benchmark_cmp_result_ratio(
|
||||||
|
struct benchmark_cmp_result* result)
|
||||||
{
|
{
|
||||||
if (result->has_func1_exec_time && result->has_func2_exec_time) {
|
if (result->has_func1_exec_time && result->has_func2_exec_time) {
|
||||||
if (result->func2_exec_time_ms > 0) {
|
if (result->func2_exec_time_ms > 0) {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#ifndef BENCHMARK_TOOLS_H
|
#ifndef BENCHMARK_TOOLS_H
|
||||||
#define BENCHMARK_TOOLS_H
|
#define BENCHMARK_TOOLS_H
|
||||||
|
|
||||||
#include <gmio_core/global.h>
|
#include "../../src/gmio_core/global.h"
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
GMIO_C_LINKAGE_BEGIN
|
GMIO_C_LINKAGE_BEGIN
|
||||||
|
Loading…
Reference in New Issue
Block a user