| /base/hiviewdfx/hiview/plugins/eventlogger/config/ |
| D | event_logger_config | 2 event id="" name="UI_BLOCK_6S" action="s,t,cmd:c,cmd:cci,cmd:m,tr,k:SysRqFile,hot" interval="10" 3 event id="" name="UI_BLOCK_3S" action="s,ffrt,pb:1:r,t,cmd:m,hot" interval="10" 4 … name="THREAD_BLOCK_6S" action="t,cmd:c,cmd:cci,cmd:m,cmd:dam,tr,k:SysRqFile,hot,sli" interval="10" 5 event id="" name="THREAD_BLOCK_3S" action="ffrt,t,GpuStack,cmd:m,hot" interval="10" 6 …"BUSSINESS_THREAD_BLOCK_6S" action="t,cmd:c,cmd:cci,cmd:m,cmd:dam,tr,k:SysRqFile,hot" interval="10" 7 event id="" name="BUSSINESS_THREAD_BLOCK_3S" action="ffrt,pb:1:r,t,cmd:m,hot" interval="10" 8 …ame="LIFECYCLE_TIMEOUT" action="t,cmd:c,cmd:cci,cmd:m,cmd:dam,tr,k:SysRqFile,hot,sli" interval="10" 9 event id="" name="LIFECYCLE_HALF_TIMEOUT" action="ffrt,t,cmd:m,hot" interval="10" 10 …me="LIFECYCLE_TIMEOUT_WARNING" action="t,cmd:c,cmd:cci,cmd:m,cmd:dam,k:SysRqFile,hot" interval="10" 11 event id="" name="LIFECYCLE_HALF_TIMEOUT_WARNING" action="ffrt,t,cmd:m,hot" interval="10" [all …]
|
| D | event_logger_config.cpp | 102 … "event id=\"([0-9xX]*)\"\\s*name=\"([A-Z0-9_]+)\"\\s*action=\"(.*)\"\\s*interval=\"([0-9]*)\".*"); in ParseConfigData() 121 tmpConfigDate.interval = 0; in ParseConfigData() 123 tmpConfigDate.interval = std::stoi(intervalString); in ParseConfigData() 147 configOut.interval = configDate.interval; in FindConfigLine() 149 …LOGI("configDate-> id: 0x%{public}x, name: %{public}s, action: %{public}s, interval: %{public}d\n", in FindConfigLine() 150 configOut.id, configOut.name.c_str(), configOut.action.c_str(), configOut.interval); in FindConfigLine()
|
| /base/hiviewdfx/hiview/test/resource/base/ |
| D | event_logger_config | 2 event id="" name="UI_BLOCK_3S" action="s,b,pb:1" interval="20" 3 event id="" name="UI_BLOCK_6S" action="s,B,pb:0" interval="10" 4 event id="" name="FWK_BLOCK" action="b,s=1,n=2,pb:0" interval="30" 5 event id="" name="XCOLLIE" action="b,s" interval="0" 6 event id="" name="RESUME" action="s" interval="0" 7 event id="" name="RESUME01" action="b,s=123,n=cb2,pb:0" interval="40" 8 event id="" name="RESUME02 " action="b,s=1456,n=pdc,pb:0" interval="30" 9 event id="" name="RESUME03" action="b,s=332,m=sd:2.2.10;tr56,pb:0" interval="87" 10 event id="" name="RESUME04" action="b,s=42,n=a,pb:0" interval="a16" 11 event id="0x123" name="RESUME05" action="b,s=1456,n=pdc,pb:0"interval="31" qwead
|
| /base/startup/init/watchdog/ |
| D | init_watchdog.c | 59 int GetWatcherDogCfg(int interval, int timeoutGet, int fd) in GetWatcherDogCfg() argument 75 if (preTimeoutGet > 0 && preTimeoutGet < interval) { in GetWatcherDogCfg() 76 interval = preTimeoutGet / PRETIMEOUT_DIV; in GetWatcherDogCfg() 78 return interval; in GetWatcherDogCfg() 92 int interval = 0; in main() local 94 interval = atoi(argv[1]); in main() 95 if (interval < 0 || interval > INT16_MAX) { in main() 96 interval = DEFAULT_INTERVAL; in main() 99 interval = (interval > 0) ? interval : DEFAULT_INTERVAL; in main() 107 INIT_LOGI("Watchdog started (interval %d, margin %d), fd = %d\n", interval, gap, fd); in main() [all …]
|
| /base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/ |
| D | thread_sampler_test.cpp | 31 constexpr int INTERVAL = 100; variable 62 int32_t left = (INTERVAL * SAMPLE_CNT + INTERVAL) / MILLSEC_TO_MICROSEC + waitDelay; in WaitSomeTime() 67 sleep((INTERVAL * SAMPLE_CNT + INTERVAL) / MILLSEC_TO_MICROSEC + waitDelay); in WaitSomeTime() 188 printf("Total:%dMS Sample:%dMS \n", INTERVAL * SAMPLE_CNT + INTERVAL, INTERVAL); 206 uint64_t delay = INTERVAL * i + INTERVAL; 209 …GetInstance().RunOneShotTask("CollectStackTest", collectHandler, INTERVAL * SAMPLE_CNT + INTERVAL); 233 printf("Total:%dMS Sample:%dMS \n", INTERVAL * SAMPLE_CNT + INTERVAL, INTERVAL); 251 uint64_t delay = INTERVAL * i + INTERVAL; 254 …GetInstance().RunOneShotTask("CollectStackTest", collectHandler, INTERVAL * SAMPLE_CNT + INTERVAL); 278 printf("Total:%dMS Sample:%dMS \n", INTERVAL * SAMPLE_CNT + INTERVAL, INTERVAL); [all …]
|
| D | watchdog_task_test.cpp | 144 uint64_t interval = 5000; variable 146 WatchdogTask task(name, taskFunc, delay, interval, isOneshot); 164 uint64_t interval = 10000; variable 166 WatchdogTask task(name, taskFunc, delay, interval, isOneshot); 184 uint64_t interval = 3000; variable 186 WatchdogTask task(name, taskFunc, delay, interval, isOneshot); 204 uint64_t interval = 3000; variable 206 WatchdogTask task(name, taskFunc, delay, interval, isOneshot); 224 uint64_t interval = 3000; variable 226 WatchdogTask task(name, taskFunc, delay, interval, isOneshot);
|
| D | ipc_full_test.cpp | 50 * @tc.steps: step1. input interval param below the min allowable threshold 57 * @tc.steps: step2. input interval param above the max allowable threshold 64 * @tc.steps: step3. input valid interval param
|
| /base/telephony/core_service/test/mock/ffrt/inner_api/cpp/ |
| D | deadline.h | 21 using interval = ffrt_interval_t; variable 23 static inline interval qos_interval_create(uint64_t deadline_us, qos qos_ = static_cast<int>(qos_de… 28 static inline void qos_interval_destroy(interval it) in qos_interval_destroy() 31 static inline int qos_interval_begin(interval it) in qos_interval_begin() 36 static inline int qos_interval_update(interval it, uint64_t new_deadline_us) in qos_interval_update() 41 static inline int qos_interval_end(interval it) in qos_interval_end() 46 static inline int qos_interval_join(interval it) in qos_interval_join() 51 static inline int qos_interval_leave(interval it) in qos_interval_leave()
|
| /base/hiviewdfx/hicollie/interfaces/native/innerkits/include/xcollie/ |
| D | watchdog.h | 41 * Add handler to watchdog thread with customized check interval 46 * @param interval, the period in millisecond 51 TimeOutCallback timeOutCallback = nullptr, uint64_t interval = WATCHDOG_TIMEVAL); 54 * Add handler to watchdog thread with customized check interval 58 * @param interval, the period in millisecond 62 …ad(const std::string &name, std::shared_ptr<AppExecFwk::EventHandler> handler, uint64_t interval); 79 * @param interval, the millisecond interval of the periodical task 83 …void RunPeriodicalTask(const std::string& name, Task&& task, uint64_t interval, uint64_t delay = 0… 165 void StartSample(int duration, int interval, std::string& outFile);
|
| /base/hiviewdfx/hicollie/frameworks/native/ |
| D | watchdog.cpp | 31 TimeOutCallback timeOutCallback, uint64_t interval) in AddThread() argument 33 return WatchdogInner::GetInstance().AddThread(name, handler, timeOutCallback, interval); in AddThread() 36 …ead(const std::string &name, std::shared_ptr<AppExecFwk::EventHandler> handler, uint64_t interval) in AddThread() argument 38 return WatchdogInner::GetInstance().AddThread(name, handler, nullptr, interval); in AddThread() 46 void Watchdog::RunPeriodicalTask(const std::string& name, Task&& task, uint64_t interval, uint64_t … in RunPeriodicalTask() argument 48 return WatchdogInner::GetInstance().RunPeriodicalTask(name, std::move(task), interval, delay); in RunPeriodicalTask() 116 void Watchdog::StartSample(int duration, int interval, std::string& outFile) in StartSample() argument 118 WatchdogInner::GetInstance().StartSample(duration, interval, outFile); in StartSample()
|
| D | watchdog_inner.h | 43 …ead(const std::string &name, std::shared_ptr<AppExecFwk::EventHandler> handler, uint64_t interval); 45 TimeOutCallback timeOutCallback, uint64_t interval); 47 void RunPeriodicalTask(const std::string& name, Task&& task, uint64_t interval, uint64_t delay); 51 bool AddIpcFull(uint64_t interval, unsigned int flag, IpcFullCallback func, void *arg); 56 bool IpcCheck(uint64_t interval = IPC_FULL_INTERVAL, unsigned int flag = XCOLLIE_FLAG_DEFAULT, 83 void StartSample(int duration, int interval, std::string& outFile); 114 bool CheckEventTimer(int64_t currentTime, int64_t reportBegin, int64_t reportEnd, int interval); 115 void DumpTraceProfile(int32_t interval);
|
| D | watchdog_task.h | 36 TimeOutCallback timeOutCallback, uint64_t interval); 37 WatchdogTask(uint64_t interval, IpcFullCallback func, void *arg, unsigned int flag); 38 WatchdogTask(std::string name, Task&& task, uint64_t delay, uint64_t interval, bool isOneshot); 81 std::string GetBlockDescription(uint64_t interval);
|
| /base/inputmethod/imf/frameworks/common/ |
| D | block_data.h | 26 … explicit BlockData(uint32_t interval, const T &invalid = T()) : INTERVAL(interval), data_(invalid) in INTERVAL() function 46 cv_.wait_for(lock, std::chrono::milliseconds(INTERVAL), [this]() { return isSet_; }); in GetValue() 62 cv_.wait_for(lock, std::chrono::milliseconds(INTERVAL), [this]() { return isSet_; }); in GetValue() 76 const uint32_t INTERVAL; variable
|
| /base/security/device_security_level/baselib/utils/src/ |
| D | utils_timer.c | 21 TimerHandle DslmUtilsStartPeriodicTimerTask(uint32_t interval, TimerProc callback, const void *cont… in DslmUtilsStartPeriodicTimerTask() argument 24 StartTimerTask(TRUE, interval, callback, context, &handle); in DslmUtilsStartPeriodicTimerTask() 28 TimerHandle DslmUtilsStartOnceTimerTask(uint32_t interval, TimerProc callback, const void *context) in DslmUtilsStartOnceTimerTask() argument 31 StartTimerTask(FALSE, interval, callback, context, &handle); in DslmUtilsStartOnceTimerTask()
|
| D | utils_timer.cpp | 55 TimerHandle DslmUtilsStartPeriodicTimerTask(uint32_t interval, TimerProc callback, const void *cont… in DslmUtilsStartPeriodicTimerTask() argument 58 …merId = st.Register([callback, context]() { DoTimerProcess(callback, context); }, interval, false); in DslmUtilsStartPeriodicTimerTask() 62 TimerHandle DslmUtilsStartOnceTimerTask(uint32_t interval, TimerProc callback, const void *context) in DslmUtilsStartOnceTimerTask() argument 65 …imerId = st.Register([callback, context]() { DoTimerProcess(callback, context); }, interval, true); in DslmUtilsStartOnceTimerTask()
|
| /base/update/updateservice/services/engine/src/ |
| D | update_service_cache.cpp | 83 void UpdateServiceCache::SetCheckInterval(BusinessSubType businessSubType, uint64_t interval) in SetCheckInterval() argument 90 paramCheckInterval_ = interval; in SetCheckInterval() 92 checkInterval_ = interval; in SetCheckInterval() 105 void UpdateServiceCache::SetDownloadInterval(BusinessSubType businessSubType, uint64_t interval) in SetDownloadInterval() argument 112 paramDownloadInterval_ = interval; in SetDownloadInterval() 114 downloadInterval_ = interval; in SetDownloadInterval()
|
| /base/time/time_service/test/fuzztest/timemanager_fuzzer/timetesttimer_fuzzer/ |
| D | timer_info.h | 30 void SetInterval(const uint64_t &interval) override; 47 void TimerInfo::SetInterval(const uint64_t &interval) in SetInterval() argument 49 this->interval = interval; in SetInterval()
|
| /base/time/time_service/services/time/src/ |
| D | simple_timer_info.cpp | 34 interval = _interval; in SimpleTimerInfo() 51 interval = _interval; in SetInterval() 83 if (!parcel.WriteUint64(interval)) { in Marshalling() 84 TIME_HILOGE(TIME_MODULE_CLIENT, "Failed to write interval"); in Marshalling() 105 auto interval = parcel.ReadUint64(); in Unmarshalling() local 116 interval, wantAgent); in Unmarshalling()
|
| /base/powermgr/thermal_manager/application/protector/src/ |
| D | thermal_protector_timer.cpp | 59 int interval = provision_->GetMaxCd(); in CreateProvisionFd() local 60 SetTimerInterval(interval, timerFd_); in CreateProvisionFd() 104 void ThermalProtectorTimer::SetTimerInterval(int32_t interval, int32_t timerfd) in SetTimerInterval() argument 112 timerInterval_ = interval; in SetTimerInterval() 114 if (interval < 0) { in SetTimerInterval() 115 interval = 0; in SetTimerInterval() 118 itval.it_interval.tv_sec = interval / MS_PER_SECOND; in SetTimerInterval() 120 itval.it_value.tv_sec = interval / MS_PER_SECOND; in SetTimerInterval()
|
| /base/update/updateservice/ |
| D | hisysevent.yaml | 17 __BASE: {type: STATISTIC, level: MINOR, desc: system upgrade event interval} 20 INTERVAL: {type: UINT64, desc: event interval}
|
| /base/powermgr/thermal_manager/services/native/src/thermal_action/ |
| D | thermal_timer.cpp | 58 interval = _interval; in SetInterval() 107 void ThermalTimerUtils::Start(int interval, NotifyTask &task) in Start() argument 115 std::thread([this, interval, task]() { in Start() 117 // sleep every interval and do the task again and again until times up in Start() 118 std::this_thread::sleep_for(std::chrono::milliseconds(interval)); in Start()
|
| /base/time/time_service/ |
| D | hisysevent.yaml | 21 INTERVAL: {type: INT32, desc: the interval time} 50 INTERVAL: {type: UINT32, desc: trigger interval}
|
| /base/time/time_service/framework/js/napi/system_timer/src/ |
| D | napi_system_timer.cpp | 94 interval = _interval; in SetInterval() 128 { "interval", napi_number }, 138 { "interval", "number" }, 166 } else if (paraType == "interval") { in ParseTimerOptions() 167 int64_t interval = 0; in ParseTimerOptions() local 168 napi_get_value_int64(env, result, &interval); in ParseTimerOptions() 169 CHECK_ARGS_RETURN_VOID(TIME_MODULE_JS_NAPI, context, interval >= 0, in ParseTimerOptions() 170 "interval number must >= 0.", JsErrorCode::PARAMETER_ERROR); in ParseTimerOptions() 171 iTimerInfoInstance->SetInterval((uint64_t)interval); in ParseTimerOptions() 220 // interval?: number in GetTimerOptions() [all …]
|
| /base/sensors/medical_sensor/interfaces/jsapi/ |
| D | @ohos.medical.d.ts | 29 …* @param options Optional parameters specifying the interval at which medical sensor data is repor… 48 interval?: number; /**< Sensor event reporting event interval */
|
| /base/hiviewdfx/faultloggerd/interfaces/innerkits/stack_printer/include/ |
| D | stack_printer.h | 88 * @param beginTime the begin time of the time interval to filter the sampled stack, default 0. 89 * @param endTime the end time of the time interval to filter sampled stack, default 0. 99 * @param beginTime the begin time of the time interval to filter the sampled stack, default 0. 100 * @param endTime the end time of the time interval to filter sampled stack, default 0. 109 * @param beginTime the begin time of the time interval to filter the sampled stack, default 0. 110 * @param endTime the end time of the time interval to filter sampled stack, default 0.
|