HomeSort by relevance Sort by last modified time
    Searched defs:ticks (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-elf/
pr2404a.c 8 clock_t ticks = times (&buf); local
9 return ticks == 0 && time (NULL) == 0;
  /external/syslinux/gpxe/src/arch/i386/interface/pcbios/
bios_timer.c 32 * Get current system time in ticks
34 * @ret ticks Current time, in ticks
37 * (ticks today) and byte 0040:0070 (midnight crossover flag) instead
42 uint32_t ticks; local
51 get_real ( ticks, BDA_SEG, 0x006c );
60 return ( days + ticks );
  /external/syslinux/gpxe/src/arch/i386/include/gpxe/
rdtsc_timer.h 25 * Get current system time in ticks
27 * @ret ticks Current time, in ticks
31 unsigned long ticks; local
35 : "=a" ( ticks ) : "i" ( TSC_SHIFT ) : "edx" );
36 return ticks;
  /external/swiftshader/src/Common/
Timer.cpp 48 int64_t Timer::ticks() function in class:sw::Timer
  /prebuilts/go/darwin-x86/src/runtime/
runtime.go 16 var ticks struct { var
24 r := int64(atomic.Load64(&ticks.val))
28 lock(&ticks.lock)
29 r = int64(ticks.val)
43 atomic.Store64(&ticks.val, uint64(r))
45 unlock(&ticks.lock)
  /prebuilts/go/linux-x86/src/runtime/
runtime.go 16 var ticks struct { var
24 r := int64(atomic.Load64(&ticks.val))
28 lock(&ticks.lock)
29 r = int64(ticks.val)
43 atomic.Store64(&ticks.val, uint64(r))
45 unlock(&ticks.lock)
  /external/icu/icu4c/source/i18n/
utmscale.c 16 #define ticks INT64_C(1) macro
17 #define microseconds (ticks * 10)
30 {ticks, INT64_C(504911232000000000), U_INT64_MIN, INT64_C(8718460804854775807), INT64_C(-8718460804854775808), U_INT64_MAX, INT64_C(504911232000000000), INT64_C(504911232000000000), INT64_C(0), U_INT64_MIN, U_INT64_MAX},
31 {ticks, INT64_C(0), U_INT64_MIN, U_INT64_MAX, U_INT64_MIN, U_INT64_MAX, INT64_C(0), INT64_C(0), INT64_C(0), U_INT64_MIN, U_INT64_MAX},
  /external/libmojo/mojo/public/c/system/tests/
core_unittest_pure_c.c 43 MojoTimeTicks ticks; local
50 ticks = MojoGetTimeTicksNow();
51 EXPECT_NE(ticks, 0);
  /prebuilts/misc/windows/sdl2/test/
testtimer.c 24 static int ticks = 0; variable
29 ++ticks;
74 if (ticks) {
76 desired, (double) (10 * 1000) / ticks);
116 SDL_Log("Delay 1 second = %d ms in ticks, %f ms according to performance counter\n", (now32-start32), (double)((now - start)*1000) / SDL_GetPerformanceFrequency());
  /external/v8/src/base/platform/
elapsed-timer.h 57 TimeTicks ticks = Now(); local
58 TimeDelta elapsed = ticks - start_ticks_;
60 start_ticks_ = ticks;
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
GenerateCTimeScaleData.java 37 private static final long ticks = 1; field in class:GenerateCTimeScaleData
38 private static final long microseconds = ticks * 10;
78 if (units == ticks) {
79 cargs[0] = "ticks";
EpochOffsets.java 38 private static final long ticks = 1; field in class:EpochOffsets
39 private static final long microseconds = ticks * 10;
45 // Java measures time in milliseconds, not in 100ns ticks.
65 * that value to ticks.
  /external/ltp/testcases/kernel/syscalls/timerfd/
timerfd01.c 109 u_int64_t ticks; local
120 fprintf(stdout, "no ticks happened\n");
123 if (read(tfd, &ticks, sizeof(ticks)) != sizeof(ticks)) {
128 return ticks;
136 long ticks; local
173 ticks = waittmr(tfd, -1);
175 if (ticks <= 0)
178 fprintf(stdout, "got timer ticks (%ld) after %llu ms\n"
    [all...]
  /external/valgrind/memcheck/tests/linux/
timerfd-syscall.c 148 u_int64_t ticks; local
161 fprintf(stderr, "no ticks happened\n");
164 if (read(tfd, &ticks, sizeof(ticks)) != sizeof(ticks))
170 return ticks;
176 long ticks; local
211 ticks = waittmr(tfd, -1);
213 if (ticks <= 0)
216 fprintf(stderr, "got timer ticks (%ld) after %.1f s\n"
    [all...]
  /external/mdnsresponder/mDNSPosix/
PosixDaemon.c 153 mDNSs32 ticks; local
160 ticks = nextTimerEvent - mDNS_TimeNow(m);
161 if (ticks < 1) ticks = 1;
164 ticks = 0;
166 timeout.tv_sec = ticks / mDNSPlatformOneSecond;
167 timeout.tv_usec = (ticks % mDNSPlatformOneSecond) * 1000000 / mDNSPlatformOneSecond;
  /external/sonivox/arm-wt-22k/lib_src/
eas_smf.c 60 static void SMF_UpdateTime (S_SMF_DATA *pSMFData, EAS_U32 ticks);
276 EAS_U32 ticks; local
289 /* get current ticks */
290 ticks = pSMFData->nextStream->ticks;
309 pSMFData->nextStream->ticks = SMF_END_OF_TRACK;
313 else if (pSMFData->nextStream->ticks != SMF_END_OF_TRACK)
322 pSMFData->nextStream->ticks = SMF_END_OF_TRACK;
326 else if (pSMFData->nextStream->ticks == ticks)
483 EAS_U32 ticks; local
792 EAS_U32 ticks; local
1056 EAS_U32 ticks; local
    [all...]
eas_miditypes.h 82 EAS_U32 ticks; /* time of next event in stream */ member in struct:s_smf_stream_tag
110 EAS_U16 ppqn; /* ticks per quarter note */
eas_rtttl.c 264 EAS_I32 ticks; local
303 ticks = pData->duration * pData->tick;
408 ticks = c * pData->tick;
434 ticks += ticks >> 1;
463 pData->restTicks = ticks >> 4;
474 pData->restTicks = ticks >> 1;
483 pData->time += ticks - pData->restTicks;
488 pData->time += ticks;
    [all...]
  /external/fio/
diskutil.h 12 uint64_t ticks[2]; member in struct:disk_util_stats
30 uint64_t ticks[2]; member in struct:disk_util_agg
  /external/icu/android_icu4j/src/main/java/android/icu/util/
UniversalTimeScale.java 32 * 64-bit integer that holds ticks since midnight, January 1st, 0001.
76 * is ticks (1 tick == 100 nanoseconds) since January 1, 1601.
82 * Data is a <code>long</code>. Value is ticks (1 tick == 100 nanoseconds) since January 1, 0001.
249 private static final long ticks = 1; field in class:UniversalTimeScale
250 private static final long microseconds = ticks * 10;
307 new TimeScaleData(ticks, 504911232000000000L, -8718460804854775808L, 9223372036854775807L, -9223372036854775808L, 8718460804854775807L), // WINDOWS_FILE_TIME
308 new TimeScaleData(ticks, 000000000000000000L, -9223372036854775808L, 9223372036854775807L, -9223372036854775808L, 9223372036854775807L), // DOTNET_DATE_TIME
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/
TimeScaleDataTest.java 131 * Console::WriteLine(L" {{ {0}, 1, 1, INT64_C({1}) }},", year, DateTime(year, 1, 1).Ticks);
135 /* year, month, day, ticks */
226 long ticks, millis; local
244 errln("UniversalTimeScale.toLong(ticks[" + i + "], ICU4C)=" +
252 ticks = UniversalTimeScale.from(icuDate, UniversalTimeScale.ICU4C_TIME);
253 if(ticks != dotNetDateTimeTicks[i + kTicks]) {
254 /* Print days not ticks. */
256 (ticks/dayTicks) + " != " + dotNetDateTimeTicks[i + kTicks]/dayTicks +
259 "-" + dotNetDateTimeTicks[i + kDay] + ").Ticks");
  /external/icu/icu4c/source/test/cintltst/
utmstest.c 355 int64_t ticks; member in struct:DotNetDateTimeTicks
361 * Console::WriteLine(L" {{ {0}, 1, 1, INT64_C({1}) }},", year, DateTime(year, 1, 1).Ticks);
365 /* year, month, day, ticks */
453 int64_t ticks, millis; local
468 millis = utmscale_toInt64(dt->ticks, UDTS_ICU4C_TIME, &errorCode);
474 log_err("utmscale_toInt64(ticks[%d], ICU4C)=%dd != %dd=ucal_getMillis(%04d-%02d-%02d)\n",
479 ticks = utmscale_fromInt64((int64_t)icuDate, UDTS_ICU4C_TIME, &errorCode);
480 if(ticks != dt->ticks) {
481 /* Print days not ticks to stay within printf() range. *
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
UniversalTimeScale.java 31 * 64-bit integer that holds ticks since midnight, January 1st, 0001.
83 * is ticks (1 tick == 100 nanoseconds) since January 1, 1601.
91 * Data is a <code>long</code>. Value is ticks (1 tick == 100 nanoseconds) since January 1, 0001.
287 private static final long ticks = 1; field in class:UniversalTimeScale
288 private static final long microseconds = ticks * 10;
345 new TimeScaleData(ticks, 504911232000000000L, -8718460804854775808L, 9223372036854775807L, -9223372036854775808L, 8718460804854775807L), // WINDOWS_FILE_TIME
346 new TimeScaleData(ticks, 000000000000000000L, -9223372036854775808L, 9223372036854775807L, -9223372036854775808L, 9223372036854775807L), // DOTNET_DATE_TIME
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/
TimeScaleDataTest.java 130 * Console::WriteLine(L" {{ {0}, 1, 1, INT64_C({1}) }},", year, DateTime(year, 1, 1).Ticks);
134 /* year, month, day, ticks */
225 long ticks, millis; local
243 errln("UniversalTimeScale.toLong(ticks[" + i + "], ICU4C)=" +
251 ticks = UniversalTimeScale.from(icuDate, UniversalTimeScale.ICU4C_TIME);
252 if(ticks != dotNetDateTimeTicks[i + kTicks]) {
253 /* Print days not ticks. */
255 (ticks/dayTicks) + " != " + dotNetDateTimeTicks[i + kTicks]/dayTicks +
258 "-" + dotNetDateTimeTicks[i + kDay] + ").Ticks");
  /external/libdrm/tests/ttmtest/src/
ttmtest.c 170 unsigned long *ticks)
186 *ticks++ = time_diff(oldTime, curTime);
192 *ticks++ = time_diff(oldTime, curTime);
197 *ticks++ = time_diff(oldTime, curTime);
202 *ticks++ = time_diff(oldTime, curTime);
207 *ticks++ = time_diff(oldTime, curTime);
212 *ticks++ = time_diff(oldTime, curTime);
224 *ticks++ = time_diff(oldTime, curTime);
230 *ticks++ = time_diff(oldTime, curTime);
235 *ticks++ = time_diff(oldTime, curTime)
307 unsigned long ticks[128], *pTicks; local
    [all...]

Completed in 1150 milliseconds

1 2 3 4 5