Home
last modified time | relevance | path

Searched refs:tv2 (Results 1 – 12 of 12) sorted by relevance

/external/toybox/toys/posix/
Dtime.c28 struct timeval tv, tv2; in time_main() local
38 gettimeofday(&tv2, NULL); in time_main()
39 if (tv.tv_usec > tv2.tv_usec) { in time_main()
40 tv2.tv_usec += 1000000; in time_main()
41 tv2.tv_sec--; in time_main()
43 r = (tv2.tv_sec-tv.tv_sec)+((tv2.tv_usec-tv.tv_usec)/1000000.0); in time_main()
/external/llvm/include/llvm/Support/
DTimeValue.h192 friend TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2);
197 friend TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2);
371 inline TimeValue operator + (const TimeValue &tv1, const TimeValue &tv2) {
372 TimeValue sum (tv1.seconds_ + tv2.seconds_, tv1.nanos_ + tv2.nanos_);
377 inline TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2) {
378 TimeValue difference (tv1.seconds_ - tv2.seconds_, tv1.nanos_ - tv2.nanos_ );
/external/android-clat/
Dclatd_microbenchmark.c127 double timedelta(const struct timespec tv1, const struct timespec tv2) { in timedelta() argument
128 struct timespec end = tv2; in timedelta()
142 struct timespec tv1, tv2; in benchmark() local
155 clock_gettime(CLOCK_MONOTONIC, &tv2); in benchmark()
156 double seconds = timedelta(tv1, tv2); in benchmark()
/external/e2fsprogs/e2fsck/
Dscantest.c64 struct timeval *tv2) in timeval_subtract() argument
66 return ((tv1->tv_sec - tv2->tv_sec) + in timeval_subtract()
67 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000); in timeval_subtract()
Dutil.c364 struct timeval *tv2) in timeval_subtract() argument
366 return ((tv1->tv_sec - tv2->tv_sec) + in timeval_subtract()
367 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000); in timeval_subtract()
/external/e2fsprogs/resize/
Dresource_track.c53 struct timeval *tv2) in timeval_subtract() argument
55 return ((tv1->tv_sec - tv2->tv_sec) + in timeval_subtract()
56 ((float) (tv1->tv_usec - tv2->tv_usec)) / 1000000); in timeval_subtract()
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
DDGMRES.h311 DenseVector tv1(n), tv2(n); //Temporary vectors
318 tv2 = precond.solve(tv1);
322 tv2 = precond.solve(m_V.col(it)); // User's selected preconditioner
324 tv1 = mat * tv2;
377 dgmresApplyDeflation(tv1, tv2);
378 x = x + precond.solve(tv2);
/external/e2fsprogs/misc/
Dbadblocks.c180 struct timeval *tv2, char *buf) in time_diff_format() argument
182 time_t diff = (tv1->tv_sec - tv2->tv_sec); in time_diff_format()
355 struct timeval tv1, tv2; in do_read() local
378 gettimeofday(&tv2, NULL); in do_read()
387 ts.tv_sec = tv2.tv_sec - tv1.tv_sec; in do_read()
388 ts.tv_nsec = (tv2.tv_usec - tv1.tv_usec) * MILISEC; in do_read()
405 tv.tv_sec = tv2.tv_sec - tv1.tv_sec; in do_read()
406 tv.tv_usec = tv2.tv_usec - tv1.tv_usec; in do_read()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c352 unsigned long tv1, tv2; in get_clock() local
356 &cl, &tv1, &tv2, &a) == 4) { in get_clock()
359 last.tv_usec = tv2; in get_clock()
/external/iputils/
Darping.c102 #define MS_TDIFF(tv1,tv2) ( ((tv1).tv_sec-(tv2).tv_sec)*1000 + \ argument
103 ((tv1).tv_usec-(tv2).tv_usec)/1000 )
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dmulti-level-substitution.cpp237 …tuple_of_values<int&, float&>::apply<i, i>::type tv2; // expected-error{{non-type template paramet… variable
/external/mksh/src/
Dcheck.t8926 typeset -Uui16 tv1=1#~ tv2=1# tv3=1#� tv4=1#� tv5=1#� tv6=1#� tv7=1#  tv8=1#€
8927 …echo "specX <${tv1#16#}> <${tv2#16#}> <${tv3#16#}> <${tv4#16#}> <${tv5#16#}> <${tv6#16#}> <${tv7#1…
8928 typeset -i1 tv1 tv2 tv3 tv4 tv5 tv6 tv7 tv8
8929 …echo "specW <${tv1#1#}> <${tv2#1#}> <${tv3#1#}> <${tv4#1#}> <${tv5#1#}> <${tv6#1#}> <${tv7#1#}> <$…