/external/compiler-rt/test/tsan/ |
setuid2.c | 16 unsigned long long tp0, tp1; local 18 tp1 = monotonic_clock_ns(); 19 while (tp1 - tp0 < 3 * 1000000000ull) { 20 tp1 = monotonic_clock_ns();
|
bench.h | 37 timespec tp1; local 38 clock_gettime(CLOCK_MONOTONIC, &tp1); 40 (tp1.tv_sec * 1000000000ULL + tp1.tv_nsec) -
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/ |
1-1.c | 38 struct timespec tp1; 57 if (clock_gettime(clockid, &tp1) != 0) {
|
1-2.c | 29 struct timespec tp1; 48 if (clock_gettime(clockid, &tp1) != 0) {
|
/external/adhd/cras/src/dsp/tests/ |
dcblock_test.c | 21 static double tp_diff(struct timespec *tp2, struct timespec *tp1) 23 return (tp2->tv_sec - tp1->tv_sec) 24 + (tp2->tv_nsec - tp1->tv_nsec) * 1e-9; 41 struct timespec tp1, tp2; local 49 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); 54 tp_diff(&tp2, &tp1), frames);
|
crossover2_test.c | 23 static double tp_diff(struct timespec *tp2, struct timespec *tp1) 25 return (tp2->tv_sec - tp1->tv_sec) 26 + (tp2->tv_nsec - tp1->tv_nsec) * 1e-9; 45 struct timespec tp1, tp2; local 62 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); 67 tp_diff(&tp2, &tp1), frames * 2);
|
crossover_test.c | 23 static double tp_diff(struct timespec *tp2, struct timespec *tp1) 25 return (tp2->tv_sec - tp1->tv_sec) 26 + (tp2->tv_nsec - tp1->tv_nsec) * 1e-9; 43 struct timespec tp1, tp2; local 60 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); 64 tp_diff(&tp2, &tp1), frames); 67 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); 72 tp_diff(&tp2, &tp1), frames);
|
eq_test.c | 21 static double tp_diff(struct timespec *tp2, struct timespec *tp1) 23 return (tp2->tv_sec - tp1->tv_sec) 24 + (tp2->tv_nsec - tp1->tv_nsec) * 1e-9; 34 struct timespec tp1, tp2; local 49 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); 52 printf("processing takes %g seconds\n", tp_diff(&tp2, &tp1)); 76 struct timespec tp1, tp2; local 93 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); 97 tp_diff(&tp2, &tp1), frames); 108 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); [all...] |
drc_test.c | 20 static double tp_diff(struct timespec *tp2, struct timespec *tp1) 22 return (tp2->tv_sec - tp1->tv_sec) 23 + (tp2->tv_nsec - tp1->tv_nsec) * 1e-9; 28 struct timespec tp1, tp2; local 32 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); 42 tp_diff(&tp2, &tp1), frames * 2);
|
eq2_test.c | 21 static double tp_diff(struct timespec *tp2, struct timespec *tp1) 23 return (tp2->tv_sec - tp1->tv_sec) 24 + (tp2->tv_nsec - tp1->tv_nsec) * 1e-9; 42 struct timespec tp1, tp2; local 65 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); 69 tp_diff(&tp2, &tp1), frames * 2);
|
/external/libcxx/test/std/utilities/function.objects/unord.hash/ |
floating.pass.cpp | 41 std::size_t tp1 = h(static_cast<T>(0.1)); local 47 assert(t0 != tp1); 53 assert(tp1 != t1); 54 assert(tp1 != tn1); 55 assert(tp1 != pinf); 56 assert(tp1 != ninf);
|
/external/libaom/libaom/aom_dsp/mips/ |
convolve8_dspr2.c | 42 uint32_t tp1; local 51 "ulw %[tp1], (%[src]) \n\t" 52 "sw %[tp1], (%[dst]) \n\t" /* store */ 54 : [tp1] "=&r"(tp1) 62 uint32_t tp1, tp2; local 71 "ulw %[tp1], 0(%[src]) \n\t" 73 "sw %[tp1], 0(%[dst]) \n\t" /* store */ 76 : [tp1] "=&r"(tp1), [tp2] "=&r"(tp2 84 uint32_t tp1, tp2, tp3, tp4; local 112 uint32_t tp1, tp2, tp3, tp4; local 150 uint32_t tp1, tp2, tp3, tp4; local [all...] |
convolve2_dspr2.c | 31 uint32_t tp1, tp2; local 45 "ulw %[tp1], 0(%[src]) \n\t" 51 "preceu.ph.qbr %[p1], %[tp1] \n\t" 52 "preceu.ph.qbl %[p2], %[tp1] \n\t" 59 "balign %[tp2], %[tp1], 3 \n\t" 64 "lbux %[tp1], %[Temp1](%[cm]) \n\t" 84 "sb %[tp1], 0(%[dst_ptr]) \n\t" 96 : [tp1] "=&r"(tp1), [tp2] "=&r"(tp2), [p1] "=&r"(p1), [p2] "=&r"(p2), 115 uint32_t tp1, tp2, tp3 local [all...] |
convolve2_horiz_dspr2.c | 29 uint32_t tp1, tp2; local 43 "ulw %[tp1], 0(%[src]) \n\t" 49 "preceu.ph.qbr %[p1], %[tp1] \n\t" 50 "preceu.ph.qbl %[p2], %[tp1] \n\t" 57 "balign %[tp2], %[tp1], 3 \n\t" 62 "lbux %[tp1], %[Temp1](%[cm]) \n\t" 82 "sb %[tp1], 0(%[dst]) \n\t" 87 : [tp1] "=&r"(tp1), [tp2] "=&r"(tp2), [p1] "=&r"(p1), [p2] "=&r"(p2), 106 uint32_t tp1, tp2, tp3 local [all...] |
convolve8_horiz_dspr2.c | 31 uint32_t tp1, tp2; local 48 "ulw %[tp1], 0(%[src]) \n\t" 54 "preceu.ph.qbr %[p1], %[tp1] \n\t" 55 "preceu.ph.qbl %[p2], %[tp1] \n\t" 71 "balign %[tp2], %[tp1], 3 \n\t" 79 "lbux %[tp1], %[Temp1](%[cm]) \n\t" 108 "sb %[tp1], 0(%[dst]) \n\t" 113 : [tp1] "=&r"(tp1), [tp2] "=&r"(tp2), [tn1] "=&r"(tn1), 137 uint32_t tp1, tp2 local [all...] |
/external/libchrome/base/threading/ |
thread_local_unittest.cc | 71 base::DelegateSimpleThreadPool tp1("ThreadLocalTest tp1", 1); 72 base::DelegateSimpleThreadPool tp2("ThreadLocalTest tp1", 1); 73 tp1.Start(); 90 tp1.AddWork(&getter); 105 tp1.AddWork(&setter); 110 tp1.AddWork(&getter); 137 tp1.AddWork(&getter); 141 tp1.JoinAll();
|
/external/ltp/testcases/kernel/syscalls/settimeofday/ |
settimeofday01.c | 72 struct timeval tp, tp1, tp2; variable in typeref:struct: 105 if ((gettimeofday(&tp2, (struct timezone *)&tp1)) == -1) { 169 if ((gettimeofday(&tp, (struct timezone *)&tp1)) == -1) {
|
/external/libvpx/libvpx/vpx_dsp/mips/ |
convolve8_avg_dspr2.c | 409 uint32_t tp1, tp2, tn1, tp3, tp4, tn2; local 430 "ulw %[tp1], 0(%[src]) \n\t" 432 "adduh_r.qb %[tn1], %[tp2], %[tp1] \n\t" /* average */ 435 : [tn1] "=&r"(tn1), [tp1] "=&r"(tp1), [tp2] "=&r"(tp2) 450 "ulw %[tp1], 0(%[src]) \n\t" 454 "adduh_r.qb %[tn1], %[tp2], %[tp1] \n\t" /* average */ 459 : [tp1] "=&r"(tp1), [tp2] "=&r"(tp2), [tp3] "=&r"(tp3), 475 "ulw %[tp1], 0(%[src]) \n\t [all...] |
convolve8_dspr2.c | 32 uint32_t tp1, tp2; local 48 "ulw %[tp1], 0(%[src]) \n\t" 54 "preceu.ph.qbr %[p1], %[tp1] \n\t" 55 "preceu.ph.qbl %[p2], %[tp1] \n\t" 71 "balign %[tp2], %[tp1], 3 \n\t" 79 "lbux %[tp1], %[Temp1](%[cm]) \n\t" 108 "sb %[tp1], 0(%[dst_ptr]) \n\t" 120 : [tp1] "=&r"(tp1), [tp2] "=&r"(tp2), [tn1] "=&r"(tn1), 146 uint32_t tp1, tp2, tp3 local 1417 uint32_t tp1; local 1438 uint32_t tp1, tp2; local 1461 uint32_t tp1, tp2, tp3, tp4; local 1490 uint32_t tp1, tp2, tp3, tp4; local 1529 uint32_t tp1, tp2, tp3, tp4; local [all...] |
convolve2_avg_horiz_dspr2.c | 29 uint32_t tp1, tp2; local 44 "ulw %[tp1], 0(%[src]) \n\t" 50 "preceu.ph.qbr %[p1], %[tp1] \n\t" 51 "preceu.ph.qbl %[p2], %[tp1] \n\t" 58 "balign %[tp2], %[tp1], 3 \n\t" 65 "lbux %[tp1], %[Temp1](%[cm]) \n\t" /* even 1 */ 81 "addqh_r.w %[tn2], %[tn2], %[tp1] \n\t" /* average even 1 */ 85 "lbu %[tp1], 2(%[dst]) \n\t" /* load even 2 */ 93 "addqh_r.w %[tp1], %[tp1], %[tp2] \n\t" /* average even 2 * 120 uint32_t tp1, tp2, tp3, tp4; local [all...] |
convolve2_dspr2.c | 29 uint32_t tp1, tp2; local 43 "ulw %[tp1], 0(%[src]) \n\t" 49 "preceu.ph.qbr %[p1], %[tp1] \n\t" 50 "preceu.ph.qbl %[p2], %[tp1] \n\t" 57 "balign %[tp2], %[tp1], 3 \n\t" 62 "lbux %[tp1], %[Temp1](%[cm]) \n\t" 82 "sb %[tp1], 0(%[dst_ptr]) \n\t" 94 : [tp1] "=&r"(tp1), [tp2] "=&r"(tp2), [p1] "=&r"(p1), [p2] "=&r"(p2), 113 uint32_t tp1, tp2, tp3 local [all...] |
convolve2_horiz_dspr2.c | 28 uint32_t tp1, tp2; local 42 "ulw %[tp1], 0(%[src]) \n\t" 48 "preceu.ph.qbr %[p1], %[tp1] \n\t" 49 "preceu.ph.qbl %[p2], %[tp1] \n\t" 56 "balign %[tp2], %[tp1], 3 \n\t" 61 "lbux %[tp1], %[Temp1](%[cm]) \n\t" 81 "sb %[tp1], 0(%[dst]) \n\t" 86 : [tp1] "=&r"(tp1), [tp2] "=&r"(tp2), [p1] "=&r"(p1), [p2] "=&r"(p2), 105 uint32_t tp1, tp2, tp3 local [all...] |
convolve8_avg_horiz_dspr2.c | 30 uint32_t tp1, tp2; local 47 "ulw %[tp1], 0(%[src]) \n\t" 53 "preceu.ph.qbr %[p1], %[tp1] \n\t" 54 "preceu.ph.qbl %[p2], %[tp1] \n\t" 70 "balign %[tp2], %[tp1], 3 \n\t" 80 "lbux %[tp1], %[Temp1](%[cm]) \n\t" /* even 1 */ 102 "addqh_r.w %[tn2], %[tn2], %[tp1] \n\t" /* average even 1 */ 109 "lbu %[tp1], 2(%[dst]) \n\t" /* load even 2 */ 117 "addqh_r.w %[tp1], %[tp1], %[tp2] \n\t" /* average even 2 * 147 uint32_t tp1, tp2; local [all...] |
/external/libvpx/libvpx/vp8/common/mips/dspr2/ |
filter_dspr2.c | 106 unsigned int tp1, tp2, tn1, tn2; local 140 "ulw %[tp1], -2(%[src_ptr]) \n\t" 145 "preceu.ph.qbr %[p1], %[tp1] \n\t" 146 "preceu.ph.qbl %[p2], %[tp1] \n\t" 155 "balign %[tp2], %[tp1], 3 \n\t" 182 "lbux %[tp1], %[Temp1](%[cm]) \n\t" 188 "sb %[tp1], 0(%[dst_ptr]) \n\t" 193 : [tp1] "=&r"(tp1), [tp2] "=&r"(tp2), [tn1] "=&r"(tn1), 215 "ulw %[tp1], -1(%[src_ptr]) \n\t 285 unsigned int tp1, tp2, tn1, tn2; local 563 unsigned int tp1, tp2, tn1, tn2; local 868 unsigned int tp1, tp2, tp3, tn1; local [all...] |
/external/libvpx/libvpx/vp9/encoder/mips/msa/ |
vp9_fdct16x16_msa.c | 20 v8i16 tp0, tp1, tp2, tp3, g0, g1, g2, g3, g8, g9, g10, g11, h0, h1, h2, h3; local 46 BUTTERFLY_4(g0, g2, g10, g8, tp0, tp2, tp3, tp1); 48 ST_SH2(tp1, tp3, int_buf + 4 * 8, 8); 81 BUTTERFLY_4(h0, h2, g2, g0, tp0, tp1, tp2, tp3); 82 ST_SH4(tp0, tp1, tp2, tp3, int_buf + 2 * 8, 4 * 8); 88 v8i16 tp0, tp1, tp2, tp3, g5, g7, g13, g15; local 101 tp1 = LD_SH(int_buf + 5 * 8); 106 MADD_BF(tp0, tp1, tp2, tp3, k0, k1, k2, k0, out4, out6, out5, out7); 119 tp1 = LD_SH(int_buf + 8); 123 BUTTERFLY_4(tp0, tp1, tp3, tp2, out0, out1, h11, h10) 206 v8i16 tp0, tp1, tp2, tp3, g0, g1, g2, g3, g8, g9, g10, g11, h0, h1, h2, h3; local 266 v8i16 tp0, tp1, tp2, tp3, g5, g7, g13, g15; local [all...] |