File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818PlantSimEngine. TimeStepDependencyTrait (:: Type{<:ToySleepModel} ) = PlantSimEngine. IsTimeStepIndependent ()
1919
20+ models1 = ModelList (process1= ToySleepModel (), status= (a= vc,))
21+ models2 = ModelList (process1= ToySleepModel (), status= (a= vc,))
22+
2023@testset begin " Check number of threads"
2124 nthr = Threads. nthreads ()
2225 @test nthr == 4
@@ -26,9 +29,6 @@ PlantSimEngine.TimeStepDependencyTrait(::Type{<:ToySleepModel}) = PlantSimEngine
2629
2730 vc = [0 for i in 1 : nrows]
2831
29- models1 = ModelList (process1= ToySleepModel (), status= (a= vc,))
30- models2 = ModelList (process1= ToySleepModel (), status= (a= vc,))
31-
3232 t_seq = @benchmark run! (models1, meteo_day; executor = SequentialEx ())
3333 # t_seq = run!(models1, meteo_day; executor = SequentialEx())
3434 min_time_seq = minimum (t_seq). time
You can’t perform that action at this time.
0 commit comments