mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-27 00:51:47 +00:00
修改图片格式为jpeg
Signed-off-by: j00383476 <jinhai2@huawei.com>
This commit is contained in:
parent
268ade4151
commit
c9333437ed
@ -79,8 +79,6 @@ enum class CommandType {
|
||||
CT_G,
|
||||
CT_D,
|
||||
CT_F,
|
||||
CT_F1,
|
||||
CT_F2,
|
||||
CT_T,
|
||||
CT_P,
|
||||
CT_R,
|
||||
@ -109,8 +107,6 @@ const std::unordered_map<std::string, CommandType> commandMap = {
|
||||
{ std::string("-c"), CommandType::CT_C },
|
||||
{ std::string("-g"), CommandType::CT_G },
|
||||
{ std::string("-f"), CommandType::CT_F },
|
||||
{ std::string("-f1"), CommandType::CT_F1 },
|
||||
{ std::string("-f2"), CommandType::CT_F1 },
|
||||
{ std::string("-t"), CommandType::CT_T },
|
||||
{ std::string("-p"), CommandType::CT_P },
|
||||
{ std::string("-r"), CommandType::CT_R },
|
||||
@ -135,8 +131,6 @@ const std::unordered_map<CommandType, std::string> COMMAND_MAP_REVERSE = {
|
||||
{ CommandType::CT_C, std::string("-c") },
|
||||
{ CommandType::CT_G, std::string("-g") },
|
||||
{ CommandType::CT_F, std::string("-f") },
|
||||
{ CommandType::CT_F1, std::string("-f1") },
|
||||
{ CommandType::CT_F1, std::string("-f2") },
|
||||
{ CommandType::CT_T, std::string("-t") },
|
||||
{ CommandType::CT_P, std::string("-p") },
|
||||
{ CommandType::CT_R, std::string("-r") },
|
||||
|
@ -137,8 +137,6 @@ SpProfiler *SpProfilerFactory::GetCmdProfilerItem(CommandType commandType, bool
|
||||
profiler = &GPU::GetInstance();
|
||||
break;
|
||||
case CommandType::CT_F:
|
||||
case CommandType::CT_F1:
|
||||
case CommandType::CT_F2:
|
||||
if (cmdFlag) {
|
||||
profiler = &FPS::GetInstance();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user