Lines Matching defs:ThermalDfx
65 std::shared_ptr<ThermalDfx> ThermalDfx::instance_ = nullptr;
66 std::mutex ThermalDfx::mutexInstance_;
68 ThermalDfx& ThermalDfx::GetInstance()
72 instance_ = std::make_shared<ThermalDfx>();
77 void ThermalDfx::DestroyInstance()
115 ThermalDfx::ThermalDfx() :
120 ThermalDfx::~ThermalDfx()
125 std::string ThermalDfx::GetFileNameIndex(const uint32_t index)
133 std::string ThermalDfx::CanonicalizeSpecPath(const char* src)
162 bool ThermalDfx::Compress(const std::string& dataFile, const std::string& destFile)
201 void ThermalDfx::CompressFile()
254 bool ThermalDfx::PrepareWriteDfxLog()
268 void ThermalDfx::CreateLogFile()
304 void ThermalDfx::ProcessLogInfo(std::string& logFile, bool isEmpty)
319 void ThermalDfx::WriteToEmptyFile(std::ofstream& wStream, std::string& currentTime)
341 void ThermalDfx::WriteToFile(std::ofstream& wStream, std::string& currentTime)
364 void ThermalDfx::InfoChangedCallback(const char* key, const char* value, void* context)
373 auto& thermalDfx = ThermalDfx::GetInstance();
385 void ThermalDfx::WidthWatchCallback(const std::string& value)
391 void ThermalDfx::IntervalWatchCallback(const std::string& value)
397 void ThermalDfx::EnableWatchCallback(const std::string& value)
402 int32_t ThermalDfx::GetIntParameter(const std::string& key, const int32_t def, const int32_t minValue)
408 bool ThermalDfx::GetBoolParameter(const std::string& key, const bool def)
417 uint32_t ThermalDfx::GetInterval()
422 void ThermalDfx::DoWork()
430 void ThermalDfx::Init()