/external/tensorflow/tensorflow/core/platform/profile_utils/ |
D | cpu_utils.h | 7 http://www.apache.org/licenses/LICENSE-2.0 42 // stored as a function-local static variable which inherits 48 // Constant for invalid frequency. 49 // This value is returned when the frequency is not obtained somehow. 50 static constexpr int64 INVALID_FREQUENCY = -1; 53 // Return current clock cycle. This function is designed to 61 // ---------------------------------------------------------------- in GetCurrentClockCycle() 64 // ---------------------------------------------------------------- in GetCurrentClockCycle() 69 // ---------------------------------------------------------------- in GetCurrentClockCycle() 71 // System timer of ARMv8 runs at a different frequency than the CPU's. in GetCurrentClockCycle() [all …]
|
D | i_cpu_utils_helper.h | 7 http://www.apache.org/licenses/LICENSE-2.0 32 // Reset clock cycle. 33 // Resetting clock cycle is recommended to prevent 34 // clock cycle counters from overflowing on some platforms. 36 // Return current clock cycle. 38 // Enable clock cycle profile 41 // Return cpu frequency.
|
/external/libcxx/utils/google-benchmark/src/ |
D | cycleclock.h | 1 // ---------------------------------------------------------------------- 4 // is actually time since power-on. This is like time() but doesn't 19 // ---------------------------------------------------------------------- 58 // https://setisvn.ssl.berkeley.edu/svn/lib/fftw-3.0.1/kernel/cycle.h 60 // This should return the number of cycles since power-on. Thread-safe. 66 // InitializeSystemInfo() sets the supposed cpu clock frequency of in Now() 68 // CPU clock frequency (which can change in the face of CPU in Now() 69 // frequency scaling). Also note that when the Mac sleeps, this in Now() 74 // this goes above x86-specific code because old versions of Emscripten in Now() 86 // This returns a time-base, which is not always precisely a cycle-count. in Now() [all …]
|
/external/google-benchmark/src/ |
D | cycleclock.h | 1 // ---------------------------------------------------------------------- 4 // is actually time since power-on. This is like time() but doesn't 19 // ---------------------------------------------------------------------- 58 // https://setisvn.ssl.berkeley.edu/svn/lib/fftw-3.0.1/kernel/cycle.h 60 // This should return the number of cycles since power-on. Thread-safe. 66 // InitializeSystemInfo() sets the supposed cpu clock frequency of in Now() 68 // CPU clock frequency (which can change in the face of CPU in Now() 69 // frequency scaling). Also note that when the Mac sleeps, this in Now() 74 // this goes above x86-specific code because old versions of Emscripten in Now() 86 // This returns a time-base, which is not always precisely a cycle-count. in Now() [all …]
|
/external/u-boot/drivers/i2c/ |
D | mvtwsi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 87 /* Number of the device (determined from cell-index property) */ 99 * enum mvtwsi_ctrl_register_fields - Bit masks for flags in the control 118 * On sun6i and newer, IFLG is a write-clear bit, which is cleared by writing 1; 129 * enum mvstwsi_status_values - Possible values of I2C controller's status 133 * non-10-bit-address devices are specified. 161 * enum mvstwsi_ack_flags - Determine whether a read byte should be 172 * calc_tick() - Calculate the duration of a clock cycle from the I2C speed 174 * @speed: The speed in Hz to calculate the clock cycle duration for. 175 * @return The duration of a clock cycle in ns. [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-xray/X86/ |
D | convert-roundtrip.yaml | 1 #RUN: llvm-xray convert %s -f=raw -o %t && llvm-xray convert %t -f=yaml -o - | FileCheck %s 2 --- 6 constant-tsc: true 7 nonstop-tsc: true 8 cycle-frequency: 2601000000 10 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 } 11 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10100 } 14 #CHECK: --- 15 #CHECK-NEXT: header: 16 #CHECK-NEXT: version: 1 [all …]
|
/external/autotest/client/site_tests/power_CPUFreq/ |
D | power_CPUFreq.py | 2 # Use of this source code is governed by a BSD-style license that can be 50 if str(exception) == 'Unable to set frequency': 51 # If test_cores_in_series fails, try to set each frequency for 52 # all cores before moving on to the next frequency. 74 # cycle through all available frequencies 78 raise error.TestFail('Unable to set frequency') 97 # cycle through all available frequencies 103 raise error.TestFail('Unable to set frequency') 107 # governor and access to setting frequency so add a retry 111 logging.warn('Frequency getting failed. Retrying once.') [all …]
|
/external/u-boot/board/armadeus/apf27/ |
D | apf27.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright (C) 2008-2013 Eric Jarrige <eric.jarrige@armadeus.org> 40 /* ARM bus frequency (have to be a CONFIG_MPLL_FREQ ratio) */ 43 /* external bus frequency (have to be a ACFG_CLK_FREQ ratio) */ 57 /* external bus frequency (have to be a CONFIG_HCLK_FREQ ratio) */ 60 /* external serial bus frequency (have to be a CONFIG_SPLL_FREQ ratio) */ 66 #if (ACFG_SDRAM_MBYTE_SYZE == 64) /* micron MT46H16M32LF -6 */ 81 * cycle delay > 0 85 * cycle delay 1..4 90 #define ACFG_SDRAM_RAS_DELAY 42 /* ns ACTIVE-to-PRECHARGE delay */ [all …]
|
/external/python/cpython2/Doc/library/ |
D | gc.rst | 2 :mod:`gc` --- Garbage Collector interface 6 :synopsis: Interface to the cycle-detecting garbage collector. 12 provides the ability to disable the collector, tune the collection frequency, 19 ``gc.DEBUG_SAVEALL``, causing garbage-collected objects to be saved in 51 The free lists maintained for a number of built-in types are cleared 79 Set the garbage collection thresholds (the collection frequency). Setting 134 referents returned are those objects visited by the arguments' C-level 138 be involved in a cycle. So, for example, if an integer is directly reachable 147 tracked and instances of non-atomic types (containers, user-defined 148 objects...) are. However, some type-specific optimizations can be present [all …]
|
/external/u-boot/drivers/pwm/ |
D | Kconfig | 2 bool "Enable support for pulse-width modulation devices (PWM)" 5 A pulse-width modulator emits a pulse of varying width and provides 6 control over the duty cycle (high and low time) of the signal. This 9 frequency/period can be controlled along with the proportion of that 17 supports a programmable period and duty cycle. A 32-bit counter is 26 programmable period and duty cycle. A 32-bit counter is used. 28 continuous/single-shot) are not supported by the driver. 43 four channels with a programmable period and duty cycle. Only a 44 32KHz clock is supported by the driver but the duty cycle is 52 programmable period and duty cycle. A 16-bit counter is used.
|
/external/u-boot/arch/arm/dts/ |
D | logicpd-torpedo-som.dtsi | 7 #include <dt-bindings/input/input.h> 12 cpu0-supply = <&vcc>; 22 compatible = "gpio-leds"; 26 linux,default-trigger = "none"; 31 compatible = "regulator-fixed"; 32 regulator-name = "vwl1271"; 33 regulator-min-microvolt = <1800000>; 34 regulator-max-microvolt = <1800000>; 36 startup-delay-us = <70000>; 37 enable-active-high; [all …]
|
D | logicpd-som-lv.dtsi | 7 #include <dt-bindings/input/input.h> 12 cpu0-supply = <&vcc>; 22 compatible = "regulator-fixed"; 23 regulator-name = "vwl1271"; 24 regulator-min-microvolt = <1800000>; 25 regulator-max-microvolt = <1800000>; 27 startup-delay-us = <70000>; 28 enable-active-high; 29 vin-supply = <&vmmc2>; 34 compatible = "usb-nop-xceiv"; [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | IteratorsTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 72 assertEquals(-1, iterator.previousIndex()); in testEmptyListIterator() 470 Iterator<String> cycle = Iterators.<String>cycle(); in testCycleOfEmpty() local 471 assertFalse(cycle.hasNext()); in testCycleOfEmpty() 475 Iterator<String> cycle = Iterators.cycle("a"); in testCycleOfOne() local 477 assertTrue(cycle.hasNext()); in testCycleOfOne() 478 assertEquals("a", cycle.next()); in testCycleOfOne() 484 Iterator<String> cycle = Iterators.cycle(iterable); in testCycleOfOneWithRemove() local 485 assertTrue(cycle.hasNext()); in testCycleOfOneWithRemove() 486 assertEquals("a", cycle.next()); in testCycleOfOneWithRemove() [all …]
|
/external/u-boot/board/socrates/ |
D | ddr.c | 1 // SPDX-License-Identifier: GPL-2.0 17 * - number of chips on bus in fsl_ddr_board_options() 18 * - position of slot in fsl_ddr_board_options() 19 * - DDR1 vs. DDR2? in fsl_ddr_board_options() 20 * - ??? in fsl_ddr_board_options() 22 * This needs to be determined on a board-by-board basis. in fsl_ddr_board_options() 23 * 0110 3/4 cycle late in fsl_ddr_board_options() 24 * 0111 7/8 cycle late in fsl_ddr_board_options() 26 popts->clk_adjust = 7; in fsl_ddr_board_options() 30 * - frequency in fsl_ddr_board_options() [all …]
|
/external/u-boot/board/freescale/mpc8541cds/ |
D | ddr.c | 1 // SPDX-License-Identifier: GPL-2.0 17 * - number of chips on bus in fsl_ddr_board_options() 18 * - position of slot in fsl_ddr_board_options() 19 * - DDR1 vs. DDR2? in fsl_ddr_board_options() 20 * - ??? in fsl_ddr_board_options() 22 * This needs to be determined on a board-by-board basis. in fsl_ddr_board_options() 23 * 0110 3/4 cycle late in fsl_ddr_board_options() 24 * 0111 7/8 cycle late in fsl_ddr_board_options() 26 popts->clk_adjust = 6; in fsl_ddr_board_options() 30 * - frequency in fsl_ddr_board_options() [all …]
|
/external/u-boot/board/freescale/mpc8548cds/ |
D | ddr.c | 1 // SPDX-License-Identifier: GPL-2.0 17 * - number of chips on bus in fsl_ddr_board_options() 18 * - position of slot in fsl_ddr_board_options() 19 * - DDR1 vs. DDR2? in fsl_ddr_board_options() 20 * - ??? in fsl_ddr_board_options() 22 * This needs to be determined on a board-by-board basis. in fsl_ddr_board_options() 23 * 0110 3/4 cycle late in fsl_ddr_board_options() 24 * 0111 7/8 cycle late in fsl_ddr_board_options() 26 popts->clk_adjust = 7; in fsl_ddr_board_options() 30 * - frequency in fsl_ddr_board_options() [all …]
|
/external/u-boot/board/freescale/mpc8555cds/ |
D | ddr.c | 1 // SPDX-License-Identifier: GPL-2.0 17 * - number of chips on bus in fsl_ddr_board_options() 18 * - position of slot in fsl_ddr_board_options() 19 * - DDR1 vs. DDR2? in fsl_ddr_board_options() 20 * - ??? in fsl_ddr_board_options() 22 * This needs to be determined on a board-by-board basis. in fsl_ddr_board_options() 23 * 0110 3/4 cycle late in fsl_ddr_board_options() 24 * 0111 7/8 cycle late in fsl_ddr_board_options() 26 popts->clk_adjust = 6; in fsl_ddr_board_options() 30 * - frequency in fsl_ddr_board_options() [all …]
|
/external/u-boot/board/sbc8641d/ |
D | ddr.c | 1 // SPDX-License-Identifier: GPL-2.0 17 * - number of chips on bus in fsl_ddr_board_options() 18 * - position of slot in fsl_ddr_board_options() 19 * - DDR1 vs. DDR2? in fsl_ddr_board_options() 20 * - ??? in fsl_ddr_board_options() 22 * This needs to be determined on a board-by-board basis. in fsl_ddr_board_options() 23 * 0110 3/4 cycle late in fsl_ddr_board_options() 24 * 0111 7/8 cycle late in fsl_ddr_board_options() 26 popts->clk_adjust = 7; in fsl_ddr_board_options() 30 * - frequency in fsl_ddr_board_options() [all …]
|
/external/u-boot/board/freescale/mpc8568mds/ |
D | ddr.c | 1 // SPDX-License-Identifier: GPL-2.0 17 * - number of chips on bus in fsl_ddr_board_options() 18 * - position of slot in fsl_ddr_board_options() 19 * - DDR1 vs. DDR2? in fsl_ddr_board_options() 20 * - ??? in fsl_ddr_board_options() 22 * This needs to be determined on a board-by-board basis. in fsl_ddr_board_options() 23 * 0110 3/4 cycle late in fsl_ddr_board_options() 24 * 0111 7/8 cycle late in fsl_ddr_board_options() 26 popts->clk_adjust = 6; in fsl_ddr_board_options() 30 * - frequency in fsl_ddr_board_options() [all …]
|
/external/u-boot/board/freescale/mpc8610hpcd/ |
D | ddr.c | 1 // SPDX-License-Identifier: GPL-2.0 17 * - number of chips on bus in fsl_ddr_board_options() 18 * - position of slot in fsl_ddr_board_options() 19 * - DDR1 vs. DDR2? in fsl_ddr_board_options() 20 * - ??? in fsl_ddr_board_options() 22 * This needs to be determined on a board-by-board basis. in fsl_ddr_board_options() 23 * 0110 3/4 cycle late in fsl_ddr_board_options() 24 * 0111 7/8 cycle late in fsl_ddr_board_options() 26 popts->clk_adjust = 7; in fsl_ddr_board_options() 30 * - frequency in fsl_ddr_board_options() [all …]
|
/external/u-boot/board/freescale/mpc8544ds/ |
D | ddr.c | 1 // SPDX-License-Identifier: GPL-2.0 17 * - number of chips on bus in fsl_ddr_board_options() 18 * - position of slot in fsl_ddr_board_options() 19 * - DDR1 vs. DDR2? in fsl_ddr_board_options() 20 * - ??? in fsl_ddr_board_options() 22 * This needs to be determined on a board-by-board basis. in fsl_ddr_board_options() 23 * 0110 3/4 cycle late in fsl_ddr_board_options() 24 * 0111 7/8 cycle late in fsl_ddr_board_options() 26 popts->clk_adjust = 7; in fsl_ddr_board_options() 30 * - frequency in fsl_ddr_board_options() [all …]
|
/external/u-boot/board/freescale/mpc8536ds/ |
D | ddr.c | 1 // SPDX-License-Identifier: GPL-2.0 17 * - number of chips on bus in fsl_ddr_board_options() 18 * - position of slot in fsl_ddr_board_options() 19 * - DDR1 vs. DDR2? in fsl_ddr_board_options() 20 * - ??? in fsl_ddr_board_options() 22 * This needs to be determined on a board-by-board basis. in fsl_ddr_board_options() 23 * 0110 3/4 cycle late in fsl_ddr_board_options() 24 * 0111 7/8 cycle late in fsl_ddr_board_options() 26 popts->clk_adjust = 7; in fsl_ddr_board_options() 30 * - frequency in fsl_ddr_board_options() [all …]
|
/external/u-boot/board/freescale/mpc8569mds/ |
D | ddr.c | 1 // SPDX-License-Identifier: GPL-2.0 17 * - number of chips on bus in fsl_ddr_board_options() 18 * - position of slot in fsl_ddr_board_options() 19 * - DDR1 vs. DDR2? in fsl_ddr_board_options() 20 * - ??? in fsl_ddr_board_options() 22 * This needs to be determined on a board-by-board basis. in fsl_ddr_board_options() 23 * 0110 3/4 cycle late in fsl_ddr_board_options() 24 * 0111 7/8 cycle late in fsl_ddr_board_options() 26 popts->clk_adjust = 4; in fsl_ddr_board_options() 30 * - frequency in fsl_ddr_board_options() [all …]
|
/external/u-boot/board/xes/xpedite520x/ |
D | ddr.c | 1 // SPDX-License-Identifier: GPL-2.0 19 * as a standard unregistered SO-DIMM. */ in get_spd() 20 if (spd->dimm_type == 0) { in get_spd() 21 spd->dimm_type = 0x4; in get_spd() 32 * - number of chips on bus in fsl_ddr_board_options() 33 * - position of slot in fsl_ddr_board_options() 34 * - DDR1 vs. DDR2? in fsl_ddr_board_options() 35 * - ??? in fsl_ddr_board_options() 37 * This needs to be determined on a board-by-board basis. in fsl_ddr_board_options() 38 * 0110 3/4 cycle late in fsl_ddr_board_options() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | IteratorsTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 97 assertEquals(-1, iterator.previousIndex()); in testEmptyListIterator() 534 Iterator<String> cycle = Iterators.<String>cycle(); in testCycleOfEmpty() local 535 assertFalse(cycle.hasNext()); in testCycleOfEmpty() 539 Iterator<String> cycle = Iterators.cycle("a"); in testCycleOfOne() local 541 assertTrue(cycle.hasNext()); in testCycleOfOne() 542 assertEquals("a", cycle.next()); in testCycleOfOne() 548 Iterator<String> cycle = Iterators.cycle(iterable); in testCycleOfOneWithRemove() local 549 assertTrue(cycle.hasNext()); in testCycleOfOneWithRemove() 550 assertEquals("a", cycle.next()); in testCycleOfOneWithRemove() [all …]
|