diff options
author | Byron Jones <bjones@mozilla.com> | 2013-06-19 10:53:50 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-06-19 10:53:50 +0200 |
commit | 1df1292cdc4837810703e6ec01a7354bdf82c7a1 (patch) | |
tree | 796eb5e69b036235daf5ba5bc4b4e9c1958c4002 /process_bug.cgi | |
parent | 8caf466c0cf82a06dc69a29a5e87900e86c2488a (diff) | |
download | bugzilla-1df1292cdc4837810703e6ec01a7354bdf82c7a1.tar.gz bugzilla-1df1292cdc4837810703e6ec01a7354bdf82c7a1.tar.xz |
Bug 884177: updates to the timing collectors
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index cc6dda130..6731a8395 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -467,11 +467,11 @@ unless (Bugzilla->usage_mode == USAGE_MODE_EMAIL) { sub _log_timings { return unless scalar(@bug_objects) == 1; - $timings->{end_time} = clock_gettime(CLOCK_MONOTONIC); + return unless scalar(keys %$timings) == 8; my $entry = sprintf "process_bug bug-%s user-%s %.6f %.6f %.6f %.6f %.6f %.6f %.6f %s\n", $bug_objects[0]->id, $user->id, - $timings->{end_time} - $timings->{start_time}, + $timings->{template_time} - $timings->{start_time}, $timings->{load_bug} - $timings->{start_time}, $timings->{mid_air} - $timings->{load_bug}, $timings->{update_time} - $timings->{mid_air}, |