24.02
|
#include <JsonPrinter.hpp>
Public Member Functions | |
void | PrintJsonChildObject (const JsonChildObject &object, size_t &id) |
void | PrintLabel (const std::string &label, size_t id) |
void | PrintUnit (armnn::Measurement::Unit unit) |
void | PrintType (armnn::JsonObjectType type) |
void | PrintGuid (arm::pipe::ProfilingGuid guid) |
void | PrintMeasurementsList (const std::vector< double > &measurementsVector) |
JsonPrinter (std::ostream &outputStream) | |
Public Member Functions inherited from JsonUtils | |
JsonUtils (std::ostream &outputStream) | |
void | PrintTabs () |
void | DecrementNumberOfTabs () |
void | IncrementNumberOfTabs () |
void | PrintNewLine () |
void | PrintFooter () |
void | PrintHeader () |
void | PrintArmNNHeader () |
void | PrintSeparator () |
Definition at line 114 of file JsonPrinter.hpp.
|
inline |
Definition at line 125 of file JsonPrinter.hpp.
void PrintGuid | ( | arm::pipe::ProfilingGuid | guid | ) |
Definition at line 141 of file JsonPrinter.cpp.
References JsonUtils::PrintTabs().
Referenced by JsonPrinter::PrintJsonChildObject().
void PrintJsonChildObject | ( | const JsonChildObject & | object, |
size_t & | id | ||
) |
Definition at line 15 of file JsonPrinter.cpp.
References JsonUtils::DecrementNumberOfTabs(), armnn::Event, armnn::ExecObjectDesc, JsonUtils::IncrementNumberOfTabs(), armnn::Measurement, JsonUtils::PrintFooter(), JsonPrinter::PrintGuid(), JsonPrinter::PrintLabel(), JsonPrinter::PrintMeasurementsList(), JsonUtils::PrintNewLine(), JsonUtils::PrintSeparator(), JsonUtils::PrintTabs(), JsonPrinter::PrintType(), and JsonPrinter::PrintUnit().
Referenced by ProfilerImpl::Print().
void PrintLabel | ( | const std::string & | label, |
size_t | id | ||
) |
Definition at line 96 of file JsonPrinter.cpp.
References JsonUtils::IncrementNumberOfTabs(), and JsonUtils::PrintTabs().
Referenced by JsonPrinter::PrintJsonChildObject().
void PrintMeasurementsList | ( | const std::vector< double > & | measurementsVector | ) |
Definition at line 147 of file JsonPrinter.cpp.
References JsonUtils::DecrementNumberOfTabs(), JsonUtils::IncrementNumberOfTabs(), and JsonUtils::PrintTabs().
Referenced by JsonPrinter::PrintJsonChildObject().
void PrintType | ( | armnn::JsonObjectType | type | ) |
Definition at line 111 of file JsonPrinter.cpp.
References armnn::Event, armnn::ExecObjectDesc, armnn::Measurement, and JsonUtils::PrintTabs().
Referenced by JsonPrinter::PrintJsonChildObject().
void PrintUnit | ( | armnn::Measurement::Unit | unit | ) |
Definition at line 103 of file JsonPrinter.cpp.
References JsonUtils::PrintTabs(), and Measurement::ToString().
Referenced by JsonPrinter::PrintJsonChildObject().