Home
last modified time | relevance | path

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

123

/external/lldb/source/Host/common/
DTimeValue.cpp27 TimeValue::TimeValue() : in TimeValue() function in TimeValue
35 TimeValue::TimeValue(const TimeValue& rhs) : in TimeValue() function in TimeValue
40 TimeValue::TimeValue(const struct timespec& ts) : in TimeValue() function in TimeValue
45 TimeValue::TimeValue(const struct timeval& tv) : in TimeValue() function in TimeValue
53 TimeValue::~TimeValue() in ~TimeValue()
59 TimeValue::GetAsNanoSecondsSinceJan1_1970() const in GetAsNanoSecondsSinceJan1_1970()
65 TimeValue::GetAsMicroSecondsSinceJan1_1970() const in GetAsMicroSecondsSinceJan1_1970()
71 TimeValue::GetAsSecondsSinceJan1_1970() const in GetAsSecondsSinceJan1_1970()
79 TimeValue::GetAsTimeSpec () const in GetAsTimeSpec()
88 TimeValue::GetAsTimeVal () const in GetAsTimeVal()
[all …]
/external/lldb/include/lldb/Host/
DTimeValue.h30 class TimeValue
40 TimeValue();
41 TimeValue(const TimeValue& rhs);
42 TimeValue(const struct timespec& ts);
43 TimeValue(const struct timeval& tv);
44 ~TimeValue();
49 const TimeValue&
50 operator=(const TimeValue& rhs);
82 static TimeValue
95 bool operator == (const TimeValue &lhs, const TimeValue &rhs);
[all …]
DPredicate.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)
DCondition.h20 class TimeValue; variable
102 Wait (Mutex &mutex, const TimeValue *abstime = NULL, bool *timed_out = NULL);
/external/llvm/lib/Support/
DTimeValue.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()
DProcess.cpp54 static TimeValue getElapsedWallTime() { in getElapsedWallTime()
55 static TimeValue &StartTime = *new TimeValue(TimeValue::now()); in getElapsedWallTime()
56 return TimeValue::now() - StartTime; in getElapsedWallTime()
64 static volatile TimeValue DummyTimeValue = getElapsedWallTime();
68 TimeValue self_process::get_wall_time() const { in get_wall_time()
DCMakeLists.txt92 TimeValue.cpp
106 Unix/TimeValue.inc
118 Windows/TimeValue.inc
/external/llvm/include/llvm/Support/
DTimeValue.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;
85 TimeValue() : seconds_(0), nanos_(0) {} in TimeValue() function
90 explicit TimeValue (SecondsType seconds, NanoSecondsType nanos = 0)
96 explicit TimeValue( double new_time ) in TimeValue() function
108 static TimeValue now();
[all …]
DProcess.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 TimeValue get_user_time() const override;
115 TimeValue get_system_time() const override;
116 TimeValue get_wall_time() const override;
161 static void GetTimeUsage(TimeValue &elapsed, TimeValue &user_time,
162 TimeValue &sys_time);
/external/lldb/include/lldb/Core/
DTimer.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;
DListener.h81 WaitForEvent (const TimeValue *timeout,
85 WaitForEventForBroadcaster (const TimeValue *timeout,
90 WaitForEventForBroadcasterWithType (const TimeValue *timeout,
159 WaitForEventsInternal (const TimeValue *timeout,
DModule.h92 const TimeValue *object_mod_time_ptr = NULL);
555 const TimeValue &
561 const TimeValue &
568 SetObjectModificationTime (const TimeValue &mod_time) in SetObjectModificationTime()
990TimeValue m_mod_time; ///< The modification time for this module when it was…
998 TimeValue m_object_mod_time;
/external/llvm/lib/Support/Unix/
DTimeValue.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 {
36 TimeValue TimeValue::now() {
47 return TimeValue(
48 static_cast<TimeValue::SecondsType>( the_time.tv_sec +
50 static_cast<TimeValue::NanoSecondsType>( the_time.tv_usec *
DProcess.inc19 #include "llvm/Support/TimeValue.h"
54 static std::pair<TimeValue, TimeValue> getRUsageTimes() {
59 TimeValue(
60 static_cast<TimeValue::SecondsType>(RU.ru_utime.tv_sec),
61 static_cast<TimeValue::NanoSecondsType>(
62 RU.ru_utime.tv_usec * TimeValue::NANOSECONDS_PER_MICROSECOND)),
63 TimeValue(
64 static_cast<TimeValue::SecondsType>(RU.ru_stime.tv_sec),
65 static_cast<TimeValue::NanoSecondsType>(
66 RU.ru_stime.tv_usec * TimeValue::NANOSECONDS_PER_MICROSECOND)));
[all …]
/external/llvm/unittests/Support/
DTimeValueTest.cpp17 TEST(TimeValue, time_t) { in TEST() argument
18 sys::TimeValue now = sys::TimeValue::now(); in TEST()
23 TEST(TimeValue, Win32FILETIME) { in TEST() argument
26 sys::TimeValue epoch; in TEST()
DProcessTest.cpp34 EXPECT_LT(TimeValue::MinTime, process::get_self()->get_user_time()); in TEST()
35 EXPECT_GT(TimeValue::MaxTime, process::get_self()->get_user_time()); in TEST()
36 EXPECT_LT(TimeValue::MinTime, process::get_self()->get_system_time()); in TEST()
37 EXPECT_GT(TimeValue::MaxTime, process::get_self()->get_system_time()); in TEST()
38 EXPECT_LT(TimeValue::MinTime, process::get_self()->get_wall_time()); in TEST()
39 EXPECT_GT(TimeValue::MaxTime, process::get_self()->get_wall_time()); in TEST()
/external/llvm/lib/Support/Windows/
DTimeValue.inc1 //===- Win32/TimeValue.cpp - Win32 TimeValue Implementation -----*- C++ -*-===//
10 // This file provides the Win32 implementation of the TimeValue class.
27 TimeValue TimeValue::now() {
31 TimeValue t(0, 0);
36 std::string TimeValue::str() const {
DProcess.inc56 static TimeValue getTimeValueFromFILETIME(FILETIME Time) {
62 return TimeValue(
63 static_cast<TimeValue::SecondsType>(TimeInteger.QuadPart / 10000000),
64 static_cast<TimeValue::NanoSecondsType>(
68 TimeValue self_process::get_user_time() const {
72 return TimeValue();
77 TimeValue self_process::get_system_time() const {
81 return TimeValue();
119 void Process::GetTimeUsage(TimeValue &elapsed, TimeValue &user_time,
120 TimeValue &sys_time) {
[all …]
/external/lldb/source/Core/
DTimer.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()
/external/lldb/source/Plugins/ObjectContainer/BSD-Archive/
DObjectContainerBSDArchive.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;
DObjectContainerBSDArchive.cpp109 const lldb_private::TimeValue &time, in Archive()
155 ObjectContainerBSDArchive::Archive::FindObject (const ConstString &object_name, const TimeValue &ob… in FindObject()
183 …e::FindCachedArchive (const FileSpec &file, const ArchSpec &arch, const TimeValue &time, lldb::off… in FindCachedArchive()
229 const TimeValue &time, in ParseAndCacheArchiveForFile()
525 TimeValue file_mod_time = file.GetModificationTime(); in GetModuleSpecifications()
553 TimeValue object_mod_time; in GetModuleSpecifications()
/external/lldb/source/Utility/
DTimeSpecTimeout.cpp24 TimeValue time_value(TimeValue::Now()); in SetAbsoluteTimeoutMircoSeconds32()
41 TimeValue time_value; in SetRelativeTimeoutMircoSeconds32()
/external/lldb/source/Plugins/Process/Utility/
DUnwindLLDB.cpp41 TimeValue time_value (TimeValue::Now()); in DoGetFrameCount()
54 TimeValue now(TimeValue::Now()); in DoGetFrameCount()
58 delta_t / TimeValue::NanoSecPerSec, in DoGetFrameCount()
59 delta_t % TimeValue::NanoSecPerSec, in DoGetFrameCount()
60 (float)FRAME_COUNT / ((float)delta_t / (float)TimeValue::NanoSecPerSec)); in DoGetFrameCount()
/external/lldb/source/API/
DSBListener.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()
/external/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationClient.cpp346 TimeValue timeout_time; in SendPacketAndWaitForResponse()
347 timeout_time = TimeValue::Now(); in SendPacketAndWaitForResponse()
865 TimeValue timeout; in SendInterrupt()
868 timeout = TimeValue::Now(); in SendInterrupt()
2060 TimeValue start_time, end_time; in TestPacketSpeed()
2069 start_time = TimeValue::Now(); in TestPacketSpeed()
2074 end_time = TimeValue::Now(); in TestPacketSpeed()
2076 …ckets_per_second = (((float)num_packets)/(float)total_time_nsec) * (float)TimeValue::NanoSecPerSec; in TestPacketSpeed()
2081 total_time_nsec / TimeValue::NanoSecPerSec, in TestPacketSpeed()
2082 total_time_nsec % TimeValue::NanoSecPerSec, in TestPacketSpeed()
[all …]

123