carrot/tools/profiling/clpeak/no_print.patch
FrogAi 659adb6457 openpilot v0.9.7 release
date: 2024-03-17T10:14:38
master commit: 7e9a909e0e57ecb31df4c87c5b9a06b1204fd034
2024-05-24 17:43:27 -07:00

40 lines
635 B
Diff

diff --git a/src/logger.cpp b/src/logger.cpp
index a63c6dd..a1d9860 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -24,34 +24,22 @@ logger::~logger()
void logger::print(string str)
{
- cout << str;
- cout.flush();
}
void logger::print(double val)
{
- cout << setprecision(2) << fixed;
- cout << val;
- cout.flush();
}
void logger::print(float val)
{
- cout << setprecision(2) << fixed;
- cout << val;
- cout.flush();
}
void logger::print(int val)
{
- cout << val;
- cout.flush();
}
void logger::print(unsigned int val)
{
- cout << val;
- cout.flush();
}
void logger::xmlOpenTag(string tag)