aboutsummaryrefslogtreecommitdiff
path: root/ArmnnDriverImpl.cpp
diff options
context:
space:
mode:
authorColm Donelan <Colm.Donelan@arm.com>2020-09-09 17:56:55 +0100
committerJan Eilers <jan.eilers@arm.com>2020-10-07 10:30:45 +0100
commit08d9a1c4c9cbea4e743feefdd310ff038a6c4588 (patch)
tree934bb78f78c4c87150e1a31461a05aca1fa0946a /ArmnnDriverImpl.cpp
parent4918446f3490e4edab86a5dc75aba3cdf74ae430 (diff)
downloadandroid-nn-driver-08d9a1c4c9cbea4e743feefdd310ff038a6c4588.tar.gz
IVGCVSW-5298 Remove boost::format from Android-nn-driver
* Replaced with stringstream, string or filesystem::path Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I2aa80d88cc0eaff5de4dc6a121370ebf41dcb0a8
Diffstat (limited to 'ArmnnDriverImpl.cpp')
-rw-r--r--ArmnnDriverImpl.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/ArmnnDriverImpl.cpp b/ArmnnDriverImpl.cpp
index 936cc6e5..0934e2c3 100644
--- a/ArmnnDriverImpl.cpp
+++ b/ArmnnDriverImpl.cpp
@@ -20,6 +20,7 @@
#include "ModelToINetworkConverter.hpp"
#include "SystemPropertiesUtils.hpp"
+
#include <ValidateHal.h>
#include <log/log.h>
@@ -219,11 +220,11 @@ Return<void> ArmnnDriverImpl<HalPolicy>::getSupportedOperations(const armnn::IRu
std::string timestamp;
if (!options.GetRequestInputsAndOutputsDumpDir().empty())
{
- timestamp = GetFileTimestamp();
- fileName = boost::str(boost::format("%1%/%2%_getSupportedOperations.txt")
- % options.GetRequestInputsAndOutputsDumpDir()
- % timestamp);
- ss << " : " << fileName;
+ ss << " : "
+ << options.GetRequestInputsAndOutputsDumpDir()
+ << "/"
+ << GetFileTimestamp()
+ << "_getSupportedOperations.txt";
}
ALOGV(ss.str().c_str());