Index: tools/tickprocessor-driver.js |
diff --git a/tools/tickprocessor-driver.js b/tools/tickprocessor-driver.js |
index dc6779607a064165af311d050af6fbdca7b0e872..4201e43d3f6fe697acb662baf2b821dd023ac7d2 100644 |
--- a/tools/tickprocessor-driver.js |
+++ b/tools/tickprocessor-driver.js |
@@ -44,10 +44,16 @@ var entriesProviders = { |
}; |
var params = processArguments(arguments); |
+var snapshotLogProcessor; |
+if (params.snapshotLogFileName) { |
+ snapshotLogProcessor = new SnapshotLogProcessor(); |
+ snapshotLogProcessor.processLogFile(params.snapshotLogFileName); |
+} |
var tickProcessor = new TickProcessor( |
new (entriesProviders[params.platform])(params.nm), |
params.separateIc, |
params.ignoreUnknown, |
- params.stateFilter); |
+ params.stateFilter, |
+ snapshotLogProcessor); |
tickProcessor.processLogFile(params.logFileName); |
tickProcessor.printStatistics(); |