You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
562 B
23 lines
562 B
#ifndef HARDWARE_GOOGLE_PIXEL_POWERSTATS_POWERSTATSUTILS_H
|
|
#define HARDWARE_GOOGLE_PIXEL_POWERSTATS_POWERSTATSUTILS_H
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
namespace android {
|
|
namespace hardware {
|
|
namespace google {
|
|
namespace pixel {
|
|
namespace powerstats {
|
|
namespace utils {
|
|
|
|
bool extractStat(const char *line, const std::string &prefix, uint64_t &stat);
|
|
|
|
} // namespace utils
|
|
} // namespace powerstats
|
|
} // namespace pixel
|
|
} // namespace google
|
|
} // namespace hardware
|
|
} // namespace android
|
|
|
|
#endif // HARDWARE_GOOGLE_PIXEL_POWERSTATS_POWERSTATSUTILS_H
|