Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 25 of 34) sorted by relevance

12

/art/tools/dexfuzz/src/dexfuzz/
DMutationStats.java33 private Map<String,Long> stats; field in MutationStats
37 stats = new HashMap<String,Long>(); in MutationStats()
49 if (!stats.containsKey(statName)) { in increaseStat()
50 stats.put(statName, 0L); in increaseStat()
53 stats.put(statName, stats.get(statName) + amt); in increaseStat()
69 builder.append("\"").append(statName).append("\": ").append(stats.get(statName)); in getStatsString()
/art/compiler/dex/
Dmir_analysis.cc960 void MIRGraph::AnalyzeBlock(BasicBlock* bb, MethodStats* stats) { in AnalyzeBlock() argument
1008 stats->dex_instructions += loop_scale_factor; in AnalyzeBlock()
1012 stats->branch_ops += loop_scale_factor; in AnalyzeBlock()
1015 stats->math_ops += loop_scale_factor; in AnalyzeBlock()
1019 stats->fp_ops += loop_scale_factor; in AnalyzeBlock()
1022 stats->array_ops += loop_scale_factor; in AnalyzeBlock()
1025 stats->heavyweight_ops += loop_scale_factor; in AnalyzeBlock()
1028 stats->has_switch = true; in AnalyzeBlock()
1038 stats->has_computational_loop = true; in AnalyzeBlock()
1042 bool MIRGraph::ComputeSkipCompilation(MethodStats* stats, bool skip_default, in ComputeSkipCompilation() argument
[all …]
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DInstructionDeleter.java59 public InstructionDeleter(Random rng, MutationStats stats, List<Mutation> mutations) { in InstructionDeleter() argument
60 super(rng, stats, mutations); in InstructionDeleter()
97 stats.incrementStat("Deleted instruction"); in applyMutation()
109 stats.incrementStat("Deleted a with-data insn's data"); in applyMutation()
131 stats.incrementStat("Deleted a data insn's with-data insn"); in applyMutation()
DCodeMutator.java40 protected MutationStats stats; field in CodeMutator
66 public CodeMutator(Random rng, MutationStats stats, List<Mutation> mutations) { in CodeMutator() argument
68 this.stats = stats; in CodeMutator()
DInstructionDuplicator.java59 public InstructionDuplicator(Random rng, MutationStats stats, List<Mutation> mutations) { in InstructionDuplicator() argument
60 super(rng, stats, mutations); in InstructionDuplicator()
100 stats.incrementStat("Duplicated instruction"); in applyMutation()
DInstructionSwapper.java63 public InstructionSwapper(Random rng, MutationStats stats, List<Mutation> mutations) { in InstructionSwapper() argument
64 super(rng, stats, mutations); in InstructionSwapper()
153 stats.incrementStat("Swapped two instructions"); in applyMutation()
DBranchShifter.java65 public BranchShifter(Random rng, MutationStats stats, List<Mutation> mutations) { in BranchShifter() argument
66 super(rng, stats, mutations); in BranchShifter()
165 stats.incrementStat("Shifted branch target"); in applyMutation()
DCmpBiasChanger.java61 public CmpBiasChanger(Random rng, MutationStats stats, List<Mutation> mutations) { in CmpBiasChanger() argument
62 super(rng, stats, mutations); in CmpBiasChanger()
127 stats.incrementStat("Changed comparison bias"); in applyMutation()
DConstantValueChanger.java65 public ConstantValueChanger(Random rng, MutationStats stats, List<Mutation> mutations) { in ConstantValueChanger() argument
66 super(rng, stats, mutations); in ConstantValueChanger()
141 stats.incrementStat("Changed constant value"); in applyMutation()
DSwitchBranchShifter.java68 public SwitchBranchShifter(Random rng, MutationStats stats, List<Mutation> mutations) { in SwitchBranchShifter() argument
69 super(rng, stats, mutations); in SwitchBranchShifter()
170 stats.incrementStat("Shifted switch target"); in applyMutation()
DConversionRepeater.java61 public ConversionRepeater(Random rng, MutationStats stats, List<Mutation> mutations) { in ConversionRepeater() argument
62 super(rng, stats, mutations); in ConversionRepeater()
187 stats.incrementStat("Repeating conversion"); in applyMutation()
DFieldFlagChanger.java68 public FieldFlagChanger(Random rng, MutationStats stats, List<Mutation> mutations) { in FieldFlagChanger() argument
69 super(rng, stats, mutations); in FieldFlagChanger()
149 stats.incrementStat("Changed volatility of field"); in applyMutation()
DNonsenseStringPrinter.java65 public NonsenseStringPrinter(Random rng, MutationStats stats, List<Mutation> mutations) { in NonsenseStringPrinter() argument
66 super(rng, stats, mutations); in NonsenseStringPrinter()
143 stats.incrementStat("Printed nonsense string"); in applyMutation()
DPoolIndexChanger.java66 public PoolIndexChanger(Random rng, MutationStats stats, List<Mutation> mutations) { in PoolIndexChanger() argument
67 super(rng, stats, mutations); in PoolIndexChanger()
191 stats.incrementStat("Changed constant pool index"); in applyMutation()
DVRegChanger.java68 public VRegChanger(Random rng, MutationStats stats, List<Mutation> mutations) { in VRegChanger() argument
69 super(rng, stats, mutations); in VRegChanger()
190 stats.incrementStat("Changed a virtual register"); in applyMutation()
DNewMethodCaller.java99 public NewMethodCaller(Random rng, MutationStats stats, List<Mutation> mutations) { in NewMethodCaller() argument
100 super(rng, stats, mutations); in NewMethodCaller()
182 stats.incrementStat("Called new method"); in applyMutation()
DTryBlockShifter.java77 public TryBlockShifter(Random rng, MutationStats stats, List<Mutation> mutations) { in TryBlockShifter() argument
78 super(rng, stats, mutations); in TryBlockShifter()
206 stats.incrementStat("Shifted boundary in a try block"); in applyMutation()
DValuePrinter.java60 public ValuePrinter(Random rng, MutationStats stats, List<Mutation> mutations) { in ValuePrinter() argument
61 super(rng, stats, mutations); in ValuePrinter()
184 stats.incrementStat("Printed output value"); in applyMutation()
DRandomInstructionGenerator.java103 public RandomInstructionGenerator(Random rng, MutationStats stats, List<Mutation> mutations) { in RandomInstructionGenerator() argument
104 super(rng, stats, mutations); in RandomInstructionGenerator()
262 stats.incrementStat("Generated random instruction"); in applyMutation()
DArithOpChanger.java67 public ArithOpChanger(Random rng, MutationStats stats, List<Mutation> mutations) { in ArithOpChanger() argument
68 super(rng, stats, mutations); in ArithOpChanger()
144 stats.incrementStat("Changed arithmetic opcode"); in applyMutation()
/art/compiler/optimizing/
Dinstruction_simplifier.h32 OptimizingCompilerStats* stats = nullptr,
34 : HOptimization(graph, true, name, stats) {} in HOptimization() argument
Ddead_code_elimination.h33 OptimizingCompilerStats* stats = nullptr,
35 : HOptimization(graph, true, name, stats) {} in HOptimization() argument
Doptimization.h33 OptimizingCompilerStats* stats = nullptr)
35 stats_(stats), in graph_()
Dinliner.h37 OptimizingCompilerStats* stats,
39 : HOptimization(outer_graph, true, kInlinerPassName, stats), in HOptimization() argument
Doptimizing_compiler.cc319 OptimizingCompilerStats* stats, in RunOptimizations() argument
324 HDeadCodeElimination dce1(graph, stats, in RunOptimizations()
326 HDeadCodeElimination dce2(graph, stats, in RunOptimizations()
329 InstructionSimplifier simplify1(graph, stats); in RunOptimizations()
332 HInliner inliner(graph, dex_compilation_unit, dex_compilation_unit, driver, stats); in RunOptimizations()
340 InstructionSimplifier simplify2(graph, stats, "instruction_simplifier_after_types"); in RunOptimizations()
341 InstructionSimplifier simplify3(graph, stats, "instruction_simplifier_before_codegen"); in RunOptimizations()

12