mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Add system power use tracking skeleton.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#ifndef __TRACYSYSPOWER_HPP__
|
||||
#define __TRACYSYSPOWER_HPP__
|
||||
|
||||
#if defined __linux__
|
||||
# define TRACY_HAS_SYSPOWER
|
||||
#endif
|
||||
|
||||
#ifdef TRACY_HAS_SYSPOWER
|
||||
|
||||
namespace tracy
|
||||
{
|
||||
|
||||
class SysPower
|
||||
{
|
||||
public:
|
||||
SysPower();
|
||||
~SysPower();
|
||||
|
||||
void Tick();
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user