8157437273
* Add missing copyright headers in rocprofiler-systems * Update python-tests * Update causal test --------- Co-authored-by: David Galiffi <David.Galiffi@amd.com>
25 líneas
636 B
C++
25 líneas
636 B
C++
/*************************************************************************
|
|
* Copyright (c) 2016-2022, NVIDIA CORPORATION. All rights reserved.
|
|
* Modifications Copyright (c) 2020-2022 Advanced Micro Devices, Inc. All rights reserved.
|
|
*
|
|
* See LICENSE.txt for license information
|
|
************************************************************************/
|
|
|
|
#ifndef _408319ecdd5b47b28bf8f511c4fdf816
|
|
#define _408319ecdd5b47b28bf8f511c4fdf816
|
|
|
|
#include <cstdint>
|
|
|
|
// Can't include <chrono> because of bug with gcc 10.3.0
|
|
class timer
|
|
{
|
|
std::uint64_t t0;
|
|
|
|
public:
|
|
timer();
|
|
double elapsed() const;
|
|
double reset();
|
|
};
|
|
|
|
#endif
|