/system/extras/tests/workloads/ |
pwrsummary.sh | 35 (-h) hz=$2; shift;; 49 hz=${hz:=$defaultFrequency} 165 set -- $($POWERAVE $hz $voltage $powerfile)
|
pwrtest.sh | 56 hz=5 126 # samples = hz * 60 * minutes 128 monsoon.par --timestamp --samples $samples --hz 5 171 ((garbage=hz*60*garbageminutes)) 272 ((twentyminutes=hz*20*60))
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
EmulatedVehicleHal.h | 64 constexpr std::chrono::nanoseconds hertzToNanoseconds(float hz) const { 65 return std::chrono::nanoseconds(static_cast<int64_t>(1000000000L / hz));
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/devices/ |
ExternalDevice.cpp | 258 void ExternalDevice::setRefreshRate(int hz) 262 ILOGTRACE("setting refresh rate to %d", hz); 274 if (hz == 0 && (mode.type & DRM_MODE_TYPE_PREFERRED)) 277 if (hz == (int)mode.vrefresh) 280 ILOGTRACE("changing refresh rate from %d to %d", mode.vrefresh, hz); 284 drm->setRefreshRate(IDisplayDevice::DEVICE_EXTERNAL, hz);
|
/toolchain/binutils/binutils-2.25/gprof/ |
gmon_io.c | 433 hz = profrate; 434 else if (hz != (int) profrate) 554 if (hz == HZ_WRONG) 558 hz = hertz (); 560 if (hz == HZ_WRONG) 562 hz = 1; 649 || hz != hertz()) 696 || hz != hertz()) 699 || gmon_io_write_32 (ofp, (unsigned int) hz))
|
hist.c | 86 If FIRST is non-zero, sets global variables HZ, HIST_DIMENSION, 125 hz = profrate; 264 || gmon_io_write_32 (ofp, hz) 476 100.0 / total_time, total_time / hz, hist_dimension); 481 printf (_("\nEach sample counts as %g %s.\n"), 1.0 / hz, hist_dimension); 512 accum_time / hz, sym->hist.time / hz); 516 accum_time / hz, sym->hist.time / hz); 520 sym->ncalls, scale * sym->hist.time / hz / sym->ncalls 475 100.0 \/ total_time, total_time \/ hz, hist_dimension); local [all...] |
cg_print.c | 85 100.0 / print_time, print_time / hz); 126 cyc->cg.prop.self / hz, cyc->cg.prop.child / hz, cyc->ncalls); 203 "", "", member->cg.prop.self / hz, member->cg.prop.child / hz, 389 arc->time / hz, arc->child_time / hz, 461 arc->time / hz, arc->child_time / hz, 480 np->cg.prop.self / hz, np->cg.prop.child / hz) 84 100.0 \/ print_time, print_time \/ hz); local [all...] |
/external/google-benchmark/src/ |
sysinfo.cc | 235 // SMP, APIC, or APM support. hz should be 64-bit in freebsd 7.0 237 // wrong answer on machines faster than 2^32 Hz). See 246 uint64_t hz = 0; 248 unsigned int hz = 0; 250 size_t sz = sizeof(hz); 252 if (sysctlbyname(sysctl_path, &hz, &sz, nullptr, 0) != 0) { 257 cpuinfo_cycles_per_second = hz;
|
/external/libcxx/utils/google-benchmark/src/ |
sysinfo.cc | 233 // SMP, APIC, or APM support. hz should be 64-bit in freebsd 7.0 235 // wrong answer on machines faster than 2^32 Hz). See 244 uint64_t hz = 0; 246 unsigned int hz = 0; 248 size_t sz = sizeof(hz); 250 if (sysctlbyname(sysctl_path, &hz, &sz, nullptr, 0) != 0) { 255 cpuinfo_cycles_per_second = hz;
|
/device/linaro/bootloader/edk2/StdLib/Include/X64/machine/ |
param.h | 103 #define mstohz(ms) ((ms + 0UL) * hz / 1000)
|
/frameworks/wilhelm/tests/sandbox/ |
intbufq.c | 150 float hz = 441; local 153 sine[i].left = sin((float) (i / (sr / hz)) * pi2 ) * 32000.0; 157 square[i].left = (i % (unsigned) (sr / hz)) < 50 ? 32767 : -32768; 161 sawtooth[i].left = ((((int) (i % (unsigned) (sr / hz))) - 50) / 100.0) * 60000.0 - 30000.0;
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
Drm.h | 47 bool setRefreshRate(int device, int hz);
|
DisplayAnalyzer.cpp | 458 int hz = dev->getRefreshRate(); local 459 if (hz > 0 && info.frameRate > 0 && hz != info.frameRate) { 460 ITRACE("Old Hz %d, new one %d", hz, info.frameRate); 463 WTRACE("Old Hz %d is invalid, %d", hz, info.frameRate); 511 int hz = 0; local 518 hz = info.frameRate; 522 dev->setRefreshRate(hz); [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
Drm.h | 51 bool setRefreshRate(int device, int hz);
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
monsoon.py | 409 def __init__(self, data_points, timestamps, hz, voltage, offset=0): 415 hz: The hertz at which the data points are measured. 430 self.hz = hz 449 charge = (sum(self.data_points) / self.hz) * 1000 / 3600 487 Line6: 150000 samples taken at 500Hz, with an offset of 0 samples. 490 hz = int(hz_str[:-3]) 503 return MonsoonData(v, t, hz, voltage) 606 ("{} samples taken at {}Hz, with an offset of {} samples.").format( 607 len(self._data_points), self.hz, self.offset) [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
cpuprof.go | 108 func setcpuprofilerate(hz int32) { 110 setcpuprofilerate_m(hz) 119 // SetCPUProfileRate sets the CPU profiling rate to hz samples per second. 120 // If hz <= 0, SetCPUProfileRate turns off profiling. 126 func SetCPUProfileRate(hz int) { 127 // Clamp hz to something reasonable. 128 if hz < 0 { 129 hz = 0 131 if hz > 1000000 { 132 hz = 100000 [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
cpuprof.go | 108 func setcpuprofilerate(hz int32) { 110 setcpuprofilerate_m(hz) 119 // SetCPUProfileRate sets the CPU profiling rate to hz samples per second. 120 // If hz <= 0, SetCPUProfileRate turns off profiling. 126 func SetCPUProfileRate(hz int) { 127 // Clamp hz to something reasonable. 128 if hz < 0 { 129 hz = 0 131 if hz > 1000000 { 132 hz = 100000 [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
param.h | 308 * macro to convert from milliseconds to hz without integer overflow
311 * 0x20000 is safe for hz < 20000
316 ((ms +0u) / 1000u) * hz : \
317 ((ms +0u) * hz) / 1000u)
|
/external/autotest/client/profilers/powertop/src/ |
cpufreqstats.c | 65 static char *HzToHuman(unsigned long hz) 69 unsigned long long Hz; 71 Hz = hz; 74 sprintf(buffer,_("%9lli"), Hz); 76 if (Hz>1000) 77 sprintf(buffer, _("%6lli Mhz"), (Hz+500)/1000); 79 if (Hz>1500000) 80 sprintf(buffer, _("%6.2f Ghz"), (Hz+5000.0)/1000000);
|
/tools/test/connectivity/acts/framework/acts/bin/ |
monsoon.py | 56 result = mon.take_samples(FLAGS.hz, FLAGS.samples, 77 parser.add_argument("-hz", "--hz", type=int,
|
/external/iproute2/ip/ |
ipneigh.c | 299 int hz = get_user_hz(); local 303 fprintf(fp, " used %d/%d/%d", ci->ndm_used/hz, 304 ci->ndm_confirmed/hz, ci->ndm_updated/hz);
|
/external/iproute2/tc/ |
tc_util.c | 506 int hz = get_user_hz(); local 508 fprintf(f, " installed %u sec", (unsigned)(tm->install/hz)); 510 fprintf(f, " used %u sec", (unsigned)(tm->lastuse/hz)); 512 fprintf(f, " expires %u sec", (unsigned)(tm->expires/hz));
|
/external/syslinux/com32/lib/jpeg/ |
tinyjpeg.c | 333 unsigned char huffsize[HUFFMAN_BITS_SIZE+1], *hz; local 340 hz = huffsize; 344 *hz++ = i; 346 *hz = 0; 357 hz = huffsize; 358 nbits = *hz; 359 while (*hz) 361 while (*hz == nbits) 364 hz++;
|
/external/bzip2/ |
blocksort.c | 80 #define fpush(lz,hz) { stackLo[sp] = lz; \ 81 stackHi[sp] = hz; \ 84 #define fpop(lz,hz) { sp--; \ 86 hz = stackHi[sp]; } 596 #define mpush(lz,hz,dz) { stackLo[sp] = lz; \ 597 stackHi[sp] = hz; \ 601 #define mpop(lz,hz,dz) { sp--; \ 603 hz = stackHi[sp]; \
|
/external/python/cpython2/Lib/plat-sunos5/ |
TYPES.py | 275 def TICK_TO_SEC(tick): return ((tick) / hz) 277 def SEC_TO_TICK(sec): return ((sec) * hz)
|