reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Support/Chrono.h
  121     return duration_cast<duration<InternalRep, AsPeriod>>(D).count();
  139     return {D.count(), detail::unit<Period>::value};
lib/Support/CachePruning.cpp
  191                           << duration_cast<seconds>(TimeStampAge).count()
  234                         << duration_cast<seconds>(FileAge).count()
lib/Support/Chrono.cpp
   50                                .count()));
   67               "%.3lu", (long)duration_cast<milliseconds>(Fractional).count());
   72               "%.6lu", (long)duration_cast<microseconds>(Fractional).count());
   77               "%.6lu", (long)duration_cast<nanoseconds>(Fractional).count());
lib/Support/TimeProfiler.cpp
   51         .count();
   57         .count();
   87     if (duration_cast<microseconds>(Duration).count() >= TimeTraceGranularity)
  144       auto DurUs = duration_cast<microseconds>(E.second.second).count();
lib/Support/Timer.cpp
  131   Result.WallTime = Seconds(now.time_since_epoch()).count();
  132   Result.UserTime = Seconds(user).count();
  133   Result.SystemTime = Seconds(sys).count();
lib/Support/Unix/Process.inc
  447   return hash_combine(Now.time_since_epoch().count(), ::getpid());
lib/Support/Unix/Unix.h
   97   RetVal.tv_nsec = (TP.time_since_epoch() % seconds(1)).count();
  107   RetVal.tv_usec = (TP.time_since_epoch() % seconds(1)).count();
lib/Transforms/Scalar/SROA.cpp
 1074         std::chrono::system_clock::now().time_since_epoch().count()));
tools/clang/lib/Driver/ToolChains/Clang.cpp
 2844                                      .count())));
tools/clang/tools/extra/clangd/TUScheduler.cpp
  687                             .count());
tools/clang/tools/extra/clangd/Trace.cpp
  179     return duration<double, std::micro>(system_clock::now() - Start).count();
tools/dsymutil/BinaryHolder.h
  154                             K.Timestamp.time_since_epoch().count()));
tools/lld/Common/Timer.cpp
   32   if (parent && total.count() == 0)
   62       .count();
tools/lldb/source/API/SBExpressionOptions.cpp
  104   return m_opaque_up->GetTimeout() ? m_opaque_up->GetTimeout()->count() : 0;
  120              ? m_opaque_up->GetOneThreadTimeout()->count()
tools/lldb/source/API/SBPlatform.cpp
  229     return m_opaque_ptr->m_timeout->count();
tools/lldb/source/Core/Communication.cpp
  135     if (cached_bytes > 0 || (timeout && timeout->count() == 0)) {
tools/lldb/source/Host/posix/PipePosix.cpp
  186       const auto dur = duration_cast<microseconds>(finish_time - Now()).count();
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
 2329     float delta = (d - mean).count();
 2377             ((float)num_packets) / duration<float>(total_time).count();
 2430                           duration<float>(total_time).count() /
 2433             ((float)packet_count) / duration<float>(total_time).count();
 2820     timeout_sec = std::ceil(std::chrono::duration<double>(*timeout).count());
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  442     GetGlobalPluginProperties()->SetPacketTimeout(host_packet_timeout.count());
tools/lldb/source/Utility/Log.cpp
  291     OS << llvm::formatv("{0:f9} ", now.count());
tools/lldb/source/Utility/SelectHelper.cpp
  202       if (remaining_dur.count() > 0) {
  206         tv.tv_sec = dur_secs.count();
  207         tv.tv_usec = dur_usecs.count();
tools/lldb/source/Utility/Timer.cpp
   87               duration<double>(total_dur).count(),
   88               duration<double>(timer_dur).count());
   97   m_category.m_nanos += std::chrono::nanoseconds(timer_dur).count();
   98   m_category.m_nanos_total += std::chrono::nanoseconds(total_dur).count();
usr/include/c++/7.4.0/chrono
  136 	    return _ToDur(static_cast<__to_rep>(static_cast<_CR>(__d.count())
  150 	    return _ToDur(static_cast<__to_rep>(__d.count()));
  163 	      static_cast<_CR>(__d.count()) / static_cast<_CR>(_CF::den)));
  176 	      static_cast<_CR>(__d.count()) * static_cast<_CR>(_CF::num)));
  335 	  : __r(duration_cast<duration>(__d).count()) { }
  379 	  __r += __d.count();
  452 	return __cd(__cd(__lhs).count() + __cd(__rhs).count());
  452 	return __cd(__cd(__lhs).count() + __cd(__rhs).count());
  465 	return __cd(__cd(__lhs).count() - __cd(__rhs).count());
  465 	return __cd(__cd(__lhs).count() - __cd(__rhs).count());
  504 	return __cd(__cd(__d).count() / __s);
  540 	return __cd(__cd(__lhs).count() % __cd(__rhs).count());
  540 	return __cd(__cd(__lhs).count() % __cd(__rhs).count());
  553 	return __ct(__lhs).count() == __ct(__rhs).count();
  553 	return __ct(__lhs).count() == __ct(__rhs).count();
  565 	return __ct(__lhs).count() < __ct(__rhs).count();
  565 	return __ct(__lhs).count() < __ct(__rhs).count();
  839 			   (__t.time_since_epoch()).count());
usr/include/c++/7.4.0/condition_variable
  174 	    static_cast<std::time_t>(__s.time_since_epoch().count()),
  175 	    static_cast<long>(__ns.count())
usr/include/c++/7.4.0/thread
  370 	    static_cast<std::time_t>(__s.count()),
  371 	    static_cast<long>(__ns.count())
utils/benchmark/src/timers.h
   41   return FpSeconds(ClockType::now().time_since_epoch()).count();