seL4/include/benchmark/benchmark_utilisation_.h
Anna Lyons 3017f9b72a Move timestamp_t definition to types.h
it was causing circular references in files where it is defined and
hardware macros are also used.
2017-11-28 10:13:49 +11:00

26 lines
695 B
C

/*
* Copyright 2017, Data61
* Commonwealth Scientific and Industrial Research Organisation (CSIRO)
* ABN 41 687 119 230.
*
* This software may be distributed and modified according to the terms of
* the GNU General Public License version 2. Note that NO WARRANTY is provided.
* See "LICENSE_GPLv2.txt" for details.
*
* @TAG(DATA61_GPL)
*/
#ifndef _BENCHMARK_UTILISATION_H
#define _BENCHMARK_UTILISATION_H
#include <config.h>
#include <basic_types.h>
#ifdef CONFIG_BENCHMARK_TRACK_UTILISATION
typedef struct {
timestamp_t schedule_start_time;
uint64_t utilisation;
} benchmark_util_t;
#endif /* CONFIG_BENCHMARK_TRACK_UTILISATION */
#endif /* _BENCHMARK_UTILISATION_H */