20.02
|
#include <JsonPrinter.hpp>
Public Member Functions | |
void | PrintJsonChildObject (const JsonChildObject &object, size_t &id) |
void | PrintHeader () |
void | PrintArmNNHeader () |
void | PrintFooter () |
void | PrintSeparator () |
void | PrintNewLine () |
void | PrintLabel (const std::string &label, size_t id) |
void | PrintUnit (armnn::Measurement::Unit unit) |
void | PrintType (armnn::JsonObjectType type) |
void | PrintMeasurementsList (const std::vector< double > &measurementsVector) |
JsonPrinter (std::ostream &outputStream) | |
Definition at line 78 of file JsonPrinter.hpp.
|
inline |
Definition at line 93 of file JsonPrinter.hpp.
void PrintArmNNHeader | ( | ) |
Definition at line 63 of file JsonPrinter.cpp.
Referenced by Profiler::Print().
void PrintFooter | ( | ) |
Definition at line 163 of file JsonPrinter.cpp.
Referenced by Profiler::Print(), and JsonPrinter::PrintJsonChildObject().
void PrintHeader | ( | ) |
Definition at line 57 of file JsonPrinter.cpp.
Referenced by Profiler::Print().
void PrintJsonChildObject | ( | const JsonChildObject & | object, |
size_t & | id | ||
) |
Definition at line 15 of file JsonPrinter.cpp.
References armnn::Event, armnn::Measurement, JsonPrinter::PrintFooter(), JsonPrinter::PrintLabel(), JsonPrinter::PrintMeasurementsList(), JsonPrinter::PrintNewLine(), JsonPrinter::PrintSeparator(), JsonPrinter::PrintType(), and JsonPrinter::PrintUnit().
Referenced by Profiler::Print().
void PrintLabel | ( | const std::string & | label, |
size_t | id | ||
) |
Definition at line 77 of file JsonPrinter.cpp.
Referenced by JsonPrinter::PrintJsonChildObject().
void PrintMeasurementsList | ( | const std::vector< double > & | measurementsVector | ) |
void PrintNewLine | ( | ) |
Definition at line 158 of file JsonPrinter.cpp.
Referenced by Profiler::Print(), and JsonPrinter::PrintJsonChildObject().
void PrintSeparator | ( | ) |
Definition at line 153 of file JsonPrinter.cpp.
Referenced by JsonPrinter::PrintJsonChildObject().
void PrintType | ( | armnn::JsonObjectType | type | ) |
Definition at line 92 of file JsonPrinter.cpp.
References armnn::Event, and armnn::Measurement.
Referenced by JsonPrinter::PrintJsonChildObject().
void PrintUnit | ( | armnn::Measurement::Unit | unit | ) |
Definition at line 84 of file JsonPrinter.cpp.
References Measurement::ToString().
Referenced by JsonPrinter::PrintJsonChildObject().