#pragma once #include #include #include struct TimelineData { std::string rowLabel; std::string barLabel; std::string toolTip; uint64_t startTime; uint64_t stopTime; }; void ExportToTimeLine(std::string outputFilename, std::string rowLabelName, std::string barLabelName, std::vector const& timelineData) { FILE *fp = fopen(outputFilename.c_str(), "w"); fprintf(fp, "\n"); fprintf(fp, "\n"); fprintf(fp, "
\n"); fclose(fp); }