Home
last modified time | relevance | path

Searched refs:time (Results 601 - 625 of 9560) sorted by relevance

1...<<21222324252627282930>>...383

/base/powermgr/battery_statistics/services/native/src/
H A Dbattery_stats_core.cpp210 void BatteryStatsCore::UpdateStats(StatsUtils::StatsType statsType, int64_t time, int64_t data, int32_t uid) in UpdateStats() argument
213 "Update for duration, statsType: %{public}s, uid: %{public}d, time: %{public}" PRId64 ", " \ in UpdateStats()
215 StatsUtils::ConvertStatsType(statsType).c_str(), uid, time, data); in UpdateStats()
422 int64_t time, int32_t uid) in UpdateTimer()
425 "entity: %{public}s, statsType: %{public}s, time: %{public}" PRId64 ", uid: %{public}d", in UpdateTimer()
428 time, in UpdateTimer()
441 timer->AddRunningTimeMs(time); in UpdateTimer()
570 int64_t time = StatsUtils::DEFAULT_VALUE; in GetTotalTimeMs() local
573 time = screenEntity_->GetActiveTimeMs(statsType, level); in GetTotalTimeMs()
576 time in GetTotalTimeMs()
421 UpdateTimer(std::shared_ptr<BatteryStatsEntity> entity, StatsUtils::StatsType statsType, int64_t time, int32_t uid) UpdateTimer() argument
651 int64_t time = StatsUtils::DEFAULT_VALUE; GetTotalTimeMs() local
[all...]
/base/update/updateservice/services/core/ability/alarm/include/
H A Dalarm_timer_utils.h30 static uint64_t RegisterAlarm(int64_t time, const AlarmTimerCallback &callback);
33 static uint64_t RegisterRepeatAlarm(int64_t time, int64_t repeatTime, const AlarmTimerCallback &callback);
37 static uint64_t RegisterTimer(int64_t time, const std::shared_ptr<MiscServices::ITimerInfo> &timerInfo);
/foundation/resourceschedule/work_scheduler/services/native/src/conditions/
H A Dtimer_listener.cpp50 uint32_t time = workQueueManager_->GetTimeCycle(); in Start() local
51 WS_HILOGI("TimerListener start with time = %{public}u.", time); in Start()
52 handler_->SendEvent(AppExecFwk::InnerEvent::Get(WorkQueueEventHandler::TIMER_TICK, 0), time); in Start() local
/foundation/communication/dsoftbus/core/common/dfx/hidumper_adapter/include/
H A Dsoftbus_hidumper_util.h40 char time[SOFTBUS_ALARM_TIME_LEN]; member
74 int32_t SoftBusQueryStatsInfo(int time, SoftBusStatsResult* result);
76 int32_t SoftBusQueryAlarmInfo(int time, int type, SoftBusAlarmEvtResult* result);
/kernel/linux/linux-6.6/arch/powerpc/kernel/vdso/
H A Dvgettimeofday.c5 #include <linux/time.h>
46 __kernel_old_time_t __c_kernel_time(__kernel_old_time_t *time, const struct vdso_data *vd) in __c_kernel_time() argument
48 return __cvdso_time_data(vd, time); in __c_kernel_time()
/kernel/liteos_m/testsuites/unittest/xts/time/
H A Dalarm_test.h37 #include <time.h>
39 #include <sys/time.h>
49 #include <sys/time.h>
/third_party/musl/porting/linux/user/src/time/
H A Dgettimeofday.c16 #include <time.h>
17 #include <sys/time.h>
18 #include <time.h>
/third_party/musl/src/time/
H A Dgettimeofday.c1 #include <time.h>
2 #include <sys/time.h>
6 #include <time.h>
/third_party/skia/third_party/externals/swiftshader/src/Main/
H A DConfig.cpp69 double time = sw::Timer::seconds(); in nextFrame() local
70 double delta = time - fpsTime; in nextFrame()
77 fpsTime = time; in nextFrame()
/base/hiviewdfx/faultloggerd/tools/crash_validator/
H A Dcrash_validator.cpp106 static_cast<uint64_t>(it->time), in PrintEvents()
112 static_cast<uint64_t>(it->time), in PrintEvents()
178 sysEvent->GetParamValue(KEY_HAPPEN_TIME, crashEvent.time); in HandleCppCrashEvent()
205 crashEvent.time = sysEvent->GetTime(); in HandleProcessExitEvent()
232 static_cast<unsigned long long>(crashEvent.time), in HandleProcessExitEvent()
246 uint64_t now = time(nullptr); in CheckOutOfDateEvents()
247 uint64_t eventTime = it->time; in CheckOutOfDateEvents()
262 KEY_HAPPEN_TIME, it->time); in CheckOutOfDateEvents()
/foundation/multimodalinput/input/util/common/include/
H A Dstruct_multimodal.h238 int64_t time; member
302 int64_t time {};
321 int64_t time {};
336 int64_t time {};
381 int64_t time {};
394 int64_t time {};
422 int64_t time {};
475 int64_t time {};
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dcpufreq_stats.c31 unsigned long long time) in cpufreq_stats_update()
35 stats->time_in_state[stats->last_index] += cur_time - time; in cpufreq_stats_update()
48 /* Adjust for the time elapsed since reset was requested */ in cpufreq_stats_reset_table()
73 unsigned long long time; in show_time_in_state() local
85 time = get_jiffies_64() - READ_ONCE(stats->reset_time); in show_time_in_state()
87 time = 0; in show_time_in_state()
90 time = stats->time_in_state[i]; in show_time_in_state()
92 time += get_jiffies_64() - stats->last_time; in show_time_in_state()
96 jiffies_64_to_clock_t(time)); in show_time_in_state()
30 cpufreq_stats_update(struct cpufreq_stats *stats, unsigned long long time) cpufreq_stats_update() argument
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_usb_core.c124 u64 time; in mt76x02u_start_pre_tbtt_timer() local
136 time = (tbtt - PRE_TBTT_USEC) * 1000ull; in mt76x02u_start_pre_tbtt_timer()
137 hrtimer_start(&dev->pre_tbtt_timer, time, HRTIMER_MODE_REL); in mt76x02u_start_pre_tbtt_timer()
143 u64 tsf, time; in mt76x02u_restart_pre_tbtt_timer() local
155 time = ((1000000000ull * dev->mt76.beacon_int) >> 10); in mt76x02u_restart_pre_tbtt_timer()
157 /* Adjust time to trigger hrtimer 8ms before TBTT */ in mt76x02u_restart_pre_tbtt_timer()
159 time -= (PRE_TBTT_USEC - tbtt) * 1000ull; in mt76x02u_restart_pre_tbtt_timer()
161 time += (tbtt - PRE_TBTT_USEC) * 1000ull; in mt76x02u_restart_pre_tbtt_timer()
163 hrtimer_start(&dev->pre_tbtt_timer, time, HRTIMER_MODE_REL); in mt76x02u_restart_pre_tbtt_timer()
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-vr41xx.c113 static int vr41xx_rtc_read_time(struct device *dev, struct rtc_time *time) in vr41xx_rtc_read_time() argument
120 rtc_time64_to_tm(epoch_sec + elapsed_sec, time); in vr41xx_rtc_read_time()
125 static int vr41xx_rtc_set_time(struct device *dev, struct rtc_time *time) in vr41xx_rtc_set_time() argument
130 current_sec = rtc_tm_to_time64(time); in vr41xx_rtc_set_time()
140 struct rtc_time *time = &wkalrm->time; in vr41xx_rtc_read_alarm() local
151 rtc_time64_to_tm((high << 17) | (mid << 1) | (low >> 15), time); in vr41xx_rtc_read_alarm()
160 alarm_sec = rtc_tm_to_time64(&wkalrm->time); in vr41xx_rtc_set_alarm()
/kernel/linux/linux-5.10/fs/fat/
H A Dmisc.c171 * time: 0 - 4: sec (0 - 29) 2sec counts
172 * time: 5 - 10: min (0 - 59)
173 * time: 11 - 15: hour (0 - 23)
197 /* Convert a FAT time/date pair to a UNIX date (seconds since 1 1 70). */
201 u16 time = le16_to_cpu(__time), date = le16_to_cpu(__date); in fat_time_fat2unix() local
215 second = (time & 0x1f) << 1; in fat_time_fat2unix()
216 second += ((time >> 5) & 0x3f) * SECS_PER_MIN; in fat_time_fat2unix()
217 second += (time >> 11) * SECS_PER_HOUR; in fat_time_fat2unix()
233 /* Convert linear UNIX date to a FAT time/date pair. */
235 __le16 *time, __le1 in fat_time_unix2fat()
234 fat_time_unix2fat(struct msdos_sb_info *sbi, struct timespec64 *ts, __le16 *time, __le16 *date, u8 *time_cs) fat_time_unix2fat() argument
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A Dring_buffer_benchmark.c21 /* run time and sleep time in seconds */
233 unsigned long long time; in ring_buffer_producer() local
274 * cond_resched and also add any time that was lost by a in ring_buffer_producer()
297 time = ktime_us_delta(end_time, start_time); in ring_buffer_producer()
325 trace_printk("Time: %lld (usecs)\n", time); in ring_buffer_producer()
337 /* Convert time from usecs to millisecs */ in ring_buffer_producer()
338 do_div(time, USEC_PER_MSEC); in ring_buffer_producer()
339 if (time) in ring_buffer_producer()
340 hit /= (long)time; in ring_buffer_producer()
[all...]
/kernel/linux/linux-6.6/fs/fat/
H A Dmisc.c177 * time: 0 - 4: sec (0 - 29) 2sec counts
178 * time: 5 - 10: min (0 - 59)
179 * time: 11 - 15: hour (0 - 23)
203 /* Convert a FAT time/date pair to a UNIX date (seconds since 1 1 70). */
207 u16 time = le16_to_cpu(__time), date = le16_to_cpu(__date); in fat_time_fat2unix() local
221 second = (time & 0x1f) << 1; in fat_time_fat2unix()
222 second += ((time >> 5) & 0x3f) * SECS_PER_MIN; in fat_time_fat2unix()
223 second += (time >> 11) * SECS_PER_HOUR; in fat_time_fat2unix()
242 /* Convert linear UNIX date to a FAT time/date pair. */
244 __le16 *time, __le1 in fat_time_unix2fat()
243 fat_time_unix2fat(struct msdos_sb_info *sbi, struct timespec64 *ts, __le16 *time, __le16 *date, u8 *time_cs) fat_time_unix2fat() argument
[all...]
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dcpufreq_stats.c31 unsigned long long time) in cpufreq_stats_update()
35 stats->time_in_state[stats->last_index] += cur_time - time; in cpufreq_stats_update()
48 /* Adjust for the time elapsed since reset was requested */ in cpufreq_stats_reset_table()
73 unsigned long long time; in show_time_in_state() local
85 time = local_clock() - READ_ONCE(stats->reset_time); in show_time_in_state()
87 time = 0; in show_time_in_state()
90 time = stats->time_in_state[i]; in show_time_in_state()
92 time += local_clock() - stats->last_time; in show_time_in_state()
96 nsec_to_clock_t(time)); in show_time_in_state()
30 cpufreq_stats_update(struct cpufreq_stats *stats, unsigned long long time) cpufreq_stats_update() argument
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_usb_core.c130 u64 time; in mt76x02u_start_pre_tbtt_timer() local
142 time = (tbtt - PRE_TBTT_USEC) * 1000ull; in mt76x02u_start_pre_tbtt_timer()
143 hrtimer_start(&dev->pre_tbtt_timer, time, HRTIMER_MODE_REL); in mt76x02u_start_pre_tbtt_timer()
149 u64 tsf, time; in mt76x02u_restart_pre_tbtt_timer() local
161 time = ((1000000000ull * dev->mt76.beacon_int) >> 10); in mt76x02u_restart_pre_tbtt_timer()
163 /* Adjust time to trigger hrtimer 8ms before TBTT */ in mt76x02u_restart_pre_tbtt_timer()
165 time -= (PRE_TBTT_USEC - tbtt) * 1000ull; in mt76x02u_restart_pre_tbtt_timer()
167 time += (tbtt - PRE_TBTT_USEC) * 1000ull; in mt76x02u_restart_pre_tbtt_timer()
169 hrtimer_start(&dev->pre_tbtt_timer, time, HRTIMER_MODE_REL); in mt76x02u_restart_pre_tbtt_timer()
/kernel/linux/linux-6.6/kernel/trace/
H A Dring_buffer_benchmark.c21 /* run time and sleep time in seconds */
233 unsigned long long time; in ring_buffer_producer() local
274 * cond_resched and also add any time that was lost by a in ring_buffer_producer()
297 time = ktime_us_delta(end_time, start_time); in ring_buffer_producer()
325 trace_printk("Time: %lld (usecs)\n", time); in ring_buffer_producer()
337 /* Convert time from usecs to millisecs */ in ring_buffer_producer()
338 do_div(time, USEC_PER_MSEC); in ring_buffer_producer()
339 if (time) in ring_buffer_producer()
340 hit /= (long)time; in ring_buffer_producer()
[all...]
/third_party/alsa-lib/test/
H A Dseq-sender.c111 snd_seq_addr_t *dest, int *time) in send_event()
121 ev.time.time.tv_sec = *time; (*time)++; in send_event()
150 int client, port, queue, max, err, v1, v2, time = 0, pcm_flag = 0; in event_sender() local
227 send_event(handle, queue, client, port, &addr, &time); in event_sender()
266 send_event(handle, queue, client, port, &addr, &time); in event_sender()
110 send_event(snd_seq_t *handle, int queue, int client, int port, snd_seq_addr_t *dest, int *time) send_event() argument
/third_party/libinput/tools/
H A Dlibinput-replay.py28 import time namespace
83 # give udev some time to catch up
84 time.sleep(0.2)
201 offset = time.time() - device["__first_event_offset"]
204 error("WARNING: event time offset is in the future, refusing to replay")
208 # the time offset once per event
220 now = time.time()
223 time
[all...]
/foundation/arkui/ace_engine/frameworks/base/perfmonitor/
H A Dperf_monitor.cpp177 int64_t time) in InitRecord()
183 inputTime = time; in InitRecord()
328 void PerfMonitor::RecordInputEvent(PerfActionType type, PerfSourceType sourceType, int64_t time) in RecordInputEvent() argument
331 if (time <= 0) { in RecordInputEvent()
332 time = GetCurrentRealTimeNs(); in RecordInputEvent()
337 ACE_SCOPED_TRACE("RecordInputEvent: last_down=%lld(ns)", static_cast<long long>(time)); in RecordInputEvent()
338 mInputTime[LAST_DOWN] = time; in RecordInputEvent()
343 ACE_SCOPED_TRACE("RecordInputEvent: last_up=%lld(ns)", static_cast<long long>(time)); in RecordInputEvent()
344 mInputTime[LAST_UP] = time; in RecordInputEvent()
350 ACE_SCOPED_TRACE("RecordInputEvent: first_move=%lld(ns)", static_cast<long long>(time)); in RecordInputEvent()
176 InitRecord(const std::string& sId, PerfActionType aType, PerfSourceType sType, const std::string& nt, int64_t time) InitRecord() argument
545 IsExceptResponseTime(int64_t time, const std::string& sceneId) IsExceptResponseTime() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler.h43 #define RS_PROFILER_PATCH_TIME(time) time = RSProfiler::PatchTime(time)
44 #define RS_PROFILER_PATCH_TRANSACTION_TIME(parcel, time) time = RSProfiler::PatchTransactionTime(parcel, time)
59 #define RS_PROFILER_ANIME_SET_START_TIME(id, time) RSProfiler::AnimeSetStartTime(id, time)
77 #define RS_PROFILER_PATCH_TIME(time)
78 #define RS_PROFILER_PATCH_TRANSACTION_TIME(parcel, time)
[all...]
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-rv8803.c369 alrm->time.tm_sec = 0; in rv8803_get_alarm()
370 alrm->time.tm_min = bcd2bin(alarmvals[0]); in rv8803_get_alarm()
371 alrm->time.tm_hour = bcd2bin(alarmvals[1]); in rv8803_get_alarm()
372 alrm->time.tm_mday = bcd2bin(alarmvals[2]); in rv8803_get_alarm()
377 if ((unsigned int)alrm->time.tm_mday > 31 || in rv8803_get_alarm()
378 (unsigned int)alrm->time.tm_hour >= 24 || in rv8803_get_alarm()
379 (unsigned int)alrm->time.tm_min >= 60) in rv8803_get_alarm()
398 if (alrm->time.tm_sec) { in rv8803_set_alarm()
399 time64_t alarm_time = rtc_tm_to_time64(&alrm->time); in rv8803_set_alarm()
401 alarm_time += 60 - alrm->time in rv8803_set_alarm()
[all...]

Completed in 15 milliseconds

1...<<21222324252627282930>>...383