HomeSort by relevance Sort by last modified time
    Searched refs:timer (Results 126 - 150 of 953) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/skqp/samplecode/
SampleAnimBlur.cpp 60 bool onAnimate(const SkAnimTimer& timer) override {
61 fBlurSigma = get_anim_sin(timer.secs(), 100, 4, 5);
62 fCircleRadius = 3 + get_anim_sin(timer.secs(), 150, 25, 3);
  /external/skqp/tools/viewer/
SkottieSlide.cpp 51 bool SkottieSlide::animate(const SkAnimTimer& timer) {
54 fTimeBase = timer.msec();
58 auto t = timer.msec() - fTimeBase;
  /external/v8/tools/foozzie/
v8_commands.py 10 from threading import Event, Timer
54 timer = Timer(timeout, kill_process)
55 timer.start()
57 timer.cancel()
  /prebuilts/gdb/darwin-x86/lib/python2.7/
timeit.py 9 Library usage: see the Timer class.
16 -r/--repeat N: how many times to repeat the timer (default 3)
33 The difference in default timer function is because on Windows,
36 time() is much more precise. On either platform, the default timer
64 __all__ = ["Timer"]
71 # On Windows, the best timer is time.clock()
74 # On most other platforms the best timer is time.time()
78 # in Timer.__init__() depend on setup being indented 4 spaces and stmt
95 """Create a timer function. Used if the "statement" is a callable."""
105 class Timer
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
timeit.py 9 Library usage: see the Timer class.
16 -r/--repeat N: how many times to repeat the timer (default 3)
33 The difference in default timer function is because on Windows,
36 time() is much more precise. On either platform, the default timer
64 __all__ = ["Timer"]
71 # On Windows, the best timer is time.clock()
74 # On most other platforms the best timer is time.time()
78 # in Timer.__init__() depend on setup being indented 4 spaces and stmt
95 """Create a timer function. Used if the "statement" is a callable."""
105 class Timer
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
timeit.py 9 Library usage: see the Timer class.
16 -r/--repeat N: how many times to repeat the timer (default 3)
33 The difference in default timer function is because on Windows,
36 time() is much more precise. On either platform, the default timer
64 __all__ = ["Timer"]
71 # On Windows, the best timer is time.clock()
74 # On most other platforms the best timer is time.time()
78 # in Timer.__init__() depend on setup being indented 4 spaces and stmt
95 """Create a timer function. Used if the "statement" is a callable."""
105 class Timer
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
timeit.py 9 Library usage: see the Timer class.
16 -r/--repeat N: how many times to repeat the timer (default 3)
33 The difference in default timer function is because on Windows,
36 time() is much more precise. On either platform, the default timer
64 __all__ = ["Timer"]
71 # On Windows, the best timer is time.clock()
74 # On most other platforms the best timer is time.time()
78 # in Timer.__init__() depend on setup being indented 4 spaces and stmt
95 """Create a timer function. Used if the "statement" is a callable."""
105 class Timer
    [all...]
  /toolchain/binutils/binutils-2.27/gold/
parameters.h 31 class Timer;
61 set_timer(Timer* timer);
77 // Return the timer object.
78 Timer*
79 timer() const function in class:gold::Parameters
192 Timer* timer_;
212 set_parameters_timer(Timer* timer);
  /external/python/cpython3/Tools/pybench/
pybench.py 76 # Timer types
83 # Choose platform default timer
112 raise TypeError('unknown timer type: %s' % timertype)
225 # Timer used for the benchmark
226 timer = TIMER_PLATFORM_DEFAULT variable in class:Test
228 def __init__(self, warp=None, calibration_runs=None, timer=None):
241 if timer is not None:
242 self.timer = timer
256 """ Return the timer function to use for the test
427 timer = TIMER_PLATFORM_DEFAULT variable in class:Benchmark
    [all...]
  /external/eigen/bench/
benchBlasGemm.cpp 107 Eigen::BenchTimer timer; local
117 timer.reset();
120 timer.start();
127 timer.stop();
130 std::cout << "cblas: " << timer.value() << " (" << 1e-3*floor(1e-6*nbmad/timer.value()) << " GFlops/s)\n";
132 std::cout << M << " : " << timer.value() << " ; " << 1e-3*floor(1e-6*nbmad/timer.value()) << "\n";
143 timer.reset();
146 timer.start()
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
pybench.py 73 # Timer types
78 # Choose platform default timer
101 raise TypeError('unknown timer type: %s' % timertype)
216 # Timer used for the benchmark
217 timer = TIMER_PLATFORM_DEFAULT variable in class:Test
219 def __init__(self, warp=None, calibration_runs=None, timer=None):
232 if timer is not None:
233 self.timer = timer
247 """ Return the timer function to use for the test.
418 timer = TIMER_PLATFORM_DEFAULT variable in class:Benchmark
    [all...]
  /external/python/cpython2/Tools/pybench/
pybench.py 73 # Timer types
78 # Choose platform default timer
101 raise TypeError('unknown timer type: %s' % timertype)
216 # Timer used for the benchmark
217 timer = TIMER_PLATFORM_DEFAULT variable in class:Test
219 def __init__(self, warp=None, calibration_runs=None, timer=None):
232 if timer is not None:
233 self.timer = timer
247 """ Return the timer function to use for the test
418 timer = TIMER_PLATFORM_DEFAULT variable in class:Benchmark
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/data/
TimerNotificationBuilder.java 38 import com.android.deskclock.timer.ExpiredTimersActivity;
39 import com.android.deskclock.timer.TimerService;
57 public Notification build(Context context, NotificationModel nm, List<Timer> unexpired) {
58 final Timer timer = unexpired.get(0); local
62 final boolean running = timer.isRunning();
65 final long base = getChronometerBase(timer);
73 // Single timer is running.
74 if (TextUtils.isEmpty(timer.getLabel())) {
77 stateText = timer.getLabel()
214 final Timer timer = expired.get(0); local
296 final Timer timer = missedTimers.get(0); local
    [all...]
DataModel.java 33 import com.android.deskclock.timer.TimerService;
173 /** The model from which timer data are fetched. */
430 public List<Timer> getTimers() {
438 public List<Timer> getExpiredTimers() {
444 * @param timerId identifies the timer to return
445 * @return the timer with the given {@code timerId}
447 public Timer getTimer(int timerId) {
453 * @return the timer that last expired and is still expired now; {@code null} if no timers are
456 public Timer getMostRecentExpiredTimer() {
462 * @param length the length of the timer in millisecond
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_profile.py 10 from test.profilee import testfunc, timer
23 prof = cls.profilerclass(timer, 0.001)
24 start_timer = timer()
26 results.append(timer() - start_timer)
54 prof = self.profilerclass(timer, 0.001)
  /external/nist-sip/java/gov/nist/javax/sip/parser/
Pipeline.java 50 private Timer timer; field in class:Pipeline
112 this.timer.schedule(this.myTimerTask, this.readTimeout);
122 public Pipeline(InputStream pipe, int readTimeout, Timer timer) {
125 this.timer = timer;
  /external/python/cpython2/Lib/test/
test_profile.py 10 from test.profilee import testfunc, timer
23 prof = cls.profilerclass(timer, 0.001)
24 start_timer = timer()
26 results.append(timer() - start_timer)
54 prof = self.profilerclass(timer, 0.001)
  /frameworks/base/services/tests/servicestests/src/com/android/server/display/
AmbientBrightnessStatsTrackerTest.java 366 AmbientBrightnessStatsTracker.Timer timer = new AmbientBrightnessStatsTracker.Timer( local
368 assertEquals(0, timer.totalDurationSec(), 0);
370 assertEquals(0, timer.totalDurationSec(), 0);
371 assertFalse(timer.isRunning());
372 // Start timer
373 timer.start();
374 assertTrue(timer.isRunning());
375 assertEquals(0, timer.totalDurationSec(), 0)
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_profile.py 10 from test.profilee import testfunc, timer
23 prof = cls.profilerclass(timer, 0.001)
24 start_timer = timer()
26 results.append(timer() - start_timer)
54 prof = self.profilerclass(timer, 0.001)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_profile.py 10 from test.profilee import testfunc, timer
23 prof = cls.profilerclass(timer, 0.001)
24 start_timer = timer()
26 results.append(timer() - start_timer)
54 prof = self.profilerclass(timer, 0.001)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_profile.py 10 from test.profilee import testfunc, timer
23 prof = cls.profilerclass(timer, 0.001)
24 start_timer = timer()
26 results.append(timer() - start_timer)
54 prof = self.profilerclass(timer, 0.001)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_profile.py 10 from test.profilee import testfunc, timer
23 prof = cls.profilerclass(timer, 0.001)
24 start_timer = timer()
26 results.append(timer() - start_timer)
54 prof = self.profilerclass(timer, 0.001)
  /prebuilts/go/darwin-x86/src/runtime/
time.go 18 type timer struct { type
19 tb *timersBucket // the bucket the timer lives in
22 // Timer wakes up at when, and then at when+period, ... (period > 0 only)
23 // each time calling f(arg, now) in the timer goroutine, so f must be
41 // timers contains "per-P" timer heaps.
56 func (t *timer) assignBucket() *timersBucket {
71 t []*timer
90 t := gp.timer
92 t = new(timer)
93 gp.timer =
    [all...]
  /prebuilts/go/linux-x86/src/runtime/
time.go 18 type timer struct { type
19 tb *timersBucket // the bucket the timer lives in
22 // Timer wakes up at when, and then at when+period, ... (period > 0 only)
23 // each time calling f(arg, now) in the timer goroutine, so f must be
41 // timers contains "per-P" timer heaps.
56 func (t *timer) assignBucket() *timersBucket {
71 t []*timer
90 t := gp.timer
92 t = new(timer)
93 gp.timer =
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
windows.system.threading.h 124 IThreadPoolTimer *timer) = 0;
149 IThreadPoolTimer *timer);
164 #define TimerElapsedHandler_Invoke(This,timer) (This)->lpVtbl->Invoke(This,timer)
177 static FORCEINLINE HRESULT TimerElapsedHandler_Invoke(TimerElapsedHandler* This,IThreadPoolTimer *timer) {
178 return This->lpVtbl->Invoke(This,timer);
187 IThreadPoolTimer *timer);
208 IThreadPoolTimer *timer) = 0;
233 IThreadPoolTimer *timer);
248 #define TimerDestroyedHandler_Invoke(This,timer) (This)->lpVtbl->Invoke(This,timer
    [all...]

Completed in 602 milliseconds

1 2 3 4 56 7 8 91011>>