4#include "Component.hpp"
16int parseMt4gTopo(
Node* parent,
string dataSourcePath,
int gpuId,
string delim =
";");
37 Mt4gParser(
Chip* gpu,
string dataSourcePath,
string delim =
";");
39 int ParseBenchmarkData();
41 int ReadBenchmarkFile();
42 map<string,vector<string> > benchmarkData;
43 string dataSourcePath;
46 const bool latency_in_cycles;
47 bool L2_shared_on_gpu;
48 double Memory_Clock_Frequency;
51 int parseGPU_INFORMATION();
52 int parseCOMPUTE_RESOURCE_INFORMATION();
53 int parseREGISTER_INFORMATION();
54 int parseADDITIONAL_INFORMATION();
55 int parseMemory(
string header_name,
string memory_name);
56 int parseCaches(
string header_name,
string cache_type);
60const std::string whiteSpaces(
" \f\n\r\t\v" );
62void trimRight( std::string& str,
const std::string& trimChars = whiteSpaces );
64void trimLeft( std::string& str,
const std::string& trimChars = whiteSpaces );
66void trim( std::string& str,
const std::string& trimChars = whiteSpaces );
Definition Component.hpp:764
Definition Component.hpp:42
Definition Component.hpp:613
int parseMt4gTopo(Node *parent, string dataSourcePath, int gpuId, string delim=";")
Definition mt4g.cpp:12