Changeset View
Changeset View
Standalone View
Standalone View
src/bench/perf.cpp
// Copyright (c) 2016 The Bitcoin Core developers | // Copyright (c) 2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include "perf.h" | #include <bench/perf.h> | ||||
#if defined(__i386__) || defined(__x86_64__) | #if defined(__i386__) || defined(__x86_64__) | ||||
/* These architectures support querying the cycle counter | /* These architectures support querying the cycle counter | ||||
* from user space, no need for any syscall overhead. | * from user space, no need for any syscall overhead. | ||||
*/ | */ | ||||
void perf_init(void) {} | void perf_init(void) {} | ||||
void perf_fini(void) {} | void perf_fini(void) {} | ||||
Show All 40 Lines |