commit | 18c2c36cf42e890814043914625602a3e86a98b9 | [log] [tgz] |
---|---|---|
author | Brian Silverman <brians> | Sat Jan 02 14:18:32 2016 -0800 |
committer | Brian Silverman <brians> | Sat Jan 02 14:52:36 2016 -0800 |
tree | a4b375b8a9aa621373311141fe82e4b6b461ec87 | |
parent | 5090c4348c80d30da198840410a1f186a26d005c [diff] [blame] |
Use the logging queue to buffer logs This reduces context switches and mutex contention a lot, which reduces roboRIO CPU usage significantly. Change-Id: I21c0f7c127df36bf877133c626cff3d56b93b230
diff --git a/aos/common/logging/BUILD b/aos/common/logging/BUILD index adddb4b..d4d3ca5 100644 --- a/aos/common/logging/BUILD +++ b/aos/common/logging/BUILD
@@ -52,6 +52,7 @@ '//aos/common:die', ':binary_log_file', '//aos/common:queue_types', + '//aos/common:time', ], )