Skip to content

benchmark/include/benchmark.h

Functions

Name
size_t benchmark_get_cycle()

Functions Documentation

function benchmark_get_cycle

size_t benchmark_get_cycle()

Source code

// Copyright 2020 ETH Zurich and University of Bologna.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <snrt.h>
#include <stddef.h>

#include "printf.h"

size_t benchmark_get_cycle();

Updated on 2023-06-19 at 09:43:56 +0000