aboutsummaryrefslogtreecommitdiff
path: root/gold/workqueue.cc
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <respindola@mozilla.com>2009-12-29 23:45:10 +0000
committerRafael Ávila de Espíndola <respindola@mozilla.com>2009-12-29 23:45:10 +0000
commit3e1b9a8a685612a610e7b54e7699377d964f3153 (patch)
tree7de2162af72b047618528c2653fd4dfc672612c6 /gold/workqueue.cc
parent09d559e4e07c6f766fafbfddbf9212e9d9e7b777 (diff)
downloadgdb-3e1b9a8a685612a610e7b54e7699377d964f3153.zip
gdb-3e1b9a8a685612a610e7b54e7699377d964f3153.tar.gz
gdb-3e1b9a8a685612a610e7b54e7699377d964f3153.tar.bz2
2009-12-29 Rafael Espindola <espindola@google.com>
* main.cc (main): Fix the sys time reporting. * workqueue.cc (Workqueue::find_and_run_task): Fix the sys time reporting.
Diffstat (limited to 'gold/workqueue.cc')
-rw-r--r--gold/workqueue.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/workqueue.cc b/gold/workqueue.cc
index c713dca..6449bba 100644
--- a/gold/workqueue.cc
+++ b/gold/workqueue.cc
@@ -327,7 +327,7 @@ Workqueue::find_and_run_task(int thread_number)
"(user: %ld.%06ld sys: %ld.%06ld wall: %ld.%06ld)",
thread_number, t->name().c_str(),
elapsed.user / 1000, (elapsed.user % 1000) * 1000,
- elapsed.sys / 1000, (elapsed.user % 1000) * 1000,
+ elapsed.sys / 1000, (elapsed.sys % 1000) * 1000,
elapsed.wall / 1000, (elapsed.wall % 1000) * 1000);
}