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

1 23 4 5 6 7 8 91011>>

  /external/skqp/tools/viewer/
GMSlide.cpp 30 bool GMSlide::animate(const SkAnimTimer& timer) {
31 return fGM->animate(timer);
StatsLayer.cpp 28 StatsLayer::Timer StatsLayer::addTimer(const char* label, SkColor color, SkColor labelColor) {
29 Timer newTimer = fTimers.count();
38 void StatsLayer::beginTiming(Timer timer) {
39 fTimers[timer].fTimes[fCurrentMeasurement] -= SkTime::GetMSecs();
42 void StatsLayer::endTiming(Timer timer) {
43 fTimers[timer].fTimes[fCurrentMeasurement] += SkTime::GetMSecs();
46 double StatsLayer::getLastTime(Timer timer) {
    [all...]
  /external/compiler-rt/test/asan/TestCases/Linux/
uar_signals.cc 32 struct itimerval timer; local
33 timer.it_interval.tv_sec = 0;
34 timer.it_interval.tv_usec = 1;
35 timer.it_value = timer.it_interval;
36 if (setitimer(ITIMER_PROF, &timer, 0) != 0) {
  /external/valgrind/none/tests/darwin/
bug228343.c 25 struct itimerval timer; local
26 timer.it_interval.tv_sec = 0;
27 timer.it_interval.tv_usec = 1000000 / 10000;
28 timer.it_value = timer.it_interval;
29 if (setitimer(ITIMER_PROF, &timer, 0) != 0) {
  /external/eigen/bench/
sparse_trisolver.cpp 30 timer.reset(); \
32 timer.start(); \
35 } timer.stop(); }
61 BenchTimer timer; local
87 std::cout << " colmajor^-1 * b:\t" << timer.value() << endl;
91 std::cout << " rowmajor^-1 * b:\t" << timer.value() << endl;
102 std::cout << " colmajor^-1 * b:\t" << timer.value() << endl;
106 std::cout << " rowmajor^-1 * b:\t" << timer.value() << endl;
111 // std::cout << " colmajor^-1 * b:\t" << timer.value() << " (inplace)" << endl;
116 // std::cout << " rowmajor^-1 * b:\t" << timer.value() << " (inplace)" << endl
    [all...]
sparse_transpose.cpp 29 timer.reset(); \
31 timer.start(); \
34 } timer.stop(); }
44 BenchTimer timer; local
55 std::cout << " Eigen dense:\t" << timer.value() << endl;
64 std::cout << " Eigen:\t" << timer.value() << endl;
74 std::cout << " CSparse:\t" << timer.value() << endl;
85 std::cout << " GMM:\t\t" << timer.value() << endl;
95 std::cout << " MTL4:\t\t" << timer.value() << endl;
sparse_cholesky.cpp 34 timer.reset(); \
36 timer.start(); \
39 } timer.stop(); }
67 BenchTimer timer; local
68 timer.start();
70 timer.stop();
71 std::cout << ":\t" << timer.value() << endl;
82 BenchTimer timer; local
109 // std::cout << "dense:\t" << timer.value() << endl;
111 BenchTimer timer; local
    [all...]
  /external/skia/tools/viewer/
StatsLayer.cpp 28 StatsLayer::Timer StatsLayer::addTimer(const char* label, SkColor color, SkColor labelColor) {
29 Timer newTimer = fTimers.count();
38 void StatsLayer::beginTiming(Timer timer) {
39 fTimers[timer].fTimes[fCurrentMeasurement] -= SkTime::GetMSecs();
42 void StatsLayer::endTiming(Timer timer) {
43 fTimers[timer].fTimes[fCurrentMeasurement] += SkTime::GetMSecs();
46 double StatsLayer::getLastTime(Timer timer) {
    [all...]
  /hardware/interfaces/automotive/vehicle/2.0/default/tests/
RecurrentTimer_test.cpp 36 RecurrentTimer timer([&counterRef](const std::vector<int32_t>& cookies) {
42 timer.registerRecurrentEvent(milliseconds(1), 0xdead);
52 RecurrentTimer timer(
65 timer.registerRecurrentEvent(milliseconds(1), 0xdead);
66 timer.registerRecurrentEvent(milliseconds(5), 0xbeef);
  /packages/apps/DeskClock/src/com/android/deskclock/timer/
ExpiredTimersActivity.java 15 package com.android.deskclock.timer;
37 import com.android.deskclock.data.Timer;
44 * timers and a single button to reset them all. Each expired timer can also be reset to one minute
45 * with a button in the user interface. All other timer operations are disabled in this activity.
65 final List<Timer> expiredTimers = getExpiredTimers();
99 for (Timer timer : expiredTimers) {
100 addTimer(timer);
103 // Update views in response to timer data changes.
159 * Create and add a new view that corresponds with the given {@code timer}
255 final Timer timer = DataModel.getDataModel().getTimer(timerItem.getId()); local
    [all...]
TimerReceiver.java 17 package com.android.deskclock.timer;
25 import com.android.deskclock.data.Timer;
28 * This broadcast receiver exists to handle timer expiry scheduled in 4.2.1 and prior. It must exist
30 * beyond 4.2.1. After 4.2.1, all timer expiration is directed to TimerService.
35 LogUtils.e("TimerReceiver", "Received legacy timer broadcast: %s", intent.getAction());
38 final int timerId = intent.getIntExtra("timer.intent.extra", -1);
39 final Timer timer = DataModel.getDataModel().getTimer(timerId); local
40 context.startService(TimerService.createTimerExpiredIntent(context, timer));
TimerService.java 17 package com.android.deskclock.timer;
27 import com.android.deskclock.data.Timer;
34 * <p>This service exists solely to allow {@link android.app.AlarmManager} and timer notifications
48 /** Shows the tab with timers; scrolls to a specific timer. */
52 /** Starts the sole timer. */
54 /** Resets the timer. */
56 /** Adds an extra minute to the timer. */
59 /** Extra for many actions specific to a given timer. */
73 public static Intent createTimerExpiredIntent(Context context, Timer timer) {
138 final Timer timer = DataModel.getDataModel().getTimer(timerId); local
    [all...]
  /external/ltp/testcases/kernel/syscalls/timer_getoverrun/
timer_getoverrun01.c 50 int timer; local
60 TEST(ltp_syscall(__NR_timer_create, CLOCK_REALTIME, &ev, &timer));
63 tst_brkm(TBROK | TERRNO, cleanup, "Failed to create timer");
68 TEST(ltp_syscall(__NR_timer_getoverrun, timer));
  /external/syslinux/gpxe/src/include/gpxe/
timer.h 6 * gPXE timer API
8 * The timer API provides udelay() for fixed delays, and currticks()
15 #include <config/timer.h>
18 * Calculate static inline timer API function name
28 * Provide a timer API implementation
38 * Provide a static inline timer API implementation
50 #include <bits/timer.h>
  /hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
viddec_intr.c 5 extern uint32_t timer;
24 //DEBUG_WRITE(0xff, temp, timer, 0, 0, 0);
27 timer++;
53 //DEBUG_WRITE(0xff, timer, temp, reg, 0, val);
  /tools/tradefederation/core/src/com/android/tradefed/device/metric/
ScheduledDeviceMetricCollector.java 32 import java.util.Timer;
53 private Timer timer; field in class:ScheduledDeviceMetricCollector
59 timer = new Timer();
69 timer.cancel();
78 timer.scheduleAtFixedRate(timerTask, 0, mIntervalMs);
80 timer.schedule(timerTask, 0, mIntervalMs);
87 if (timer != null) {
88 timer.cancel()
    [all...]
  /hardware/qcom/gps/msm8909w_3100/utils/
LocTimer.cpp 55 LocTimerDelegate - an internal timer entity, which also is a LocRankable obj.
65 LocTimerContainer - core of the timer service. It is a container (derived from
91 // * provides a MsgTask thread for synchronized add / remove / timer client callback.
103 // timer / alarm fd
112 LocTimerDelegate* popIfOutRanks(LocTimerDelegate& timer);
113 // update the timer POSIX calls with updated soonest timer spec
122 // add a timer / alarm obj into the container
123 void add(LocTimerDelegate& timer);
124 // remove a timer / alarm obj from the containe
509 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); local
580 LocTimerDelegate* timer = mTimer; local
679 LocTimerTest* timer = dynamic_cast<LocTimerTest*>(&rankable); local
709 LocTimerTest* timer = new LocTimerTest(r); local
    [all...]
  /hardware/qcom/gps/msm8998/utils/
LocTimer.cpp 56 LocTimerDelegate - an internal timer entity, which also is a LocRankable obj.
66 LocTimerContainer - core of the timer service. It is a container (derived from
92 // * provides a MsgTask thread for synchronized add / remove / timer client callback.
104 // timer / alarm fd
113 LocTimerDelegate* popIfOutRanks(LocTimerDelegate& timer);
114 // update the timer POSIX calls with updated soonest timer spec
123 // add a timer / alarm obj into the container
124 void add(LocTimerDelegate& timer);
125 // remove a timer / alarm obj from the containe
508 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); local
579 LocTimerDelegate* timer = mTimer; local
678 LocTimerTest* timer = dynamic_cast<LocTimerTest*>(&rankable); local
708 LocTimerTest* timer = new LocTimerTest(r); local
    [all...]
  /hardware/qcom/gps/msm8909/utils/
LocTimer.cpp 55 LocTimerDelegate - an internal timer entity, which also is a LocRankable obj.
65 LocTimerContainer - core of the timer service. It is a container (derived from
91 // * provides a MsgTask thread for synchronized add / remove / timer client callback.
103 // timer / alarm fd
112 LocTimerDelegate* popIfOutRanks(LocTimerDelegate& timer);
113 // update the timer POSIX calls with updated soonest timer spec
122 // add a timer / alarm obj into the container
123 void add(LocTimerDelegate& timer);
124 // remove a timer / alarm obj from the containe
507 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); local
568 LocTimerDelegate* timer = mTimer; local
667 LocTimerTest* timer = dynamic_cast<LocTimerTest*>(&rankable); local
697 LocTimerTest* timer = new LocTimerTest(r); local
    [all...]
  /hardware/qcom/gps/msm8996/utils/
LocTimer.cpp 56 LocTimerDelegate - an internal timer entity, which also is a LocRankable obj.
66 LocTimerContainer - core of the timer service. It is a container (derived from
92 // * provides a MsgTask thread for synchronized add / remove / timer client callback.
104 // timer / alarm fd
113 LocTimerDelegate* popIfOutRanks(LocTimerDelegate& timer);
114 // update the timer POSIX calls with updated soonest timer spec
123 // add a timer / alarm obj into the container
124 void add(LocTimerDelegate& timer);
125 // remove a timer / alarm obj from the containe
506 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); local
567 LocTimerDelegate* timer = mTimer; local
666 LocTimerTest* timer = dynamic_cast<LocTimerTest*>(&rankable); local
696 LocTimerTest* timer = new LocTimerTest(r); local
    [all...]
  /developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/
Constants.java 17 package com.example.android.wearable.timer.util;
26 public static final String DATA_ITEM_PATH = "/timer";
34 = "com.android.example.clockwork.timer.ACTION_SHOW";
36 = "com.android.example.clockwork.timer.ACTION_DELETE";
38 = "com.android.example.clockwork.timer.ACTION_RESTART";
TimerObj.java 17 package com.example.android.wearable.timer.util;
21 /** This class represents a timer. */
27 // Length of the timer in milliseconds.
31 * Construct a timer with a specific start time and length.
33 * @param startTime the start time of the timer.
34 * @param timerLength the length of the timer.
42 * Calculate the time left of this timer.
43 * @return the time left for this timer.
  /developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/
Constants.java 17 package com.example.android.wearable.timer.util;
26 public static final String DATA_ITEM_PATH = "/timer";
34 = "com.android.example.clockwork.timer.ACTION_SHOW";
36 = "com.android.example.clockwork.timer.ACTION_DELETE";
38 = "com.android.example.clockwork.timer.ACTION_RESTART";
TimerObj.java 17 package com.example.android.wearable.timer.util;
21 /** This class represents a timer. */
27 // Length of the timer in milliseconds.
31 * Construct a timer with a specific start time and length.
33 * @param startTime the start time of the timer.
34 * @param timerLength the length of the timer.
42 * Calculate the time left of this timer.
43 * @return the time left for this timer.
  /development/samples/browseable/Timer/src/com.example.android.wearable.timer/util/
Constants.java 17 package com.example.android.wearable.timer.util;
26 public static final String DATA_ITEM_PATH = "/timer";
34 = "com.android.example.clockwork.timer.ACTION_SHOW";
36 = "com.android.example.clockwork.timer.ACTION_DELETE";
38 = "com.android.example.clockwork.timer.ACTION_RESTART";

Completed in 397 milliseconds

1 23 4 5 6 7 8 91011>>