Commit 682a3bdf authored by Jan Dinkelbach's avatar Jan Dinkelbach
Browse files

add sequential scheduler task logging

parent c43478ba
......@@ -100,12 +100,11 @@ namespace DPsim {
CPS::Task::Ptr mRoot;
/// Log level
CPS::Logger::Level mLogLevel;
/// Logger
CPS::Logger::Log mSLog;
// TODO more sophisticated measurement method might be necessary for
// longer simulations (risk of high memory requirements and integer
// overflow)
......@@ -23,6 +23,9 @@ void SequentialScheduler::createSchedule(const Task::List& tasks, const Edges& i
if (mOutMeasurementFile.size() != 0)
Scheduler::topologicalSort(tasks, inEdges, outEdges, mSchedule);
for (auto task : mSchedule)
mSLog->info("{}", task->toString());
void SequentialScheduler::step(Real time, Int timeStepCount) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment