mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-18 02:00:36 +03:00
hsbench: add CSV dump support
This commit is contained in:
committed by
Konstantinos Margaritis
parent
87413fbff0
commit
7d21fc157c
@@ -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