mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-09 07:42:21 +03:00
hsbench: add CSV dump support
This commit is contained in:
@@ -187,6 +187,16 @@ void EngineChimera::printStats() const {
|
||||
#endif
|
||||
}
|
||||
|
||||
void EngineChimera::printCsvStats() const {
|
||||
printf(",\"%s\"", compile_stats.signatures.c_str());
|
||||
printf(",\"%zu\"", compile_stats.expressionCount);
|
||||
printf(",\"0x%x\"", compile_stats.crc32);
|
||||
printf(",\"%zu\"", compile_stats.compiledSize);
|
||||
printf(",\"%zu\"", compile_stats.scratchSize);
|
||||
printf(",\"%0.3Lf\"", compile_stats.compileSecs);
|
||||
printf(",\"%u\"", compile_stats.peakMemorySize);
|
||||
}
|
||||
|
||||
void EngineChimera::sqlStats(SqlDB &sqldb) const {
|
||||
ostringstream crc;
|
||||
crc << "0x" << hex << compile_stats.crc32;
|
||||
|
Reference in New Issue
Block a user