Remove more mallocs when realtime
The test was gratuitously logging. VLOG it.
Change-Id: Ic57eb3fa3a6e63ba5fccf99ab09fef3e59974c4f
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/aos/util/threaded_consumer_test.cc b/aos/util/threaded_consumer_test.cc
index f137108..96375f0 100644
--- a/aos/util/threaded_consumer_test.cc
+++ b/aos/util/threaded_consumer_test.cc
@@ -41,7 +41,7 @@
ThreadedConsumer<int, 4> threaded_consumer(
[&counter](int task) {
CheckRealtime();
- LOG(INFO) << "task:" << task << " counter: " << counter;
+ VLOG(1) << "task:" << task << " counter: " << counter;
counter = task;
},
20);
@@ -71,7 +71,7 @@
ThreadedConsumer<int, 4> threaded_consumer(
[&counter, &should_block](int task) {
- LOG(INFO) << "task:" << task << " counter: " << counter;
+ VLOG(1) << "task:" << task << " counter: " << counter;
counter = task;
@@ -111,7 +111,7 @@
{
ThreadedConsumer<int, 4> threaded_consumer(
[&counter, &should_block](int task) {
- LOG(INFO) << "task:" << task << " counter: " << counter;
+ VLOG(1) << "task:" << task << " counter: " << counter;
counter = task;