kodi
xbmc
platform
darwin
ios-common
CPUInfoDarwinEmbed.h
1
/*
2
* Copyright (C) 2005-2018 Team Kodi
3
* This file is part of Kodi - https://kodi.tv
4
*
5
* SPDX-License-Identifier: GPL-2.0-or-later
6
* See LICENSES/README.md for more information.
7
*/
8
9
#pragma once
10
11
#include "utils/Temperature.h"
12
13
#include "platform/posix/CPUInfoPosix.h"
14
15
#include <memory>
16
17
class
CPosixResourceCounter
;
18
19
class
CCPUInfoDarwinEmbed
:
public
CCPUInfoPosix
20
{
21
public
:
22
CCPUInfoDarwinEmbed
();
23
~
CCPUInfoDarwinEmbed
() =
default
;
24
25
int
GetUsedPercentage()
override
;
26
float
GetCPUFrequency()
override
;
27
28
private
:
29
std::unique_ptr<CPosixResourceCounter> m_resourceCounter;
30
};
CPosixResourceCounter
Definition:
PosixResourceCounter.h:17
CCPUInfoDarwinEmbed
Definition:
CPUInfoDarwinEmbed.h:19
CCPUInfoPosix
Definition:
CPUInfoPosix.h:13
Generated by
1.8.13