| /llvm-project-15.0.7/lldb/tools/debugserver/source/ |
| H A D | DNBTimer.h | 72 struct timeval now; in ElapsedMicroSeconds() local 73 gettimeofday(&now, NULL); in ElapsedMicroSeconds() 75 (uint64_t)(now.tv_sec) * 1000000ull + (uint64_t)now.tv_usec; in ElapsedMicroSeconds() 81 m_timeval = now; in ElapsedMicroSeconds() 86 struct timeval now; in GetTimeOfDay() local 87 gettimeofday(&now, NULL); in GetTimeOfDay() 89 (uint64_t)(now.tv_sec) * 1000000ull + (uint64_t)now.tv_usec; in GetTimeOfDay() 99 struct timeval now; variable 100 gettimeofday(&now, NULL); 114 struct timespec now; in TimeOfDayLaterThan() local [all …]
|
| /llvm-project-15.0.7/lld/docs/ |
| H A D | ReleaseNotes.rst | 58 * ``-d`` is now ignored. 111 * ``--icf=safe`` is now supported. 114 * ``-why_live`` is now supported. 116 * ``-pagezero_size`` is now supported. 122 * Linker optimization hints are now supported. 127 * Rebase opcodes are now encoded more compactly. 130 * C-strings are now aligned more compactly. 136 * ICF now folds the ``__objc_classrefs`` section. 138 * ICF now folds functions with identical LSDAs. 142 * ``__objc_imageinfo`` sections are now folded. [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/ |
| H A D | try_lock_until.pass.cpp | 37 time_point t0 = Clock::now(); in f1() 38 assert(m.try_lock_until(Clock::now() + ms(300)) == true); in f1() 39 time_point t1 = Clock::now(); in f1() 47 time_point t0 = Clock::now(); in f2() 48 assert(m.try_lock_until(Clock::now() + ms(250)) == false); in f2() 49 time_point t1 = Clock::now(); in f2()
|
| H A D | try_lock_for.pass.cpp | 37 time_point t0 = Clock::now(); in f1() 39 time_point t1 = Clock::now(); in f1() 47 time_point t0 = Clock::now(); in f2() 49 time_point t1 = Clock::now(); in f2()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/ |
| H A D | try_lock_until.pass.cpp | 37 time_point t0 = Clock::now(); in f1() 38 assert(m.try_lock_until(Clock::now() + ms(300)) == true); in f1() 39 time_point t1 = Clock::now(); in f1() 49 time_point t0 = Clock::now(); in f2() 50 assert(m.try_lock_until(Clock::now() + ms(250)) == false); in f2() 51 time_point t1 = Clock::now(); in f2()
|
| H A D | try_lock_for.pass.cpp | 37 time_point t0 = Clock::now(); in f1() 39 time_point t1 = Clock::now(); in f1() 49 time_point t0 = Clock::now(); in f2() 51 time_point t1 = Clock::now(); in f2()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
| H A D | mutex_time_point.pass.cpp | 37 time_point t0 = Clock::now(); in f1() 38 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(300)); in f1() 40 time_point t1 = Clock::now(); in f1() 47 time_point t0 = Clock::now(); in f2() 48 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(250)); in f2() 50 time_point t1 = Clock::now(); in f2()
|
| H A D | mutex_duration.pass.cpp | 37 time_point t0 = Clock::now(); in f1() 40 time_point t1 = Clock::now(); in f1() 47 time_point t0 = Clock::now(); in f2() 50 time_point t1 = Clock::now(); in f2()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
| H A D | try_lock_until.pass.cpp | 54 time_point t0 = Clock::now(); in f1() 55 assert(m.try_lock_until(Clock::now() + WaitTime + Tolerance) == true); in f1() 56 time_point t1 = Clock::now(); in f1() 64 time_point t0 = Clock::now(); in f2() 65 assert(m.try_lock_until(Clock::now() + WaitTime) == false); in f2() 66 time_point t1 = Clock::now(); in f2()
|
| H A D | try_lock_shared_until.pass.cpp | 54 time_point t0 = Clock::now(); in f1() 55 assert(m.try_lock_shared_until(Clock::now() + SuccessWaitTime) == true); in f1() 56 time_point t1 = Clock::now(); in f1() 63 time_point t0 = Clock::now(); in f2() 64 assert(m.try_lock_shared_until(Clock::now() + FailureWaitTime) == false); in f2() 65 assert(Clock::now() - t0 >= FailureWaitTime); in f2()
|
| H A D | try_lock_for.pass.cpp | 53 time_point t0 = Clock::now(); in f1() 55 time_point t1 = Clock::now(); in f1() 63 time_point t0 = Clock::now(); in f2() 65 time_point t1 = Clock::now(); in f2()
|
| H A D | try_lock_shared_for.pass.cpp | 54 time_point t0 = Clock::now(); in f1() 56 time_point t1 = Clock::now(); in f1() 64 time_point t0 = Clock::now(); in f2() 66 time_point t1 = Clock::now(); in f2()
|
| /llvm-project-15.0.7/libcxx/test/std/time/time.clock/time.clock.file/ |
| H A D | to_from_sys.pass.cpp | 31 std::chrono::file_clock::time_point const ft = std::chrono::file_clock::now(); in main() 38 std::chrono::system_clock::time_point const st = std::chrono::system_clock::now(); in main() 45 std::chrono::file_clock::time_point const file_now = std::chrono::file_clock::now(); in main() 46 std::chrono::system_clock::time_point const sys_now = std::chrono::system_clock::now(); in main() 59 std::chrono::file_clock::time_point const ft = std::chrono::file_clock::now(); in main() 60 std::chrono::system_clock::time_point const st = std::chrono::system_clock::now(); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
| H A D | try_lock_until.pass.cpp | 31 assert(Clock::now() - abs_time < ms(5)); in try_lock_until() 44 assert(lk.try_lock_until(Clock::now()) == true); in main() 50 TEST_IGNORE_NODISCARD lk.try_lock_until(Clock::now()); in main() 59 assert(lk.try_lock_until(Clock::now()) == false); in main() 66 TEST_IGNORE_NODISCARD lk.try_lock_until(Clock::now()); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
| H A D | try_lock_until.pass.cpp | 34 assert(Clock::now() - abs_time < ms(5)); in try_lock_shared_until() 47 assert(lk.try_lock_until(Clock::now()) == true); in main() 53 TEST_IGNORE_NODISCARD lk.try_lock_until(Clock::now()); in main() 62 assert(lk.try_lock_until(Clock::now()) == false); in main() 69 TEST_IGNORE_NODISCARD lk.try_lock_until(Clock::now()); in main()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | spuriously-wake-up-functions.cpp | 55 static time_point now() noexcept; 174 auto now = std::chrono::system_clock::now(); in consume_list_element() local 176 condition.wait_until(lk, now); in consume_list_element() 180 condition.wait_until(lk, now, [] { return 1; }); in consume_list_element() 183 condition.wait_until(lk, now); in consume_list_element() 186 condition.wait_until(lk, now); in consume_list_element() 189 condition.wait_until(lk, now); in consume_list_element()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.shared_future/ |
| H A D | wait.pass.cpp | 58 Clock::time_point t0 = Clock::now(); in main() 60 Clock::time_point t1 = Clock::now(); in main() 72 Clock::time_point t0 = Clock::now(); in main() 74 Clock::time_point t1 = Clock::now(); in main() 86 Clock::time_point t0 = Clock::now(); in main() 88 Clock::time_point t1 = Clock::now(); in main()
|
| H A D | wait_until.pass.cpp | 78 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); in main() 85 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); in main() 96 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); in main() 103 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); in main() 114 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); in main() 121 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.unique_future/ |
| H A D | wait_until.pass.cpp | 77 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); in main() 84 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); in main() 95 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); in main() 102 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); in main() 113 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::timeout); in main() 120 assert(f.wait_until(Clock::now() + ms(10)) == std::future_status::ready); in main()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/thread/thread.condition/ |
| H A D | PR30202_notify_from_pthread_created_thread.pass.cpp | 59 Clock::time_point t0 = Clock::now(); in main() 62 Clock::time_point t1 = Clock::now(); in main() 71 Clock::time_point t0 = Clock::now(); in main() 74 Clock::time_point t1 = Clock::now(); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/ |
| H A D | lock_shared.pass.cpp | 53 time_point t0 = Clock::now(); in f() 55 time_point t1 = Clock::now(); in f() 63 time_point t0 = Clock::now(); in g() 65 time_point t1 = Clock::now(); in g()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
| H A D | mutex_time_point.pass.cpp | 51 time_point t0 = Clock::now(); in f1() 53 time_point t1 = Clock::now(); in f1() 60 time_point t0 = Clock::now(); in f2() 62 time_point t1 = Clock::now(); in f2()
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | timers.cc | 187 std::time_t now = Clock::to_time_t(Clock::now()); in LocalDateTimeString() local 211 std::tm* timeinfo_p = ::localtime(&now); in LocalDateTimeString() 215 ::localtime_r(&now, &timeinfo); in LocalDateTimeString() 241 timeinfo_p = ::gmtime(&now); in LocalDateTimeString() 243 ::gmtime_r(&now, &timeinfo); in LocalDateTimeString()
|
| /llvm-project-15.0.7/lldb/test/API/commands/expression/timeout/ |
| H A D | wait-a-while.cpp | 12 auto end_time = std::chrono::system_clock::now() + std::chrono::microseconds(microseconds); in wait_a_while() 17 auto wait_time = end_time - std::chrono::system_clock::now(); in wait_a_while() 20 if (std::chrono::system_clock::now() > end_time) in wait_a_while()
|
| /llvm-project-15.0.7/llvm/docs/HistoricalNotes/ |
| H A D | 2002-06-25-MegaPatchInfo.txt | 21 maintained in a doubly linked list of values (ie each Instruction now has 22 Next & Previous fields). The containers are now instances of ilist (intrusive 29 BasicBlock::iterator) now produces a reference to the underlying type (same 48 to make it easier to use. Specifically, the include graph now includes these 57 * Printing out a Value* has now changed: Printing a Value* will soon print out 66 of pointers, and that Pass subclasses now all receive references to Values 69 * The Function class now has helper functions for accessing the Arguments list. 71 iterator over the arguments, now the a*() methods can be used to access them.
|