Home
last modified time | relevance | path

Searched refs:gc_type (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/runtime_core/static_core/scripts/
H A Dgc_pause_stats.py92 def __init__(self, gc_type: str):
93 self.times = {gc_type: StatsInfo()}
94 self.gc_type = gc_type
97 return len(self.times.get(self.gc_type))
100 self.times.get(self.gc_type).add(ms_time)
101 if gc_type_cause != self.gc_type:
110 if sorted_info[0][0] == self.gc_type:
128 def add(self, gc_type: str, gc_type_cause: str, gc_time: float) -> None:
131 if gc_type !
[all...]
/arkcompiler/runtime_core/scripts/
H A Dgc_pause_stats.py30 def sort_one_gc_stat(stats: dict, gc_type: str) -> list:
34 if trig_type.find(gc_type) != -1:
42 for gc_type in GCPauseStats.GC_TYPES:
43 if gc_type in stats:
44 stats_info.append(sort_one_gc_stat(stats, gc_type))
55 for gc_type in gc_stats_list:
56 file.write(f" {gc_type} |")
98 def update_stats(stats: dict, gc_type: str, time_value: float):
100 trigger_info = stats.setdefault(gc_type, {
122 stats.update({gc_type
[all...]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
H A Doptions_general.py117 @value(yaml_path="general.gc_type", cli_name="gc_type")
118 def gc_type(self) -> str: member in GeneralOptions
197 self.__to_cli_with_default('--gc-type', self.gc_type, GeneralOptions.__DEFAULT_GC_TYPE),
226 "gc_type": self.gc_type,
/arkcompiler/runtime_core/compiler/tests/
H A Daot_test.cpp535 auto gc_type = Runtime::GetGCType(runtime->GetOptions(), plugins::RuntimeTypeToLang(runtime->GetRuntimeType())); in TEST_F() local
536 aot_builder.SetGcType(static_cast<uint32_t>(gc_type)); in TEST_F()

Completed in 3 milliseconds