Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 25 of 117) sorted by relevance

12345

/device/google/coral/powerstats/
DOsloStateResidencyDataProvider.cpp61 struct iaxxx_sensor_mode_stats stats[SENSOR_NUM_MODE]; in getResults() local
62 err = ioctl(devNode.get(), IAXXX_SENSOR_MODE_STATS, (unsigned long)stats); in getResults()
72 .totalTimeInStateMs = stats[SENSOR_MODE_OFF].totalTimeSpentMs, in getResults()
73 .totalStateEntryCount = stats[SENSOR_MODE_OFF].totalNumEntries, in getResults()
74 .lastEntryTimestampMs = stats[SENSOR_MODE_OFF].lastEntryTimeStampMs}, in getResults()
76 .totalTimeInStateMs = stats[SENSOR_MODE_ENTRANCE].totalTimeSpentMs, in getResults()
77 .totalStateEntryCount = stats[SENSOR_MODE_ENTRANCE].totalNumEntries, in getResults()
78 .lastEntryTimestampMs = stats[SENSOR_MODE_ENTRANCE].lastEntryTimeStampMs}, in getResults()
80 .totalTimeInStateMs = stats[SENSOR_MODE_INTERACTIVE].totalTimeSpentMs, in getResults()
81 .totalStateEntryCount = stats[SENSOR_MODE_INTERACTIVE].totalNumEntries, in getResults()
[all …]
Dandroid.hardware.power.stats@1.0-service.pixel.rc1 service vendor.power.stats-hal-1-0 /vendor/bin/hw/android.hardware.power.stats@1.0-service.pixel
/device/google/sunfish/health/
DHealth.cpp130 DiskStats *stats = &vec_stats[0]; in private_get_disk_stats() local
131 fill_ufs_storage_attribute(&stats->attr); in private_get_disk_stats()
135 stream >> stats->reads >> stats->readMerges >> stats->readSectors >> in private_get_disk_stats()
136 stats->readTicks >> stats->writes >> stats->writeMerges >> in private_get_disk_stats()
137 stats->writeSectors >> stats->writeTicks >> stats->ioInFlight >> in private_get_disk_stats()
138 stats->ioTicks >> stats->ioInQueue; in private_get_disk_stats()
183 std::vector<struct DiskStats> stats; in getDiskStats() local
184 private_get_disk_stats(stats); in getDiskStats()
185 hidl_vec<struct DiskStats> stats_vec(stats); in getDiskStats()
186 if (!stats.size()) { in getDiskStats()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/hotshot/
Dstones.py3 import hotshot.stats
16 stats = hotshot.stats.load(logfile)
17 stats.strip_dirs()
18 stats.sort_stats('time', 'calls')
20 stats.print_stats(20)
/device/google/bonito/health/
DHealthService.cpp144 DiskStats* stats = &vec_stats[0]; in get_disk_stats() local
145 fill_emmc_storage_attribute(&stats->attr); in get_disk_stats()
149 stream >> stats->reads in get_disk_stats()
150 >> stats->readMerges in get_disk_stats()
151 >> stats->readSectors in get_disk_stats()
152 >> stats->readTicks in get_disk_stats()
153 >> stats->writes in get_disk_stats()
154 >> stats->writeMerges in get_disk_stats()
155 >> stats->writeSectors in get_disk_stats()
156 >> stats->writeTicks in get_disk_stats()
[all …]
/device/google/crosshatch/health/
DHealthService.cpp149 DiskStats *stats = &vec_stats[0]; in get_disk_stats() local
150 fill_ufs_storage_attribute(&stats->attr); in get_disk_stats()
154 stream >> stats->reads >> stats->readMerges >> stats->readSectors >> stats->readTicks >> in get_disk_stats()
155 stats->writes >> stats->writeMerges >> stats->writeSectors >> stats->writeTicks >> in get_disk_stats()
156 stats->ioInFlight >> stats->ioTicks >> stats->ioInQueue; in get_disk_stats()
/device/google/redbull/health/
DHealth.cpp151 DiskStats *stats = &vec_stats[0]; in private_get_disk_stats() local
152 fill_ufs_storage_attribute(&stats->attr); in private_get_disk_stats()
156 stream >> stats->reads >> stats->readMerges >> stats->readSectors >> in private_get_disk_stats()
157 stats->readTicks >> stats->writes >> stats->writeMerges >> in private_get_disk_stats()
158 stats->writeSectors >> stats->writeTicks >> stats->ioInFlight >> in private_get_disk_stats()
159 stats->ioTicks >> stats->ioInQueue; in private_get_disk_stats()
204 std::vector<struct DiskStats> stats; in getDiskStats() local
205 private_get_disk_stats(stats); in getDiskStats()
206 hidl_vec<struct DiskStats> stats_vec(stats); in getDiskStats()
207 if (!stats.size()) { in getDiskStats()
/device/google/coral/health/
DHealth.cpp164 DiskStats *stats = &vec_stats[0]; in private_get_disk_stats() local
165 fill_ufs_storage_attribute(&stats->attr); in private_get_disk_stats()
169 stream >> stats->reads >> stats->readMerges >> stats->readSectors >> in private_get_disk_stats()
170 stats->readTicks >> stats->writes >> stats->writeMerges >> in private_get_disk_stats()
171 stats->writeSectors >> stats->writeTicks >> stats->ioInFlight >> in private_get_disk_stats()
172 stats->ioTicks >> stats->ioInQueue; in private_get_disk_stats()
217 std::vector<struct DiskStats> stats; in getDiskStats() local
218 private_get_disk_stats(stats); in getDiskStats()
219 hidl_vec<struct DiskStats> stats_vec(stats); in getDiskStats()
220 if (!stats.size()) { in getDiskStats()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dpstats.py105 self.stats = {}
119 if not arg: self.stats = {}
122 self.stats = marshal.load(f)
132 self.stats = arg.stats
133 arg.stats = {}
134 if not self.stats:
140 for func, (cc, nc, tt, ct, callers) in self.stats.items():
167 for func, stat in other.stats.iteritems():
168 if func in self.stats:
169 old_func_stat = self.stats[func]
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dreindent.py174 self.stats = []
183 stats = self.stats
184 stats.append((len(lines), 0))
191 i = stats[0][0]
193 for i in range(len(stats)-1):
194 thisstmt, thislevel = stats[i]
195 nextstmt = stats[i+1][0]
207 for j in xrange(i+1, len(stats)-1):
208 jline, jlevel = stats[j]
218 jline, jlevel = stats[j]
[all …]
Dhotshotmain.py18 import hotshot.stats
28 stats = hotshot.stats.load(profile)
29 stats.sort_stats("time", "calls")
35 stats.print_stats()
Dbyext.py11 self.stats = {}
76 d = self.stats.setdefault(ext, {})
80 exts = self.stats.keys()
85 columns.update(self.stats[ext])
91 self.stats["TOTAL"] = {}
96 value = self.stats[ext].get(col)
105 self.stats["TOTAL"][col] = total
108 self.stats[ext]["ext"] = ext
117 value = self.stats[ext].get(col, "")
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c147 struct TaskStatistics stats; member
344 mTask.stats.proxEnabledTimestamp = sensorGetTime(); in configProx()
352 mTask.stats.totalProxEnabledTime += sensorGetTime() - mTask.stats.proxEnabledTimestamp; in configProx()
354 mTask.stats.totalProxFarTime += sensorGetTime() - mTask.stats.lastProxFarTimestamp; in configProx()
367 mTask.stats.enabledTimestamp = sensorGetTime(); in callbackPower()
369 mTask.stats.totalEnabledTime += sensorGetTime() - mTask.stats.enabledTimestamp; in callbackPower()
372 enabledSeconds = U64_DIV_BY_U64_CONSTANT(mTask.stats.totalEnabledTime, 1000000000); in callbackPower()
373 proxEnabledSeconds = U64_DIV_BY_U64_CONSTANT(mTask.stats.totalProxEnabledTime, 1000000000); in callbackPower()
374 proxFarSeconds = U64_DIV_BY_U64_CONSTANT(mTask.stats.totalProxFarTime, 1000000000); in callbackPower()
383 mTask.stats.totalProxBecomesFar, in callbackPower()
[all …]
/device/google/redbull-sepolicy/vendor/google/
Dhal_power_stats_default.te1 allow hal_power_stats_default sysfs_msm_wlan:dir search; # Needed to traverse to wlan stats file
3 …dir_file(hal_power_stats_default, sysfs_power_stats) # Needed to traverse platform low power stats
5 r_dir_file(hal_power_stats_default, sysfs_msm_subsys) # Needed to traverse subsystem low power stats
6 r_dir_file(hal_power_stats_default, sysfs_leds) # Needed to track display stats
/device/google/sunfish-sepolicy/vendor/google/
Dhal_power_stats_default.te1 allow hal_power_stats_default sysfs_msm_wlan:dir search; # Needed to traverse to wlan stats file
4 r_dir_file(hal_power_stats_default, sysfs_power_stats) # Needed to traverse platform low power stats
5 r_dir_file(hal_power_stats_default, sysfs_msm_subsys) # Needed to traverse subsystem low power stats
6 r_dir_file(hal_power_stats_default, sysfs_leds) # Needed to track display stats
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_profile.py29 stats = pstats.Stats(prof, stream=s)
30 stats.strip_dirs().sort_stats("stdname")
31 getattr(stats, methodname)()
56 stats = pstats.Stats(prof, stream=s)
57 stats.print_stats()
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dstats_keeper.h159 CompositionStats stats; in Broadcast() local
160 stats_getter_(&stats); in Broadcast()
161 return screen_view_->Broadcast(buffer_id, &stats); in Broadcast()
191 [this](CompositionStats* stats) { in StatsKeepingComposer()
192 FinalizeStatsAndGet(stats); in StatsKeepingComposer()
214 void FinalizeStatsAndGet(CompositionStats* stats) { in FinalizeStatsAndGet() argument
216 stats_keeper_.GetLastCompositionStats(stats); in FinalizeStatsAndGet()
/device/google/redbull/powerstats/
Dandroid.hardware.power.stats@1.0-service.pixel.rc1 service vendor.power.stats-hal-1-0 /vendor/bin/hw/android.hardware.power.stats@1.0-service.pixel
Dservice.cpp43 using android::hardware::power::stats::V1_0::IPowerStats;
44 using android::hardware::power::stats::V1_0::PowerEntityInfo;
45 using android::hardware::power::stats::V1_0::PowerEntityStateSpace;
46 using android::hardware::power::stats::V1_0::PowerEntityType;
47 using android::hardware::power::stats::V1_0::implementation::PowerStats;
/device/google/bonito/powerstats/
Dandroid.hardware.power.stats@1.0-service.pixel.rc1 service vendor.power.stats-hal-1-0 /vendor/bin/hw/android.hardware.power.stats@1.0-service.pixel
Dservice.cpp40 using android::hardware::power::stats::V1_0::IPowerStats;
41 using android::hardware::power::stats::V1_0::PowerEntityInfo;
42 using android::hardware::power::stats::V1_0::PowerEntityStateSpace;
43 using android::hardware::power::stats::V1_0::PowerEntityType;
44 using android::hardware::power::stats::V1_0::implementation::PowerStats;
/device/google/sunfish/powerstats/
Dandroid.hardware.power.stats@1.0-service.pixel.rc1 service vendor.power.stats-hal-1-0 /vendor/bin/hw/android.hardware.power.stats@1.0-service.pixel
Dservice.cpp42 using android::hardware::power::stats::V1_0::IPowerStats;
43 using android::hardware::power::stats::V1_0::PowerEntityInfo;
44 using android::hardware::power::stats::V1_0::PowerEntityStateSpace;
45 using android::hardware::power::stats::V1_0::PowerEntityType;
46 using android::hardware::power::stats::V1_0::implementation::PowerStats;
/device/google/crosshatch/powerstats/
Dandroid.hardware.power.stats@1.0-service.pixel.rc1 service vendor.power.stats-hal-1-0 /vendor/bin/hw/android.hardware.power.stats@1.0-service.pixel
/device/google/bonito-sepolicy/vendor/qcom/common/
Dhal_power_stats_default.te1 # Allow power.stats hal to read from the following
7 # Allow power.stats hal to add the power_stats_service

12345