OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # | 2 # |
3 # Copyright 2015 the V8 project authors. All rights reserved. | 3 # Copyright 2015 the V8 project authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # Convenience Script used to rank GC NVP output. | 7 # Convenience Script used to rank GC NVP output. |
8 | 8 |
9 print_usage_and_die() { | 9 print_usage_and_die() { |
10 echo "Usage: $0 RANK SORT [LOGFILE]" | 10 echo "Usage: $0 RANK SORT [LOGFILE]" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 weak \ | 52 weak \ |
53 roots \ | 53 roots \ |
54 old_new \ | 54 old_new \ |
55 code \ | 55 code \ |
56 semispace \ | 56 semispace \ |
57 object_groups \ | 57 object_groups \ |
58 " | 58 " |
59 | 59 |
60 INTERESTING_OLD_GEN_KEYS="\ | 60 INTERESTING_OLD_GEN_KEYS="\ |
61 ${GENERAL_INTERESTING_KEYS} \ | 61 ${GENERAL_INTERESTING_KEYS} \ |
62 external \ | |
63 clear \ | 62 clear \ |
64 clear.code_flush \ | 63 clear.code_flush \ |
65 clear.dependent_code \ | 64 clear.dependent_code \ |
66 clear.global_handles \ | 65 clear.global_handles \ |
67 clear.maps \ | 66 clear.maps \ |
68 clear.slots_buffer \ | 67 clear.slots_buffer \ |
69 clear.store_buffer \ | 68 clear.store_buffer \ |
70 clear.string_table \ | 69 clear.string_table \ |
71 clear.weak_cells \ | 70 clear.weak_cells \ |
72 clear.weak_collections \ | 71 clear.weak_collections \ |
73 clear.weak_lists \ | 72 clear.weak_lists \ |
74 finish \ | 73 finish \ |
75 evacuate \ | 74 evacuate \ |
76 evacuate.candidates \ | 75 evacuate.candidates \ |
77 evacuate.clean_up \ | 76 evacuate.clean_up \ |
78 evacuate.copy \ | 77 evacuate.copy \ |
79 evacuate.update_pointers \ | 78 evacuate.update_pointers \ |
80 evacuate.update_pointers.between_evacuated \ | 79 evacuate.update_pointers.between_evacuated \ |
81 evacuate.update_pointers.to_evacuated \ | 80 evacuate.update_pointers.to_evacuated \ |
82 evacuate.update_pointers.to_new \ | 81 evacuate.update_pointers.to_new \ |
83 evacuate.update_pointers.weak \ | 82 evacuate.update_pointers.weak \ |
| 83 external.mc_prologue \ |
| 84 external.mc_epilogue \ |
| 85 external.mc_incremental_prologue \ |
| 86 external.mc_incremental_epilogue \ |
| 87 external.weak_global_handles \ |
84 mark \ | 88 mark \ |
85 mark.finish_incremental \ | 89 mark.finish_incremental \ |
86 mark.prepare_code_flush \ | 90 mark.prepare_code_flush \ |
87 mark.roots \ | 91 mark.roots \ |
88 mark.weak_closure \ | 92 mark.weak_closure \ |
89 sweep \ | 93 sweep \ |
90 sweep.code \ | 94 sweep.code \ |
91 sweep.map \ | 95 sweep.map \ |
92 sweep.old \ | 96 sweep.old \ |
93 incremental_finalize \ | 97 incremental_finalize \ |
(...skipping 13 matching lines...) Expand all Loading... |
107 cat $LOGFILE | grep "gc=ms" \ | 111 cat $LOGFILE | grep "gc=ms" \ |
108 | $BASE_DIR/eval_gc_nvp.py \ | 112 | $BASE_DIR/eval_gc_nvp.py \ |
109 --no-histogram \ | 113 --no-histogram \ |
110 --rank $RANK_MODE \ | 114 --rank $RANK_MODE \ |
111 ${INTERESTING_OLD_GEN_KEYS} | 115 ${INTERESTING_OLD_GEN_KEYS} |
112 ;; | 116 ;; |
113 *) | 117 *) |
114 ;; | 118 ;; |
115 esac | 119 esac |
116 | 120 |
OLD | NEW |