Searched refs:TimeValue (Results 1 - 18 of 18) sorted by relevance

/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DTimeValue.cpp1 //===-- TimeValue.cpp - Implement OS TimeValue Concept ----------*- C++ -*-===//
10 // This file implements the operating system TimeValue concept.
14 #include "llvm/Support/TimeValue.h"
20 const TimeValue::SecondsType
21 TimeValue::PosixZeroTimeSeconds = -946684800;
22 const TimeValue::SecondsType
23 TimeValue::Win32ZeroTimeSeconds = -12591158400ULL;
25 const TimeValue TimeValue
[all...]
H A DProcess.cpp59 static TimeValue getElapsedWallTime() {
60 static TimeValue &StartTime = *new TimeValue(TimeValue::now());
61 return TimeValue::now() - StartTime;
69 static volatile TimeValue DummyTimeValue = getElapsedWallTime();
73 TimeValue self_process::get_wall_time() const {
H A DTimer.cpp131 sys::TimeValue now(0,0), user(0,0), sys(0,0);
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/
H A DProcess.h34 #include "llvm/Support/TimeValue.h"
77 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;
156 /// support collection of these metrics, a zero TimeValue will be for both
158 /// \param elapsed Returns the TimeValue::now() giving current time
161 static void GetTimeUsage(TimeValue
[all...]
H A DTimeValue.h1 //===-- TimeValue.h - Declare OS TimeValue Concept --------------*- C++ -*-===//
10 // This header file declares the operating system TimeValue concept.
23 /// range of TimeValue spans many hundreds of billions of years both past and
24 /// present. The precision of TimeValue is to the nanosecond. However, the
26 /// the system clock. The TimeValue class is used in conjunction with several
31 class TimeValue { class in namespace:llvm::sys
37 /// A constant TimeValue representing the smallest time
41 static const TimeValue MinTime;
43 /// A constant TimeValue representin
86 TimeValue() : seconds_(0), nanos_(0) {} function in class:llvm::sys::TimeValue
91 explicit TimeValue (SecondsType seconds, NanoSecondsType nanos = 0) function in class:llvm::sys::TimeValue
97 explicit TimeValue( double new_time ) function in class:llvm::sys::TimeValue
[all...]
H A DFileSystem.h36 #include "llvm/Support/TimeValue.h"
194 TimeValue getLastModificationTime() const;
548 error_code setLastModificationAndAccessTime(int FD, TimeValue Time);
/freebsd-9.3-release/contrib/llvm/lib/Support/Unix/
H A DProcess.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
[all...]
H A DPath.inc291 TimeValue file_status::getLastModificationTime() const {
292 TimeValue Ret;
526 error_code setLastModificationAndAccessTime(int FD, TimeValue Time) {
/freebsd-9.3-release/contrib/llvm/lib/Support/Windows/
H A DTimeValue.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 {
H A DPath.inc252 TimeValue file_status::getLastModificationTime() const {
257 TimeValue Ret;
621 error_code setLastModificationAndAccessTime(int FD, TimeValue Time) {
/freebsd-9.3-release/contrib/llvm/include/llvm/Object/
H A DArchive.h41 sys::TimeValue getLastModified() const;
76 sys::TimeValue getLastModified() const {
/freebsd-9.3-release/lib/clang/libllvmsupport/
H A DMakefile70 TimeValue.cpp \
/freebsd-9.3-release/contrib/ntp/util/
H A Dtg2.c554 struct timeval TimeValue; /* System clock at startup */ local
1055 gettimeofday(&TimeValue, NULL); // Now always read the system time to keep "real time" of operation.
1056 NowRealTime = BaseRealTime = SecondsPartOfTime = TimeValue.tv_sec;
1084 delay(SECOND - TimeValue.tv_usec * 8 / 1000);
2053 gettimeofday(&TimeValue, NULL);
2054 NowRealTime = TimeValue.tv_sec;
/freebsd-9.3-release/contrib/llvm/lib/Object/
H A DArchive.cpp57 sys::TimeValue ArchiveMemberHeader::getLastModified() const {
63 sys::TimeValue Ret;
/freebsd-9.3-release/contrib/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp599 const sys::TimeValue &ModTime, unsigned UID,
611 const sys::TimeValue &ModTime, unsigned UID,
618 const sys::TimeValue &ModTime, unsigned UID,
683 printMemberHeader(Out, "", sys::TimeValue::now(), 0, 0, 0, 0);
/freebsd-9.3-release/contrib/telnet/telnet/
H A Dsys_bsd.c919 static struct timeval TimeValue = { 0, 0 };
962 (poll == 0)? (struct timeval *)0 : &TimeValue)) < 0) {
917 static struct timeval TimeValue = { 0, 0 }; local
/freebsd-9.3-release/crypto/heimdal/appl/telnet/telnet/
H A Dsys_bsd.c779 static struct timeval TimeValue = { 0 };
804 (poll == 0)? (struct timeval *)0 : &TimeValue)) < 0) {
777 static struct timeval TimeValue = { 0 }; local
/freebsd-9.3-release/contrib/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp34 #include "llvm/Support/TimeValue.h"
848 Header.TimeDateStamp = sys::TimeValue::now().toEpochTime();

Completed in 506 milliseconds