2014-07-04 16:17:05 -04:00
|
|
|
//
|
|
|
|
|
// Copyright (c) 2008 Advanced Micro Devices, Inc. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#ifndef COUNTERS_HPP_
|
|
|
|
|
#define COUNTERS_HPP_
|
|
|
|
|
|
|
|
|
|
#include "top.hpp"
|
|
|
|
|
|
|
|
|
|
namespace amd {
|
|
|
|
|
|
|
|
|
|
/*! \addtogroup Runtime
|
|
|
|
|
* @{
|
|
|
|
|
*
|
|
|
|
|
* \addtogroup Devicecounter
|
|
|
|
|
* @{
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*! \class Counter
|
|
|
|
|
*
|
|
|
|
|
* \brief The container class for the performance counters
|
|
|
|
|
*/
|
2017-04-13 13:56:38 -04:00
|
|
|
class Counter : public RuntimeObject {
|
|
|
|
|
public:
|
|
|
|
|
//! RTTI internal implementation
|
|
|
|
|
virtual ObjectType objectType() const { return ObjectTypeCounter; }
|
2014-07-04 16:17:05 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/*@}*/
|
|
|
|
|
/*@}*/ } // namespace amd
|
|
|
|
|
|
2017-04-13 13:56:38 -04:00
|
|
|
#endif // COUNTERS_HPP_
|