Home
last modified time | relevance | path

Searched refs:TimeValue (Results 1 – 25 of 56) sorted by relevance

123

/trueos/contrib/llvm/tools/lldb/source/Host/common/
HDTimeValue.cpp33 TimeValue::TimeValue() : in TimeValue() function in TimeValue
41 TimeValue::TimeValue(const TimeValue& rhs) : in TimeValue() function in TimeValue
46 TimeValue::TimeValue(const struct timespec& ts) : in TimeValue() function in TimeValue
51 TimeValue::TimeValue(uint32_t seconds, uint32_t nanos) : in TimeValue() function in TimeValue
59 TimeValue::~TimeValue() in ~TimeValue()
65 TimeValue::GetAsNanoSecondsSinceJan1_1970() const in GetAsNanoSecondsSinceJan1_1970()
71 TimeValue::GetAsMicroSecondsSinceJan1_1970() const in GetAsMicroSecondsSinceJan1_1970()
77 TimeValue::GetAsSecondsSinceJan1_1970() const in GetAsSecondsSinceJan1_1970()
85 TimeValue::GetAsTimeSpec () const in GetAsTimeSpec()
94 TimeValue::Clear () in Clear()
[all …]
/trueos/contrib/llvm/tools/lldb/include/lldb/Host/
HDTimeValue.h32 class TimeValue
42 TimeValue();
43 TimeValue(const TimeValue& rhs);
44 TimeValue(const struct timespec& ts);
45 explicit TimeValue(uint32_t seconds, uint32_t nanos = 0);
46 ~TimeValue();
51 const TimeValue&
52 operator=(const TimeValue& rhs);
81 static TimeValue
111 bool operator == (const TimeValue &lhs, const TimeValue &rhs);
[all …]
HDPredicate.h216 WaitForSetValueBits (T bits, const TimeValue *abstime = NULL)
265 WaitForResetValueBits (T bits, const TimeValue *abstime = NULL)
320 WaitForValueEqualTo (T value, const TimeValue *abstime = NULL, bool *timed_out = NULL)
380 …WaitForValueEqualToAndSetValueTo (T wait_value, T new_value, const TimeValue *abstime = NULL, bool…
440 WaitForValueNotEqualTo (T value, T &new_value, const TimeValue *abstime = NULL)
HDCondition.h20 class TimeValue; variable
102 Wait (Mutex &mutex, const TimeValue *abstime = NULL, bool *timed_out = NULL);
/trueos/contrib/llvm/lib/Support/
HDTimeValue.cpp20 const TimeValue::SecondsType
21 TimeValue::PosixZeroTimeSeconds = -946684800;
22 const TimeValue::SecondsType
23 TimeValue::Win32ZeroTimeSeconds = -12591158400ULL;
25 const TimeValue TimeValue::MinTime = TimeValue ( INT64_MIN,0 );
26 const TimeValue TimeValue::MaxTime = TimeValue ( INT64_MAX,0 );
27 const TimeValue TimeValue::ZeroTime = TimeValue ( 0,0 );
28 const TimeValue TimeValue::PosixZeroTime = TimeValue ( PosixZeroTimeSeconds,0 );
29 const TimeValue TimeValue::Win32ZeroTime = TimeValue ( Win32ZeroTimeSeconds,0 );
32 TimeValue::normalize( void ) { in normalize()
HDProcess.cpp59 static TimeValue getElapsedWallTime() { in getElapsedWallTime()
60 static TimeValue &StartTime = *new TimeValue(TimeValue::now()); in getElapsedWallTime()
61 return TimeValue::now() - StartTime; in getElapsedWallTime()
69 static volatile TimeValue DummyTimeValue = getElapsedWallTime();
73 TimeValue self_process::get_wall_time() const { in get_wall_time()
/trueos/contrib/llvm/include/llvm/Support/
HDTimeValue.h31 class TimeValue {
41 static const TimeValue MinTime;
47 static const TimeValue MaxTime;
52 static const TimeValue ZeroTime;
57 static const TimeValue PosixZeroTime;
62 static const TimeValue Win32ZeroTime;
86 TimeValue() : seconds_(0), nanos_(0) {} in TimeValue() function
91 explicit TimeValue (SecondsType seconds, NanoSecondsType nanos = 0)
97 explicit TimeValue( double new_time ) in TimeValue() function
109 static TimeValue now();
[all …]
HDProcess.h77 virtual TimeValue get_user_time() const = 0;
83 virtual TimeValue get_system_time() const = 0;
89 virtual TimeValue get_wall_time() const = 0;
114 virtual TimeValue get_user_time() const;
115 virtual TimeValue get_system_time() const;
116 virtual TimeValue get_wall_time() const;
161 static void GetTimeUsage(TimeValue &elapsed, TimeValue &user_time,
162 TimeValue &sys_time);
/trueos/contrib/llvm/tools/lldb/include/lldb/Core/
HDTimer.h68 ChildStarted (const TimeValue& time);
71 ChildStopped (const TimeValue& time);
83 TimeValue m_total_start;
84 TimeValue m_timer_start;
99 m_start (TimeValue::Now()) in IntervalTimer()
110 return TimeValue::Now() - m_start; in GetElapsedNanoSeconds()
116 m_start = TimeValue::Now(); in Reset()
122 TimeValue now (TimeValue::Now()); in PrintfElapsed()
154 TimeValue m_start;
HDListener.h81 WaitForEvent (const TimeValue *timeout,
85 WaitForEventForBroadcaster (const TimeValue *timeout,
90 WaitForEventForBroadcasterWithType (const TimeValue *timeout,
159 WaitForEventsInternal (const TimeValue *timeout,
HDModule.h92 const TimeValue *object_mod_time_ptr = NULL);
602 const TimeValue &
608 const TimeValue &
615 SetObjectModificationTime (const TimeValue &mod_time) in SetObjectModificationTime()
1078TimeValue m_mod_time; ///< The modification time for this module when it was…
1087 TimeValue m_object_mod_time;
/trueos/contrib/llvm/lib/Support/Unix/
HDTimeValue.inc1 //===- Unix/TimeValue.cpp - Unix TimeValue Implementation -------*- C++ -*-===//
10 // This file implements the Unix specific portion of the TimeValue class.
24 std::string TimeValue::str() const {
34 TimeValue TimeValue::now() {
45 return TimeValue(
46 static_cast<TimeValue::SecondsType>( the_time.tv_sec +
48 static_cast<TimeValue::NanoSecondsType>( the_time.tv_usec *
HDProcess.inc19 #include "llvm/Support/TimeValue.h"
55 static std::pair<TimeValue, TimeValue> getRUsageTimes() {
60 TimeValue(
61 static_cast<TimeValue::SecondsType>(RU.ru_utime.tv_sec),
62 static_cast<TimeValue::NanoSecondsType>(
63 RU.ru_utime.tv_usec * TimeValue::NANOSECONDS_PER_MICROSECOND)),
64 TimeValue(
65 static_cast<TimeValue::SecondsType>(RU.ru_stime.tv_sec),
66 static_cast<TimeValue::NanoSecondsType>(
67 RU.ru_stime.tv_usec * TimeValue::NANOSECONDS_PER_MICROSECOND)));
[all …]
/trueos/contrib/llvm/lib/Support/Windows/
HDTimeValue.inc1 //===- Win32/TimeValue.cpp - Win32 TimeValue Implementation -----*- C++ -*-===//
10 // This file provides the Win32 implementation of the TimeValue class.
25 TimeValue TimeValue::now() {
29 TimeValue t(0, 0);
34 std::string TimeValue::str() const {
HDProcess.inc53 static TimeValue getTimeValueFromFILETIME(FILETIME Time) {
59 return TimeValue(
60 static_cast<TimeValue::SecondsType>(TimeInteger.QuadPart / 10000000),
61 static_cast<TimeValue::NanoSecondsType>(
65 TimeValue self_process::get_user_time() const {
69 return TimeValue();
74 TimeValue self_process::get_system_time() const {
78 return TimeValue();
118 void Process::GetTimeUsage(TimeValue &elapsed, TimeValue &user_time,
119 TimeValue &sys_time) {
[all …]
/trueos/contrib/llvm/tools/lldb/source/Core/
HDTimer.cpp100 TimeValue start_time(TimeValue::Now()); in Timer()
118 TimeValue stop_time = TimeValue::Now(); in ~Timer()
171 total_ticks += (TimeValue::Now() - m_total_start); in GetTotalElapsedNanoSeconds()
184 timer_ticks += (TimeValue::Now() - m_timer_start); in GetTimerElapsedNanoSeconds()
190 Timer::ChildStarted (const TimeValue& start_time) in ChildStarted()
200 Timer::ChildStopped (const TimeValue& stop_time) in ChildStopped()
HDListener.cpp395 const TimeValue *timeout, in WaitForEventsInternal()
458 const TimeValue *timeout, in WaitForEventForBroadcasterWithType()
470 const TimeValue *timeout, in WaitForEventForBroadcaster()
479 Listener::WaitForEvent (const TimeValue *timeout, EventSP &event_sp) in WaitForEvent()
HDCommunication.cpp164 TimeValue timeout_time; in Read()
167 timeout_time = TimeValue::Now(); in Read()
363 …size_t bytes_read = comm->ReadFromConnection (buf, sizeof(buf), 5 * TimeValue::MicroSecPerSec, sta… in ReadThread()
/trueos/contrib/llvm/tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/
HDObjectContainerBSDArchive.h139 const lldb_private::TimeValue &mod_time,
145 const lldb_private::TimeValue &mod_time,
150 const lldb_private::TimeValue &mod_time,
175 const lldb_private::TimeValue &object_mod_time);
183 const lldb_private::TimeValue &
216 lldb_private::TimeValue m_time;
HDObjectContainerBSDArchive.cpp126 const lldb_private::TimeValue &time, in Archive()
172 ObjectContainerBSDArchive::Archive::FindObject (const ConstString &object_name, const TimeValue &ob… in FindObject()
200 …e::FindCachedArchive (const FileSpec &file, const ArchSpec &arch, const TimeValue &time, lldb::off… in FindCachedArchive()
246 const TimeValue &time, in ParseAndCacheArchiveForFile()
542 TimeValue file_mod_time = file.GetModificationTime(); in GetModuleSpecifications()
570 TimeValue object_mod_time; in GetModuleSpecifications()
/trueos/contrib/llvm/tools/lldb/source/Utility/
HDTimeSpecTimeout.cpp24 TimeValue time_value(TimeValue::Now()); in SetAbsoluteTimeoutMircoSeconds32()
41 TimeValue time_value; in SetRelativeTimeoutMircoSeconds32()
/trueos/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/
HDUnwindLLDB.cpp54 TimeValue time_value (TimeValue::Now()); in DoGetFrameCount()
67 TimeValue now(TimeValue::Now()); in DoGetFrameCount()
71 delta_t / TimeValue::NanoSecPerSec, in DoGetFrameCount()
72 delta_t % TimeValue::NanoSecPerSec, in DoGetFrameCount()
73 (float)FRAME_COUNT / ((float)delta_t / (float)TimeValue::NanoSecPerSec)); in DoGetFrameCount()
/trueos/contrib/llvm/tools/lldb/source/API/
HDSBListener.cpp209 TimeValue time_value; in WaitForEvent()
213 time_value = TimeValue::Now(); in WaitForEvent()
252 TimeValue time_value; in WaitForEventForBroadcaster()
255 time_value = TimeValue::Now(); in WaitForEventForBroadcaster()
283 TimeValue time_value; in WaitForEventForBroadcasterWithType()
286 time_value = TimeValue::Now(); in WaitForEventForBroadcasterWithType()
/trueos/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
HDGDBRemoteCommunication.h118 return m_packet_timeout * lldb_private::TimeValue::MicroSecPerSec; in GetPacketTimeoutInMicroSeconds()
253 WaitForNotRunningPrivate (const lldb_private::TimeValue *timeout_ptr);
/trueos/contrib/llvm/include/llvm/Object/
HDArchive.h41 sys::TimeValue getLastModified() const;
76 sys::TimeValue getLastModified() const { in getLastModified()

123