Home
last modified time | relevance | path

Searched refs:Time (Results 1 – 25 of 97) sorted by relevance

1234

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/abseil/Inputs/absl/time/
H A Dtime.h26 class Time{};
61 int64_t ToUnixHours(Time t);
64 int64_t ToUnixMillis(Time t);
66 int64_t ToUnixNanos(Time t);
67 Time FromUnixHours(int64_t);
72 Time FromUnixNanos(int64_t);
74 Time Now();
85 inline Time operator+(Time lhs, Duration rhs);
86 inline Time operator+(Duration lhs, Time rhs);
87 inline Time operator-(Time lhs, Duration rhs);
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/abseil/
H A Dtime-subtraction.rst6 Finds and fixes ``absl::Time`` subtraction expressions to do subtraction
7 in the Time domain instead of the numeric domain.
9 There are two cases of Time subtraction in which deduce additional type
13 ``absl::Time``.
14 - When the second argument is a ``absl::Time``.
18 In the second case, the first operand *must* be an ``absl::Time``, because
19 subtracting an ``absl::Time`` from an ``absl::Duration`` is not defined.
26 absl::Time t;
31 // Suggestion - Perform subtraction in the Time domain instead.
35 // Original - Second operand is an absl::Time.
[all …]
H A Dtime-comparison.rst6 Prefer comparisons in the ``absl::Time`` domain instead of the integer domain.
8 N.B.: In cases where an ``absl::Time`` is being converted to an integer,
10 comparison in the ``absl::Time`` domain may yield a different result. In
19 absl::Time t;
22 // Suggested - Compare in the absl::Time domain instead
H A Dduration-addition.rst6 Check for cases where addition should be performed in the ``absl::Time`` domain.
7 When adding two values, and one is known to be an ``absl::Time``, we can infer
17 absl::Time t;
20 // Suggestion - Addition in the absl::Time domain
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A D2009-05-05-DAGCombineBug.ll5 %tango.time.Time.Time = type { i64 }
9 …i32* null, %"byte[]" undef, %"byte[]" undef, %tango.time.Time.Time* byval(%tango.time.Time.Time) n…
/llvm-project-15.0.7/llvm/include/llvm/Support/Windows/
H A DWindowsSupport.h201 inline std::chrono::nanoseconds toDuration(FILETIME Time) { in toDuration() argument
203 TimeInteger.LowPart = Time.dwLowDateTime; in toDuration()
204 TimeInteger.HighPart = Time.dwHighDateTime; in toDuration()
210 inline TimePoint<> toTimePoint(FILETIME Time) { in toTimePoint() argument
212 TimeInteger.LowPart = Time.dwLowDateTime; in toTimePoint()
213 TimeInteger.HighPart = Time.dwHighDateTime; in toTimePoint()
227 FILETIME Time; in toFILETIME() local
228 Time.dwLowDateTime = TimeInteger.LowPart; in toFILETIME()
229 Time.dwHighDateTime = TimeInteger.HighPart; in toFILETIME()
230 return Time; in toFILETIME()
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DThreading.h47 Deadline(std::chrono::steady_clock::time_point Time) in Deadline() argument
48 : Type(Finite), Time(Time) {} in Deadline()
54 return Time; in time()
58 (Type == Finite && Time < std::chrono::steady_clock::now()); in expired()
61 return (Type == Other.Type) && (Type != Finite || Time == Other.Time);
69 std::chrono::steady_clock::time_point Time; variable
/llvm-project-15.0.7/third-party/benchmark/docs/
H A Dtools.md43 Benchmark Time CPU Iterations
59 Benchmark Time CPU Iterations
72 Benchmark Time CPU Time Old Time New CPU Old CPU …
87 As you can note, the values in `Time` and `CPU` columns are calculated as `(new - old) / |old|`.
108 Benchmark Time CPU Iterations
119 Benchmark Time CPU Iterations
127 Benchmark Time CPU Time Old Time New CPU …
137 As you can note, the values in `Time` and `CPU` columns are calculated as `(new - old) / |old|`.
159 Benchmark Time CPU Iterations
170 Benchmark Time CPU Iterations
[all …]
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dsecondary.h161 Entry.Time = Time; in store()
168 Entry.Time = 0; in store()
177 Entry.Time = 0; in store()
199 OldestTime = Entry.Time; in store()
214 OldestTime = Entry.Time; in store()
263 *Zeroed = Entry.Time == 0; in retrieve()
375 u64 Time; member
381 if (Entry.Time > Time) { in releaseIfOlderThan()
383 OldestTime = Entry.Time; in releaseIfOlderThan()
387 Entry.Time = 0; in releaseIfOlderThan()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DTimer.h82 TimeRecord Time; ///< The total time captured. variable
135 TimeRecord getTotalTime() const { return Time; } in getTotalTime()
177 TimeRecord Time; member
183 PrintRecord(const TimeRecord &Time, const std::string &Name, in PrintRecord()
185 : Time(Time), Name(Name), Description(Description) {} in PrintRecord()
188 return Time < Other.Time;
/llvm-project-15.0.7/llvm/test/CodeGen/Thumb/
H A D2009-07-20-TwoAddrBug.ll3 @Time.2535 = external global i64 ; <i64*> [#uses=2]
7 %0 = load i64, i64* @Time.2535, align 4 ; <i64> [#uses=2]
9 store i64 %1, i64* @Time.2535, align 4
/llvm-project-15.0.7/llvm/test/tools/llvm-ml/
H A Dbuiltin_symbols.asm49 %ECHO Time = @Time
55 ; CHECK-REALTIME: Time = {{([[:digit:]]{2}:[[:digit:]]{2}:[[:digit:]]{2})}}
56 ; CHECK-FIXEDTIME: Time = 00:00:00
/llvm-project-15.0.7/mlir/test/Pass/
H A Dpass-timing.mlir8 // LIST: Total Execution Time:
16 // PIPELINE: Total Execution Time:
30 // MT_LIST: Total Execution Time:
38 // MT_PIPELINE: Total Execution Time:
52 // NESTED_PIPELINE: Total Execution Time:
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/abseil/
H A Dduration-addition.cpp6 absl::Time t; in f()
88 void foo(absl::Time t) { in foo()
95 absl::Time t; in g()
H A Dtime-subtraction.cpp8 absl::Time t; in f()
97 void func(absl::Time t, T x) { in func()
108 absl::Time t; in parens_in_return()
H A Dtime-comparison.cpp9 absl::Time t1, t2; in f()
79 absl::Time SomeTime; in f()
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/COFF/
H A Dresources.test27 ZERO-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
61 TEST_RES-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
81 TEST_RES-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
106 TEST_RES-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
126 TEST_RES-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
151 TEST_RES-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
176 TEST_RES-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
196 TEST_RES-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
/llvm-project-15.0.7/llvm/lib/Support/
H A DTimer.cpp200 Time += TimeRecord::getCurrentTime(false); in stopTimer()
201 Time -= StartTime; in stopTimer()
207 Time = StartTime = TimeRecord(); in clear()
328 TimersToPrint.emplace_back(T.Time, T.Name, T.Description); in removeTimer()
364 Total += Record.Time; in PrintQueuedTimers()
397 Record.Time.print(Total, OS); in PrintQueuedTimers()
416 TimersToPrint.emplace_back(T->Time, T->Name, T->Description); in prepareToPrintList()
476 const TimeRecord &T = R.Time; in printJSONValues()
H A DCachePruning.cpp31 sys::TimePoint<> Time; member
38 return std::tie(Time, Other.Size, Path) < in operator <()
39 std::tie(Other.Time, Size, Other.Path); in operator <()
/llvm-project-15.0.7/llvm/test/YAMLParser/
H A Dspec-02-28.test4 Time: 2001-11-23 15:01:42 -5
10 Time: 2001-11-23 15:02:31 -5
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/
H A DMonitoringService.proto15 // Time since the server started (in seconds).
17 // Time since the index was built on the indexing machine.
/llvm-project-15.0.7/llvm/test/tools/llvm-cvtres/
H A Dcombined.test28 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
53 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
73 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
98 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
118 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
143 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
168 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
183 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
203 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
228 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
[all …]
H A Dobject.test27 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
52 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
72 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
97 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
117 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
142 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
167 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
187 CHECK-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
/llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/
H A Da.out.crash9 Date/Time: 2020-11-11 14:47:34.600 -0800
16 Time Awake Since Boot: 400000 seconds
/llvm-project-15.0.7/flang/unittests/Runtime/
H A DCMakeLists.txt21 Time.cpp

1234