Chromium Code Reviews| Index: src/d8.cc |
| diff --git a/src/d8.cc b/src/d8.cc |
| index fb90c94abb85276ff0c6cabe33dd4518b84ec311..a90fd955b5a6ca587cc0a31e155618c2961233ea 100644 |
| --- a/src/d8.cc |
| +++ b/src/d8.cc |
| @@ -1301,20 +1301,24 @@ void Shell::OnExit() { |
| counters[j].key = i.CurrentKey(); |
| } |
| qsort(counters, number_of_counters, sizeof(counters[0]), CompareKeys); |
| - printf("+--------------------------------------------+-------------+\n"); |
| - printf("| Name | Value |\n"); |
| - printf("+--------------------------------------------+-------------+\n"); |
| + printf("+----------------------------------------------------------------+" |
| + "-------------+\n"); |
| + printf("| Name |" |
| + "Value |\n"); |
|
Michael Starzinger
2012/07/12 20:12:26
Ueber-Nit: Can we have a space in front of "Value"
danno
2012/07/12 21:18:16
Done.
|
| + printf("+----------------------------------------------------------------+" |
| + "-------------+\n"); |
| for (j = 0; j < number_of_counters; j++) { |
| Counter* counter = counters[j].counter; |
| const char* key = counters[j].key; |
| if (counter->is_histogram()) { |
| - printf("| c:%-40s | %11i |\n", key, counter->count()); |
| - printf("| t:%-40s | %11i |\n", key, counter->sample_total()); |
| + printf("| c:%-60s | %11i |\n", key, counter->count()); |
| + printf("| t:%-60s | %11i |\n", key, counter->sample_total()); |
| } else { |
| - printf("| %-42s | %11i |\n", key, counter->count()); |
| + printf("| %-62s | %11i |\n", key, counter->count()); |
| } |
| } |
| - printf("+--------------------------------------------+-------------+\n"); |
| + printf("+----------------------------------------------------------------+" |
| + "-------------+\n"); |
| delete [] counters; |
| } |
| delete counters_file_; |