diff options
Diffstat (limited to 'Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src')
-rw-r--r-- | Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend index f43ab96d..8a26470a 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/ModelGenerationMethodProvider.xtend | |||
@@ -20,9 +20,16 @@ import org.eclipse.xtend.lib.annotations.Data | |||
20 | 20 | ||
21 | class ModelGenerationStatistics { | 21 | class ModelGenerationStatistics { |
22 | public var long transformationExecutionTime = 0 | 22 | public var long transformationExecutionTime = 0 |
23 | public var long metricCalculationTime = 0 | ||
24 | |||
23 | synchronized def addExecutionTime(long amount) { | 25 | synchronized def addExecutionTime(long amount) { |
24 | transformationExecutionTime+=amount | 26 | transformationExecutionTime+=amount |
25 | } | 27 | } |
28 | |||
29 | synchronized def addMetricCalculationTime(long amount) { | ||
30 | metricCalculationTime+=amount | ||
31 | } | ||
32 | |||
26 | public var long PreliminaryTypeAnalisisTime = 0 | 33 | public var long PreliminaryTypeAnalisisTime = 0 |
27 | } | 34 | } |
28 | @Data class ModelGenerationMethod { | 35 | @Data class ModelGenerationMethod { |