Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 579) sorted by relevance

12345678910>>...24

/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/
Dg1_analytics.cpp30 void G1Analytics::ReportScanRemsetStart(uint64_t time) in ReportScanRemsetStart() argument
32 scanRemsetStart_ = time; in ReportScanRemsetStart()
35 void G1Analytics::ReportScanRemsetEnd(uint64_t time) in ReportScanRemsetEnd() argument
37 scanRemsetEnd_ = time; in ReportScanRemsetEnd()
40 void G1Analytics::ReportMarkingStart(uint64_t time) in ReportMarkingStart() argument
42 markingStart_ = time; in ReportMarkingStart()
45 void G1Analytics::ReportMarkingEnd(uint64_t time) in ReportMarkingEnd() argument
47 markingEnd_ = time; in ReportMarkingEnd()
50 void G1Analytics::ReportEvacuationStart(uint64_t time) in ReportEvacuationStart() argument
52 evacuationStart_ = time; in ReportEvacuationStart()
[all …]
Dg1_analytics.h28 void ReportCollectionStart(uint64_t time);
32 void ReportScanRemsetStart(uint64_t time);
33 void ReportScanRemsetEnd(uint64_t time);
34 void ReportMarkingStart(uint64_t time);
35 void ReportMarkingEnd(uint64_t time);
36 void ReportEvacuationStart(uint64_t time);
37 void ReportEvacuationEnd(uint64_t time);
38 void ReportUpdateRefsStart(uint64_t time);
39 void ReportUpdateRefsEnd(uint64_t time);
Dg1_pause_tracker.cpp23 : gcPauseIntervalUs_(gcPauseIntervalMs * panda::os::time::MILLIS_TO_MICRO), in G1PauseTracker()
24 maxGcTimeUs_(maxGcTimeMs * panda::os::time::MILLIS_TO_MICRO) in G1PauseTracker()
30 …return AddPause(startTimeNs / panda::os::time::MICRO_TO_NANO, endTimeNs / panda::os::time::MICRO_T… in AddPauseInNanos()
40 … << panda::helpers::TimeConverter(gcTime * panda::os::time::MICRO_TO_NANO) << " > " in AddPause()
41 … << panda::helpers::TimeConverter(maxGcTimeUs_ * panda::os::time::MICRO_TO_NANO) in AddPause()
43 … << panda::helpers::TimeConverter(gcPauseIntervalUs_ * panda::os::time::MICRO_TO_NANO); in AddPause()
/arkcompiler/ets_runtime/test/perform/map/
Dmap.ts27 let time = (end - start) / 1000
28 print("Map Set:\t" + String(time) + "\tms");
38 let time = (end - start) / 1000
39 print("Map Clear:\t" + String(time) + "\tms");
51 let time = (end - start) / 1000
52 print("Map Delete:\t" + String(time) + "\tms");
64 let time = (end - start) / 1000
65 print("Map Has:\t" + String(time) + "\tms");
78 let time = (end - start) / 1000
79 print("Map ForEach:\t" + String(time) + "\tms");
[all …]
/arkcompiler/ets_runtime/test/perform/number/
Dnumber.js23 let time = (end - start); variable
25 print("Number toLocaleString:\t"+String(time)+"\tms");
35 let time = (end - start);
37 print("Number toString:\t"+String(time)+"\tms");
47 let time = (end - start);
49 print("Number valueOf:\t"+String(time)+"\tms");
70 let time = (end - start);
72 print("Number parseFloat:\t"+String(time)+"\tms");
81 let time = (end - start)
83 print("Number Constructor:\t"+String(time)+"\tms");
/arkcompiler/ets_runtime/test/perform/set/
Dset.ts27 let time = (end - start) / 1000
28 print("Set Add:\t" + String(time) + "\tms");
40 let time = (end - start) / 1000
41 print("Set Delete:\t" + String(time) + "\tms");
53 let time = (end - start) / 1000
54 print("Set Has:\t" + String(time) + "\tms");
67 let time = (end - start) / 1000
68 print("Set ForEach:\t" + String(time) + "\tms");
80 let time = (end - start) / 1000
81 print("Set Clear:\t" + String(time) + "\tms");
[all …]
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dtime.h21 namespace panda::os::time {
26 struct timespec time = {0, 0}; in GetClockTime() local
27 if (clock_gettime(clock, &time) != -1) { in GetClockTime()
28 … auto duration = std::chrono::seconds {time.tv_sec} + std::chrono::nanoseconds {time.tv_nsec}; in GetClockTime()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
Dtime.h21 namespace panda::os::time {
26 struct timespec time = {0, 0}; in GetClockTime() local
27 if (clock_gettime(clock, &time) != -1) { in GetClockTime()
28 … auto duration = std::chrono::seconds {time.tv_sec} + std::chrono::nanoseconds {time.tv_nsec}; in GetClockTime()
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
Dtime.h22 namespace panda::os::time {
27 struct timeval time = {0, 0}; in GetClockTime() local
28 if (gettimeofday(&time, nullptr) != -1) { in GetClockTime()
29 … auto duration = std::chrono::seconds {time.tv_sec} + std::chrono::microseconds {time.tv_usec}; in GetClockTime()
/arkcompiler/runtime_core/platforms/windows/libpandabase/
Dtime.h22 namespace panda::os::time {
27 struct timeval time = {0, 0}; in GetClockTime() local
28 if (gettimeofday(&time, nullptr) != -1) { in GetClockTime()
29 … auto duration = std::chrono::seconds {time.tv_sec} + std::chrono::microseconds {time.tv_usec}; in GetClockTime()
/arkcompiler/ets_runtime/test/perform/object/
Dobject.ts42 let time = (end - start) / 1000
43 print("Object DefineProperty:\t"+String(time)+"\tms");
54 let time = (end - start) / 1000
55 print("Object HasOwnProperty:\t"+String(time)+"\tms");
68 let time = (end - start) / 1000
70 print("Object Assign:\t"+String(time)+"\tms");
85 let time = (end - start) / 1000
87 print("Object Create:\t"+String(time)+"\tms");
107 let time = (end - start) / 1000
109 print("Object ToString:\t"+String(time)+"\tms");
/arkcompiler/ets_runtime/test/perform/dataview/
Ddataview.ts30 let time = (end - start) / 1000
32 print("DataView GetVievValue:\t" + String(time) + "\tms");
43 let time = (end - start) / 1000
44 print("DataView SetVievValue:\t" + String(time) + "\tms");
56 let time = (end - start) / 1000
58 print("DataView ByteLength:\t" + String(time) + "\tms");
/arkcompiler/ets_runtime/ecmascript/
Ddate_parse.cpp21 bool DateParse::ParseDateString(const char *str, int length, int *time) in ParseDateString() argument
36 …bool success = timeZone.SetTimeZone(time) && timeValue.SetTimeValue(time) && dayValue.SetDayValue( in ParseDateString()
345 bool DateParse::TimeZone::SetTimeZone(int *time) in SetTimeZone() argument
351 time[TIMEZONE] = sign_ * (hour_ * SEC_PER_HOUR + min_ * SEC_PER_MINUTE); in SetTimeZone()
353 time[TIMEZONE] = INT_MAX; in SetTimeZone()
358 bool DateParse::TimeValue::SetTimeValue(int *time) in SetTimeValue() argument
362 time[HOUR + i] = data_[i]; in SetTimeValue()
364 time[HOUR + i] = 0; in SetTimeValue()
368 if (time[HOUR] == 24) { in SetTimeValue()
369 if (time[MIN] == 0 && time[SEC] == 0 && time[MS] == 0) { in SetTimeValue()
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe55.md7 ArkTS allows unary operators to work on numeric types only. A compile-time
45 let b = +"5" // Compile-time error
47 let d = -"5" // Compile-time error
49 let f = ~"5" // Compile-time error
50 let g = +"string" // Compile-time error
60 let x = +returnTen() // Compile-time error
61 let y = +returnString() // Compile-time error
/arkcompiler/ets_frontend/ets2panda/linter-4.2/docs/rules/
Drecipe55.md7 ArkTS allows unary operators to work on numeric types only. A compile-time
45 let b = +"5" // Compile-time error
47 let d = -"5" // Compile-time error
49 let f = ~"5" // Compile-time error
50 let g = +"string" // Compile-time error
60 let x = +returnTen() // Compile-time error
61 let y = +returnString() // Compile-time error
/arkcompiler/ets_frontend/test/scripts/auto_xts_test/
Dautoburn.py18 import time
35 time.sleep(5)
48 time.sleep(100)
52 time.sleep(1)
/arkcompiler/runtime_core/static_core/runtime/
Dtiming.h42 …TimeLabel(std::string_view name, uint64_t time, uint64_t cpuTime, TimeLabelType type = TimeLabelTy…
43 : name_(name), time_(time), cpuTime_(cpuTime), type_(type) in name_()
91 …labels_.push_back(TimeLabel(tag, time::GetCurrentTimeInNanos(), panda::os::time::GetClockTimeInThr… in NewSection()
97 …labels_.push_back(TimeLabel("", time::GetCurrentTimeInNanos(), panda::os::time::GetClockTimeInThre… in EndSection()
Dtime_utils.cpp22 namespace panda::time { namespace
62 std::time_t time = std::time(nullptr); in GetCurrentTimeString() local
63 std::tm *now = std::localtime(&time); in GetCurrentTimeString()
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-ts-ternary-operator-3.ts17 let time = 1; variable
18 let v = isConnect ? (2 + 3) : ((time == 0) ? 10 : time);
/arkcompiler/ets_frontend/test/scripts/sdk_test/
Dresult.py24 import time
51 self.time = 0.0
59 len(test_tasks), test_result.time)
76 task.full_compilation_info.debug_info.time,
81 task.full_compilation_info.release_info.time,
91 inc_task.debug_info.time,
96 inc_task.release_info.time,
160 end_time = time.time()
161 test_result.time = round(end_time - start_time, 3)
188 'Test Took Time(s)': test_result.time
[all …]
Drun.py24 import time
35 start_time = time.time()
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DDate.ets94 function ecmaDayFromTime(time: long): int {
95 if (time < 0) {
96 time -= msPerDay - 1;
98 return (time / msPerDay) as int;
117 * @returns Year, corresponding to the given time.
119 function ecmaYearFromTime(time: long): int {
120 let approx: int = floor(time / msPerDay / 365.2425) as int + 1970 as int;
123 if (yearMs > time) {
127 if ((yearMs + ecmaDaysInYear(approx) * msPerDay) <= time) {
139 function ecmaMonthFromTime(time: long): byte {
[all …]
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test_extended_features/
DUI_Decorators_@State.ets23 Text(`Parent component【${this.date}】`) // Display time
30 Button('update time')
44 @State time: string = "Time:" + new Date().getTime();
47 Text(`Subcomponent(${this.time})`)
51 …this.time = "Time:" + new Date().getTime(); // Click to update the time and execute the build meth…
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
Dsampling_processor.cpp87 struct timespec time; in GetMicrosecondsTimeStamp() local
88 clock_gettime(CLOCK_MONOTONIC, &time); in GetMicrosecondsTimeStamp()
89 return time.tv_sec * USEC_PER_SEC + time.tv_nsec / NSEC_PER_USEC; in GetMicrosecondsTimeStamp()
/arkcompiler/ets_runtime/test/typeinfer/workload1/
Dworkload1.ts59 let time = (endTime - startTime) / 1000;
60 print("Function Call - RunDifferentFunctionPtr:\t" + String(time) + "\tms");
61 return time

12345678910>>...24