seL4/include/benchmark/benchmark_utilisation_.h
2017-02-21 16:38:51 +11:00

26 lines
698 B
C

/*
* Copyright 2016, 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 <arch/benchmark.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 */