/external/guava/guava/src/com/google/common/base/ |
Ticker.java | 36 public abstract class Ticker { 40 protected Ticker() {} 43 * Returns the number of nanoseconds elapsed since this ticker's fixed 49 * A ticker that reads the current time using {@link System#nanoTime}. 53 public static Ticker systemTicker() { 57 private static final Ticker SYSTEM_TICKER = new Ticker() {
|
Stopwatch.java | 64 * {@link #createUnstarted(Ticker)} or {@link #createStarted(Ticker)} to 65 * supply a fake or mock ticker. 77 private final Ticker ticker; field in class:Stopwatch 98 public static Stopwatch createUnstarted(Ticker ticker) { 99 return new Stopwatch(ticker); 118 public static Stopwatch createStarted(Ticker ticker) { [all...] |
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/ |
SaveSecContext.c | 33 Save Ticker value before call FspInit.
35 @param[in] Ticker Ticker value.
39 IN UINT64 Ticker
54 UINT64 *Ticker;
105 Ticker = (UINT64 *)(UINTN)(TopOfTemporaryRam - sizeof(UINT32) - Size - sizeof(UINT64));
106 DEBUG ((DEBUG_INFO, "Ticker - 0x%lx\n", *Ticker));
110 AsmSaveTickerValue (*Ticker);
|
SecGetPerformance.c | 51 UINT64 Ticker;
86 Ticker = *(UINT64 *) (UINTN) (TopOfTemporaryRam - sizeof (UINT32) - Size - sizeof (UINT32) * 2);
87 Performance->ResetEnd = GetTimeInNanoSecond (Ticker);
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/ |
SaveSecContext.c | 34 Save Ticker value before call FspInit.
36 @param Ticker Ticker value.
40 IN UINT64 Ticker
55 UINT64 *Ticker;
106 Ticker = (UINT64 *)(UINTN)(TopOfTemporaryRam - sizeof(UINT32) - Size - sizeof(UINT64));
107 DEBUG ((DEBUG_INFO, "Ticker - 0x%lx\n", *Ticker));
113 AsmSaveTickerValue (*Ticker);
|
SecGetPerformance.c | 50 UINT64 Ticker;
85 Ticker = *(UINT64 *) (UINTN) (TopOfTemporaryRam - sizeof (UINT32) - Size - sizeof (UINT32) * 2);
86 Performance->ResetEnd = GetTimeInNanoSecond (Ticker);
|
/prebuilts/go/darwin-x86/src/time/ |
tick.go | 9 // A Ticker holds a channel that delivers `ticks' of a clock 11 type Ticker struct { 16 // NewTicker returns a new Ticker containing a channel that will send the 20 // Stop the ticker to release associated resources. 21 func NewTicker(d Duration) *Ticker { 29 t := &Ticker{ 42 // Stop turns off a ticker. After Stop, no more ticks will be sent. 45 func (t *Ticker) Stop() { 51 // the Ticker, be aware that without a way to shut it down the underlying 52 // Ticker cannot be recovered by the garbage collector; it "leaks" [all...] |
/prebuilts/go/linux-x86/src/time/ |
tick.go | 9 // A Ticker holds a channel that delivers `ticks' of a clock 11 type Ticker struct { 16 // NewTicker returns a new Ticker containing a channel that will send the 20 // Stop the ticker to release associated resources. 21 func NewTicker(d Duration) *Ticker { 29 t := &Ticker{ 42 // Stop turns off a ticker. After Stop, no more ticks will be sent. 45 func (t *Ticker) Stop() { 51 // the Ticker, be aware that without a way to shut it down the underlying 52 // Ticker cannot be recovered by the garbage collector; it "leaks" [all...] |
/external/guava/guava-testlib/src/com/google/common/testing/ |
FakeTicker.java | 23 import com.google.common.base.Ticker; 29 * A Ticker whose value can be advanced programmatically in test. 31 * The ticker can be configured so that the time is incremented whenever {@link #read} is called: 41 public class FakeTicker extends Ticker { 46 /** Advances the ticker value by {@code time} in {@code timeUnit}. */ 51 /** Advances the ticker value by {@code nanoseconds}. */ 58 * Sets the increment applied to the ticker whenever it is queried. 60 * <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
Stopwatch.java | 63 * {@link #createUnstarted(Ticker)} or {@link #createStarted(Ticker)} to 64 * supply a fake or mock ticker. 76 private final Ticker ticker; field in class:Stopwatch 97 public static Stopwatch createUnstarted(Ticker ticker) { 98 return new Stopwatch(ticker); 117 public static Stopwatch createStarted(Ticker ticker) { [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
Performance.c | 159 UINT64 Ticker;
182 Ticker = GetPerformanceCounter ();
194 mPerfHeader.BDSRaw = Ticker - StartValue;
197 mPerfHeader.BDSRaw = StartValue - Ticker;
259 Ticker = CountUp ? (EndTicker - StartTicker) : (StartTicker - EndTicker);
261 Duration = (UINT32) DivU64x32 (Ticker, (UINT32) Freq);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/ |
EfiPerf.h | 32 IN UINT64 Ticker
44 Ticker - TODO: add argument description
59 IN UINT64 Ticker
72 Ticker - TODO: add argument description
87 IN UINT64 Ticker
100 Ticker - TODO: add argument description
142 #define PERF_ENABLE(handle, table, ticker) InitializePerformanceInfrastructure (handle, table, ticker)
143 #define PERF_START(handle, token, host, ticker) StartMeasure (handle, token, host, ticker)
[all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
Performance.c | 159 UINT64 Ticker;
187 Ticker = GetPerformanceCounter ();
199 mPerfHeader.BDSRaw = Ticker - StartValue;
202 mPerfHeader.BDSRaw = StartValue - Ticker;
259 Ticker = 0;
280 Ticker += CountUp ? (EndTicker - StartTicker) : (StartTicker - EndTicker);
284 Duration = (UINT32) DivU64x32 (Ticker, (UINT32) Freq);
326 Ticker = CountUp ? (EndTicker - StartTicker) : (StartTicker - EndTicker);
328 mPerfData.Duration = (UINT32) DivU64x32 (Ticker, (UINT32) Freq);
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
RuntimeWorker.java | 29 import com.google.common.base.Ticker; 45 protected final Ticker ticker; field in class:RuntimeWorker 52 Method method, Random random, Ticker ticker, 57 this.ticker = ticker; 105 @BenchmarkMethod Method method, Random random, Ticker ticker, 107 super(benchmark, method, random, ticker, workerOptions) [all...] |
WorkerModule.java | 24 import com.google.common.base.Ticker; 41 * objects required by different workers. (i.e. don't bind a Ticker if the worker is an allocation 120 static Ticker provideTicker() { 121 return Ticker.systemTicker();
|
MacrobenchmarkWorker.java | 30 import com.google.common.base.Ticker; 48 Ticker ticker, @WorkerOptions Map<String, String> workerOptions) { 50 this.stopwatch = Stopwatch.createUnstarted(ticker);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ |
Perf.c | 41 IN UINT64 Ticker
429 IN UINT64 Ticker
443 Ticker - Set gauge data's StartTick. If 0, StartTick is current timer.
464 if (Ticker != 0) {
465 TimerValue = Ticker;
495 IN UINT64 Ticker
509 Ticker - End tick, if 0 then get current timer
535 if (Ticker != 0) {
536 TimerValue = Ticker;
592 IN UINT64 Ticker
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/Performance/ |
Performance.h | 69 IN UINT64 Ticker
79 IN UINT64 Ticker
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
BmPerformance.c | 163 UINT64 Ticker;
186 Ticker = GetPerformanceCounter ();
198 mBmPerfHeader.BDSRaw = Ticker - StartValue;
201 mBmPerfHeader.BDSRaw = StartValue - Ticker;
263 Ticker = CountUp ? (EndTicker - StartTicker) : (StartTicker - EndTicker);
265 Duration = (UINT32) DivU64x32 (Ticker, (UINT32) Freq);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/ |
PerformanceLib.c | 437 IN UINT64 Ticker
449 Ticker - Start tick
472 if (Ticker != 0) {
473 TimerValue = Ticker;
518 IN UINT64 Ticker
532 Ticker - Set gauge data's StartTick. If 0, StartTick is current timer.
553 if (Ticker != 0) {
554 TimerValue = Ticker;
584 IN UINT64 Ticker
598 Ticker - End tick, if 0 then get current timer [all...] |
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
CacheBuilder.java | 29 import com.google.common.base.Ticker; 200 static final Ticker NULL_TICKER = new Ticker() { 230 Ticker ticker; field in class:CacheBuilder 453 * @throws IllegalStateException if a ticker was already set 455 public CacheBuilder<K, V> ticker(Ticker ticker) { method in class:CacheBuilder 456 checkState(this.ticker == null) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/cache/super/com/google/common/cache/ |
CacheBuilderTest.java | 27 import com.google.common.base.Ticker; 169 Ticker testTicker = Ticker.systemTicker(); 171 new CacheBuilder<Object, Object>().ticker(testTicker); 174 builder.ticker(testTicker);
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiDpLib/ |
DpInternal.h | 235 @param[in] Ticker The timer value for the END of Shell phase
240 IN UINT64 Ticker
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
NanoTimeGranularityTester.java | 23 import com.google.common.base.Ticker; 29 * directly rather than using {@link Ticker} because the extra indirection might cause additional
|
/external/guava/guava/src/com/google/common/cache/ |
CacheBuilder.java | 31 import com.google.common.base.Ticker; 206 static final Ticker NULL_TICKER = new Ticker() { 236 Ticker ticker; field in class:CacheBuilder 698 * @throws IllegalStateException if a ticker was already set 700 public CacheBuilder<K, V> ticker(Ticker ticker) { method in class:CacheBuilder 701 checkState(this.ticker == null) [all...] |