diff --git a/services/abilitymgr/src/ecological_rule/ability_ecological_rule_mgr_service.cpp b/services/abilitymgr/src/ecological_rule/ability_ecological_rule_mgr_service.cpp index 529ae40104b508d3c22f46a8f29d888d5c283412..b8dd8abaa63704fb32c7e3c6718fc59f8532e4c3 100644 --- a/services/abilitymgr/src/ecological_rule/ability_ecological_rule_mgr_service.cpp +++ b/services/abilitymgr/src/ecological_rule/ability_ecological_rule_mgr_service.cpp @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - +#include #include "ecological_rule/ability_ecological_rule_mgr_service.h" #include "iservice_registry.h" @@ -116,7 +116,7 @@ int32_t AbilityEcologicalRuleMgrServiceClient::EvaluateResolveInfos(const AAFwk: } int32_t res = ecologicalRuleMgrServiceProxy_->EvaluateResolveInfos(want, callerInfo, type, abilityInfos); int64_t cost = GetCurrentTimeMicro() - start; - HILOG_DEBUG("[ERMS-DFX] EvaluateResolveInfos interface cost %{public}lld mirco seconds.", cost); + HILOG_DEBUG("[ERMS-DFX] EvaluateResolveInfos interface cost %{public}" PRId64 " mirco seconds.", cost); return res; } @@ -141,7 +141,7 @@ int32_t AbilityEcologicalRuleMgrServiceClient::QueryStartExperience(const OHOS:: rule.isAllow, rule.sceneCode.c_str(), (*(rule.replaceWant)).ToString().c_str()); } int64_t cost = GetCurrentTimeMicro() - start; - HILOG_DEBUG("[ERMS-DFX] QueryStartExperience interface cost %{public}lld mirco seconds.", cost); + HILOG_DEBUG("[ERMS-DFX] QueryStartExperience interface cost %{public}" PRId64 "mirco seconds.", cost); return res; }