diff options
| author | gingerBill <bill@gingerbill.org> | 2018-05-28 12:06:50 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-05-28 12:06:50 +0100 |
| commit | b7858a66b94e87830c0c777547c4f411c4d8d259 (patch) | |
| tree | 3cb6eceae8ec08bc54de7a948645747f5d1e6082 /src/main.cpp | |
| parent | 4e203feaf45d1f3beb9f18ead4f20553b52e11f9 (diff) | |
Parallelize per file rather than per package
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 4dd8b3983..703fa42a9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -580,7 +580,9 @@ void show_timings(Checker *c, Timings *t) { for_array(i, p->packages) { files += p->packages[i]->files.count; } - +#if 1 + timings_print_all(t); +#else { timings_print_all(t); gb_printf("\n"); @@ -610,6 +612,7 @@ void show_timings(Checker *c, Timings *t) { gb_printf("us/Token - %.3f\n", 1.0e6*total_time/cast(f64)tokens); gb_printf("\n"); } +#endif } void remove_temp_files(String output_base) { |