Home
last modified time | relevance | path

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

/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.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()
DCMakeLists.txt84 TimeValue.cpp
97 Unix/TimeValue.inc
110 Windows/TimeValue.inc
DAndroid.mk67 TimeValue.cpp \
DTimer.cpp131 sys::TimeValue now(0,0), user(0,0), sys(0,0); in getCurrentTime()
/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;
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 …]
DProcess.h71 virtual TimeValue get_user_time() const = 0;
77 virtual TimeValue get_system_time() const = 0;
83 virtual TimeValue get_wall_time() const = 0;
108 virtual TimeValue get_user_time() const;
109 virtual TimeValue get_system_time() const;
110 virtual TimeValue get_wall_time() const;
155 static void GetTimeUsage(TimeValue &elapsed, TimeValue &user_time,
156 TimeValue &sys_time);
DPathV1.h44 TimeValue modTime; ///< Time of file's modification
55 TimeValue getTimestamp() const { return modTime; } in getTimestamp()
/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 {
39 TimeValue TimeValue::now() {
50 return TimeValue(
51 static_cast<TimeValue::SecondsType>( the_time.tv_sec +
53 static_cast<TimeValue::NanoSecondsType>( the_time.tv_usec *
DProcess.inc16 #include "llvm/Support/TimeValue.h"
52 static std::pair<TimeValue, TimeValue> getRUsageTimes() {
57 TimeValue(
58 static_cast<TimeValue::SecondsType>(RU.ru_utime.tv_sec),
59 static_cast<TimeValue::NanoSecondsType>(
60 RU.ru_utime.tv_usec * TimeValue::NANOSECONDS_PER_MICROSECOND)),
61 TimeValue(
62 static_cast<TimeValue::SecondsType>(RU.ru_stime.tv_sec),
63 static_cast<TimeValue::NanoSecondsType>(
64 RU.ru_stime.tv_usec * TimeValue::NANOSECONDS_PER_MICROSECOND)));
[all …]
/external/llvm/unittests/Support/
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()
DTimeValue.cpp17 TEST(Support, TimeValue) { in TEST() argument
18 sys::TimeValue now = sys::TimeValue::now(); in TEST()
DCMakeLists.txt28 TimeValue.cpp
/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.
24 TimeValue TimeValue::now() {
28 TimeValue t(0, 0);
33 std::string TimeValue::str() const {
DProcess.inc46 static TimeValue getTimeValueFromFILETIME(FILETIME Time) {
52 return TimeValue(
53 static_cast<TimeValue::SecondsType>(TimeInteger.QuadPart / 10000000),
54 static_cast<TimeValue::NanoSecondsType>(
58 TimeValue self_process::get_user_time() const {
62 return TimeValue();
67 TimeValue self_process::get_system_time() const {
71 return TimeValue();
109 void Process::GetTimeUsage(TimeValue &elapsed, TimeValue &user_time,
110 TimeValue &sys_time) {
[all …]
/external/webkit/Source/WebCore/platform/graphics/win/
DQTMovie.cpp356 TimeValue val = GetMovieDuration(m_private->m_movie); in duration()
365 TimeValue val = GetMovieTime(m_private->m_movie, 0); in currentTime()
383 SetMovieTimeValue(m_private->m_movie, TimeValue(lroundf(time * scale))); in setCurrentTime()
424 TimeValue val; in maxTimeLoaded()
/external/llvm/lib/Archive/
DArchive.cpp54 info.modTime = sys::TimeValue::now(); in ArchiveMember()
DArchiveWriter.cpp300 uint64_t secondsSinceEpoch = sys::TimeValue::now().toEpochTime(); in writeSymbolTable()
/external/llvm/include/llvm/Bitcode/
DArchive.h92 sys::TimeValue getModTime() const { return info.getTimestamp(); } in getModTime()
/external/llvm/lib/MC/
DWinCOFFObjectWriter.cpp825 Header.TimeDateStamp = sys::TimeValue::now().toEpochTime(); in WriteObject()