genode/repos/os/include/spec/riscv/trace/timestamp.h
Sebastian Sumpf c3cf7f3c3a riscv: ISA-1.9.1 and GCC-6.3.0 adaptions
Adds 1.9.1 support to base-hw

Note:
* the kernel timer is not working
* dynamic linking is currently not supported
2017-05-31 13:16:24 +02:00

32 lines
643 B
C++

/*
* \brief Trace timestamp
* \author Sebastian Sumpf
* \date 2017-05-26
*
* Serialized reading of performance counter on ARM.
*/
/*
* Copyright (C) 2017 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU Affero General Public License version 3.
*/
#ifndef _INCLUDE__SPEC__RISCV__TRACE__TIMESTAMP_H_
#define _INCLUDE__SPEC__RISCV__TRACE__TIMESTAMP_H_
#include <base/fixed_stdint.h>
namespace Genode { namespace Trace {
typedef uint32_t Timestamp;
inline Timestamp timestamp()
{
return 0;
}
} }
#endif /* _INCLUDE__SPEC__RISCV__TRACE__TIMESTAMP_H_ */